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
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
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group 1
Packets marked 0
What is wrong or what is omitted?
Solved! Go to Solution.
"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.