01-21-2009 03:32 PM - edited 03-06-2019 03:34 AM
I need to mark all the traffic arriving at a particular switcg port with a dscp value of EF.
I have the following configuration but as best I can tell its not working. If I run show access list the hit counter never increments but when I sniff on the port I am applying the service-map to I see a mountain of UDP traffic.
Any thoughts would be helpful - thanks.
access-list 105 permit udp host 10.100.120.120 any
class-map match-all VOIP
match access-group 105
!
!
policy-map SETDSCP
class VOIP
set dscp ef
interface GigabitEthernet7/48
switchport
switchport access vlan 200
switchport mode access
no ip address
speed 1000
duplex full
mls qos statistics-export
mls qos trust cos
spanning-tree portfast
service-policy input SETDSCP
01-21-2009 03:34 PM
Which switch type are you using ?
Jon
01-21-2009 03:43 PM
THIS IS ON A 6509 RUNNING IOS Version 12.2(18)SXF11
01-21-2009 03:52 PM
Do you want to mark ALL traffic as EF ?
If so you should remove the "mls qos trust cos" statement because you don't want to trust any Cos values received you simply want to set the value to EF.
Jon
01-21-2009 05:55 PM
Run a span session on the vlan interface and filter it to only display the IP address in question. That will show you if the traffic is being marked.
It's better to span the VL interface and not the physical port as I think the traffic coppied to the span session is taken before any manipulation, i.e. before the DSCP markings would be added.
Have you enabled QoS globally?
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: