cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Community Helping Community

207
Views
0
Helpful
2
Replies

Marking Traffic on Cisco 3020 switch

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

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Beginner

Re: Marking Traffic on Cisco 3020 switch

Hi Haru,

Try using "show mls qos interface X statistics".

Thank you,

Mark Sanchez

View solution in original post

2 REPLIES 2
Highlighted
Beginner

Re: Marking Traffic on Cisco 3020 switch

Hi Haru,

Try using "show mls qos interface X statistics".

Thank you,

Mark Sanchez

View solution in original post

Re: Marking Traffic on Cisco 3020 switch

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.

CreatePlease to create content
Content for Community-Ad
FusionCharts will render here