09-09-2013 10:56 AM - edited 03-07-2019 03:22 PM
I have a 3750G switch (IOS 12.2). I've got a server on a port off of this switch that sends out multicast traffic, but does not apply any QoS settings. I'm trying to figure out how to add CoS or DSCP to all inbound traffic on the port (which is on a vlan operating at layer 2 only). The documents I have found seem to assume that the inbound traffic already has some settings to trust.
Thanks,
-Ben Brown
09-09-2013 01:45 PM
Hello Ben,
In case the server is sending already marked traffic and you are agree with it you can preserve it with the following interface level command:
# mls qos trust dscp
In case you want to remark the traffic or apply a particular DSCP/CoS there is a few ways to do so, it would be helpful to get a port configuration in order to understand the way it's configured.
Thank you
--
Best regards,
Dmitry Skotnikov
09-09-2013 01:55 PM
Unfortunately, the traffic is not in any way marked coming out of the server.
My current port configuration is dead stupid:
interface GigabitEthernet1/0/22
description mediaroom server
switchport access vlan 101
switchport mode access
switchport nonegotiate
!
-Ben
09-09-2013 02:33 PM
Hello Ben,
There is a few ways to mark incoming traffic in your case. I would suggest you to evalute the following two:
In order to modify QoS settings you should enable "mls qos" globally on a switch
!
mls qos
!
1. Default CoS for all incoming traffic
!
interface GigabitEthernet1/0/22
mls qos cos
mls qos trust cos
!
In this case all untagged traffic will be marked with
show mls qos maps cos-dscp
2. Marking accordingly to configured policy-map
!
! Either match only mcast traffic and mark it separately or mark all traffic from server
access-list 100 permit ip any 224.0.0.0 15.255.255.255
class-map CM-MCAST-MEDIAROOM
match access-group 100
!
policy-map PM-MARK-MEDIAROOM
class CM-MCAST-MEDIAROOM
set dscp
!
!
interface GigabitEthernet1/0/22
service-policy input PM-MARK-MEDIAROOM
!
2a. Mark all incoming traffic
!
policy-map PM-MARK-MEDIAROOM
class class-default
set dscp
!
!
interface GigabitEthernet1/0/22
service-policy input PM-MARK-MEDIAROOM
!
--
Best regards,
Dmitry Skotnikov
09-09-2013 02:37 PM
I will give it a try. Thanks.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide