cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
340
Views
0
Helpful
1
Replies

How to verify that WRR is giving priority to some packets

ewaizelbell
Level 1
Level 1

Hi Team

I have these Catalyst 3550 switches with WRR configured to give

strict priority to VoIP traffic.

My problem is that I haven't been able to find a command

to show me statistics for all 4 different outgoing queues

on the interface (something similar to LLQ show policy-map

for an interface).

In my configuration I'm either trusting all IP-Phones ToS

or trusting DSCP comming from servers. I expect DSCP to be

mapped to a COS value and then COS to the right queue in

the outgoing interface of the switch. In theory, the

configuration is ready but I don't have a way to verify if

VoIP traffic is really using the strict priority queue (#4).

Any ideas?

Here you have the config for a port with a CCM connected

to it:

!

interface FastEthernet0/2

description Call Mgr

switchport access vlan 15

switchport mode dynamic desirable

mls qos trust dscp

auto qos voip trust

wrr-queue bandwidth 10 20 70 1

wrr-queue min-reserve 1 5

wrr-queue min-reserve 2 6

wrr-queue min-reserve 3 7

wrr-queue min-reserve 4 8

wrr-queue cos-map 1 0 1

wrr-queue cos-map 2 2 4

wrr-queue cos-map 3 3 6 7

wrr-queue cos-map 4 5

priority-queue out

end

and some global commands:

mls qos map cos-dscp 0 8 16 26 32 46 48 56

mls qos min-reserve 5 170

mls qos min-reserve 6 85

mls qos min-reserve 7 51

mls qos min-reserve 8 34

mls qos

I was able to get these statistics (nothing that

explicitly shows a total of bytes or packets sent to each

one of the 4 outgoing queues).

3550sw#sh mls qos interface fastEthernet 0/2 queueing

FastEthernet0/2

Egress expedite queue: ena

wrr bandwidth weights:

qid-weights

1 - 10

2 - 20

3 - 70

4 - 1 when expedite queue is disabled

Cos-queue map:

cos-qid

0 - 1

1 - 1

2 - 2

3 - 3

4 - 2

5 - 4

6 - 3

7 - 3

3550sw#sh mls qos interface fastEthernet 0/2 statistics

FastEthernet0/2

Ingress

dscp: incoming no_change classified policed

dropped (in bytes)

Others: 3842249 3842249 0 0 0

Egress

dscp: incoming no_change classified policed

dropped (in bytes)

Others: 4133666 n/a n/a 0 0

3550sw#sh mls qos interface fastEthernet 0/2

FastEthernet0/2

trust state: trust dscp

trust mode: trust dscp

COS override: dis

default COS: 0

DSCP Mutation Map: Default DSCP Mutation Map

Trust device: none

Enrique Waizel

1 Reply 1

amritpatek
Level 6
Level 6

show wrr-queue cos-map To display the mapping of the CoS priority queues.

show wrr-queue bandwidth To display the WRR4 bandwidth allocation for the CoS priority queues.