11-26-2012 07:06 AM - edited 03-04-2019 06:14 PM
I want to mark traffic on Cisco 3020 switch entering to interface gigabitEthernet 0/1 ingress direction with DSCP values.
interface gigabitEthernet 0/1 is in access mode and in vlan 10.
This is my config:
access-list 1 permit host 10.10.1.1
class-map match-all ipclass1
match access-group 1
policy-map MARK
class ipclass1
set ip dscp cs4 (or tried -> set dscp cs4)
interface gigabitEthernet 0/1
service-policy input MARK
I have also enabled QoS globally with mls qos command.
However, when I checked with
show policy-map interface gigabitEthernet 0/1
it showed
...
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group 1
QoS Set
dscp cs4
Packets marked 0
What is wrong or what is omitted?
Thanks
Solved! Go to Solution.
11-26-2012 08:34 AM
Hi Haru,
Try using "show mls qos interface X statistics".
Thank you,
Mark Sanchez
11-26-2012 08:34 AM
Hi Haru,
Try using "show mls qos interface X statistics".
Thank you,
Mark Sanchez
11-27-2012 05:07 AM
Thanks Mark
"show mls qos interface X statistics" command is working and packets are marked!!!
After your suggestion I found this note in Cisco 3020 docs:
Note Do not use the show policy-map interface privileged EXEC command to display classification information for incoming traffic. The control-plane and interface keywords are not supported, and the statistics shown in the display should be ignored.
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