05-09-2012 11:11 AM - edited 03-07-2019 06:37 AM
Can anyone help on this below configuration
Platinum (According to real time class)
****************************************
Voice RTP
Gold (40% of remaining)
***********************
Voice signalling
Citrix
Video conferencing
Silver (20% of remaining)
***********************
Notes
Internet browsing
Bronze (10% of remaining)
***********************
SNMP
TFTP
Best effort
***********************
Other
05-09-2012 12:52 PM
QoS is a end to end configuration. Your service provider should respect you markings, otherwise all packets will be treated equally once they leave your router. Below is an example config, you can modify the names and percentages based on your requirements. Hope this helps.
class-map match-any Platinum-Voice
match dscp ef
match protocol RTP
class-map match-any Gold-video-signaling
match dscp af41
match dscp af31
match protocol citrix
class-map match-any Silver-Internet
match protocol http
match protocol https
class-map match-any Bronze-Telnet-SNMP
match protocol tftp
match protocol snmp
policy-map qos
class-map match-any Platinum-Voice
priority percent 20
set ip dscp ef
class-map match-any Gold-video-signaling
set ip dscp af31
bandwidth remaining percent 60
class-map match-any Silver-Internet
set ip dscp af23
bandwidth remaining percent 20
class-map match-any Bronze-Telnet-SNMP
set ip dscp af21
bandwidth remaining percent 10
class class-default
set ip dscp default
bandwidth remaining percent 10
05-14-2012 07:26 AM
Hi team,
Can we configure the same using SRR queue?
Thanks in advance
05-15-2012 05:41 AM
Hi all,
can we configure in this manner, after marking the packets
Class-map PLATINUM
match access-gr name PLATINUM
class-map GOLD
match access-gr name GOLD
class-map SILVER
match access-gr name SILVER
CLass-map BRONZE
match acce-gr name BRONZE
class class-defa
policy-map QOS
class PLATINUM
set dscp ef
class GOLD
set dscp af31
class SILVER
set dscp af22
class BRONZE
set dscp af11
class class-def
set dscp def
int
srr bandwidth shape 5 0 0 0
srr-queue bandwidth share 1 4 2 1
srr-queue bandwidth limit
mls qos tr dscp
priority-queue out
int
Service-po input QOS
mls qos tr dscp
priority-queue out
mls qos srr-queue output dscp-map queue 1 threshold 3 46
mls qos srr-queue output dscp-map queue 1 threshold 2 26
mls qos srr-queue output dscp-map queue 3 threshold 2 10 18
mls qos srr-queue output dscp-map queue 3 threshold 3 0
05-15-2012 11:21 AM
looks good below are small changes
int
srr bandwidth shape 5 0 0 0
srr-queue bandwidth share 1 4 2 1
srr-queue bandwidth limit
mls qos tr dscp
priority-queue out
int
Service-po input QOS
mls qos tr dscp ----------can't use both MQC and trust commands on the same interface
priority-queue out
mls qos queue-set output 1 buffers 20 40 30 10
mls qos queue-set output 1 threshold 1 5 20 100 200
mls qos queue-set output 1 threshold 2 50 80 100 100
mls qos queue-set output 1 threshold 3 50 80 100 150
mls qos queue-set output 1 threshold 4 30 70 100 250
mls qos srr-queue output dscp-map queue 1 threshold 3 46
mls qos srr-queue output dscp-map queue 1 threshold 1 26 20 10 0
mls qos srr-queue output dscp-map queue 2 threshold 3 26
mls qos srr-queue output dscp-map queue 2 threshold 1 20 10 0
mls qos srr-queue output dscp-map queue 3 threshold 3 20 10
mls qos srr-queue output dscp-map queue 3 threshold 1 0
mls qos srr-queue output dscp-map queue 4 threshold 3 0
mls qos srr-queue output dscp-map queue 4 threshold 2 46 26
mls qos srr-queue output dscp-map queue 4 threshold 1 20 10
According to the above config
queue 1 is the priority queue with 200 Mbps bandwidth (assuming 1G link on the router) and it will start dropping packets with af31,af22,af11 and default markings when it reaches 5% of its allocated bandwidth.
queue 2 ,3 and 4 share the remaining bandwidth (457.14 Mbps (4/7)*(1000-200) ,228.57 Mbps and 114.xx Mbps).
queue 2 will start to drop the packets with af22,af11 and default markings when it reaches 50% of its allocated bandwidth.
queue 3 will start dropping packets with default markings when it reaches 50% of its allocated bandwidth.
Queue 4 will start dropping packets with ef and af31 markings when it reaches 70% and af22 and af11 markings when it reaches 30% of its allocated bandwidth
you can change the thresholds and percentages based on your requirements.Below is the document which explains QoS in detail
http://www.cisco.com/en/US/products/hw/switches/ps5023/products_tech_note09186a0080883f9e.shtml
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