Catalyst 4500 SUP II-Plus sample qos configuration

Put iptv packets to priority transmit-queue3, all other packets to transmit-queue1
Priority queue can be only queue3. IPTV packets are marked with dscp32(0x20).

qos map dscp 32 to tx-queue 3
qos map dscp 0 1 2 3 4 5 6 7 to tx-queue 1
qos map dscp 8 9 10 11 12 13 14 15 to tx-queue 1
qos map dscp 16 17 18 19 20 21 22 23 to tx-queue 1
qos map dscp 24 25 26 27 28 29 30 31 to tx-queue 1
qos map dscp 33 34 35 36 37 38 39 to tx-queue 1
qos map dscp 40 41 42 43 44 45 46 47 to tx-queue 1
qos map dscp 48 49 50 51 52 53 54 55 to tx-queue 1
qos map dscp 56 57 58 59 60 61 62 63 to tx-queue 1

Check configurations:

sh qos maps dscp tx-queue

Enable priority queue on customers’ interfaces:

interface range GigabitEthernet3/1-48
tx-queue 3
priority high
end

Priority queue can be only queue3.

Set up uplink ports
Set up maximum guaranteed bandwidth for uplink port and enable dscp trust:

interface GigabitEthernet1/1
qos trust dscp
tx-queue 1
bandwidth percent 100
end

This way we guarantee for transmit-queue1 100% of bandwidth. Other queues are not interesting for us. Checking config:

show qos interface GigabitEthernet 1/1

Trust nothing on access interfaces. Remark dscp and qos fields

interface GigabitEthernet3/1
qos dscp 0
qos cos 0
no qos trust
exit

Verify config:

show qos interface GigabitEthernet 3/1

Checking
Check packets sorting to queues. Check cos/dscp counters on interfaces:

show interface gi3/1 counters detail
sh platform hardware interface g3/1 statistics
Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s