05-20-2008 05:08 AM - edited 03-15-2019 10:46 AM
Could someone please sanity check this basic QoS design before my brain explodes:
IP Phone -- 3750 -- 4500 -- WAN rtr (MPLS Cloud) -- WAN rtr -- 4500 -- 3750
Basically I would like to implement a full end to end QoS policy using the Trusted Endpoint model. Is it really as easy as just entering mls qos trust dscp on ports with IP phones attached on the 3750 and 4500's and then on the WAN edge routers enter the following class and policy maps:
class-map match-all voice
match-ip dscp ef
class-map match-any call signalling
match ip dscp cs3
match ip dscp af31
policy-map WAN-edge
class voice
priority percent 33
class call signaling
bandwidth percent 5
class class-default
fair-queue
For signalling where would i classify such traffic as H.323/MGCP etc?
Thanks in advance
05-20-2008 12:48 PM
looking through the QoS SRND i've also applied the following per device:
3750 switches
mls qos trust dscp
priority queue-out - sends all voice tfc to queue 1
**
mls qos srr-queue output cos-map queue 1 threshold 3 5
! maps CoS 5 to queue 1 threshold 3 (voice gets all of queue 1)
mls qos srr-queue output cos-map queue 2 threshold 1 2 4
! maps CoS 2 and Cos 4 to queue 2 threshold 1
mls qos srr-queue output cos-map queue 2 threshold 2 3
! maps cos 3 to queue 2 threshold 2
mls qos srr-queue output cos-map queue 2 threshold 3 6 7
! maps cos 6 and cos 7 to queue 2 threshold 3
mls qos srr-queue output cos-map queue 3 threshold 3 0
! maps cos 0 to queue 3 threshold 3 (BE gets all of Q3)
mls qos srr-queue output cos-map queue 4 threshold 3 1
! maps cos1 to queue 4 threshold 3 (scavenger/bulk gets all of q4)
**
mls qos srr-queue output dscp-map queue 1 threshold 3 46
! maps dscp ef (voice to queue 1 threshold 3)
mls qos srr-queue output dscp-map queue 2 threshold 1 16
! maps dscp cs2 (network management) to queue 2 threshold 1
mls qos srr-queue output dscp-map queue 2 threshold 1 18 20 22
! maps dscp af21, af22, af23 (transactional data) to queue 2 threshold 1
mls qos srr-queue output dscp-map queue 2 threshold 1 25
! maps dscp 25 (mission-critical data) to queue 2 threshold 1
mls qos srr-queue output dscp-map queue 2 threshold 1 32
! maps dscp cs4 (streaming video) to queue 2 threshold 1
mls qos srr-queue output dscp-map queue 2 threshold 1 34 36 38
! maps dscp af41, af42, af43 (int video) to queue 2 threshold 1
mls qos srr-queue output dscp-map queue 2 threshold 2 24 26
! maps dscp cs3 and dscp af31 (call-signalling) to queue 2 threshold 2
mls qos srr-queue output dscp-map queue 2 threshold 3 48 56
! maps dscp cs6 and cs7 (net/internetwork) to queue 2 threshold 3
mls qos srr-queue output dscp-map queue 3 threshold 3 0
! maps dscp 0 (BE) to queue 3 threshold 3
mls qos srr-queue output dscp-map queue 4 threshold 1 8
! maps dscp cs1 (scavenger) to queue 4 threshold 1
mls qos srr-queue output dscp-map queue 4 threshold 3 10 12 14
! maps dscp af11, af12, af13 (bulk data) to queue 4 threshold 3
**
mls qos queue-set output 1 threshold 2 70 80 100 100
! sets q2 threshold 1 to 70% and q2 threshold 2 to 80%
mls qos queue-set output 1 threshold 4 40 100 100 100
! sets q4 threshold 1 to 40% and q4 threshold to 100%
**
int range gig 0/1 - 24
queue-set 1
! assigns int to queue-set 1 (default)
srr-queue bandwidth share 1 70 25 5
! q2 gets 70% of remaining bw; q3 gets 25 % and q4 gets 5%
srr-queue bandwidth shape 3 0 0 0
! q1 is limited to 1/3 of the total available bw
priority-queue out
!q1 is enabled as a PQ
*****
4500 Switches
qos trust dscp
strict priority queue is transmit-queue 3
By default all queues are scheduled in a round robin manner. The third transmit queue can
be designated as an optional strict-priority queue. This can be enabled with the tx-queue 3
int command followed by the priority high sub command.
By default the DSCP-to-queue assignments are as follows:
DSCP 0-15 Queue 1
DSCP 16-31 Queue 2
DSCP 32-47 Queue 3
DSCP 48-63 Queue 4
DSCP 0 should be assigned to Q2
DSCP CS1 and DSCP AF11/AF12/AF13 should be assigned to Q1
dscp cs2 as well as AF21/AF22/AF23 should be assigned to Q4
DSCP CS3 and AF31 should be assigned to Q4
DSCP 25 should be assigned to Q4
DSCP CS4 and AF41/AF42/AF43 should be assigned to Q4
DSCP EF should be assigned to Q3
DSCP CS6 and CS7 should be assigned to Q4
**
qos map dscp 0 to tx-queue 2
qos map dscp 8 10 12 14 to tx-queue 1
qos map dscp 16 18 20 22 to tx-queue 4
qos map dscp 24 25 26 to tx-queue 4
qos map dscp 32 34 36 38 to tx-queue 4
qos map dscp 46 to tx-queue 3
qos map dscp 48 56 to tx-queue 4
**
int range gig x x
tx-queue 1
bandwidth 5
tx-queue 2
bandwidth 25
tx-queue 3
priority high
bandwidth percent 30
shape percent 30
tx-queue 4
bandwidth percent 40
05-20-2008 12:57 PM
Will my configs above honour dscp values from the IP Phones for both voice (EF) and call signalling (AF31/CS3) and be treated accordingly as the tfc moves through the 3750 > 4500 > over the WAN?
Final question, where should I apply an extended access-list/policy and class map to match signalling traffic such as h.323 and mgcp so this tfc gets treated accordingly?
Thanks in advance
05-20-2008 11:03 PM
Anyone able to spend a couple of minutes reviewing this for me?
Cheers all.
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