QoS Labs
QoS Labs
all incoming DSCP settings. on port fa0/11, trust all incoming CoS settings. on port fa0/10, trust the incoming CoS settings only if a cisco IP phone is connected to the fa0/10 port, otherwise do not trust any CoS or DSCP markings coming in.
2950-SWITCH>en 2950-SWITCH(Config)#int fa0/1 2950-SWITCH(config-if)#mls qos trust dscp 2950-SWITCH(config-if)#exit 2950-SWITCH(config)#int fa0/11 2950-SWITCH(config-if)#mls qos trust cos 2950-SWITCH(config-if)#exit 2950-SWITCH(config)#int fa0/10 2950-SWITCH(config-if)#mls qos trust cos
2950-SWITCH#configure terminal
LAB2 On the R1 WAN edge router, configure the appropriate MQC based queuing mechanism for the outbound traffic to the WAN (S0/0) so that the following bandwidth requirements will be met. A strict priority queue with a 168 K\kbps bandwidth guarantee for the class voice is reserved, a minimum bandwidth guarantee of 30 kbps is configured for the class interactive, a minimum bandwidth guarantee of 16 kbps for class bulk, and the default class is configured for WFQ with no bandwidth guarantee. In addition, also limit the bulk traffic class to an average rate of 24 kbps by buffering excess traffic (use the IOS default Bc and Be).
R1>en R1#configure terminal R1(config0#policy-map llq-policy R1(config-pmap)#class voice R1(config-pmap-c)#priority 168 R1(config-pmap-c)#exit R1(config-pmap)#class interactive R1(config-pmap-c)#bandwidth 30 R1(config-pmap-c)#exit R1(config-pmap)#class bulk R1(config-pmap-c)#bandwidth 16
R1(config-pmap-c)#shape average 24000 R1(config-pmap-c)#exit R1(config-pmap)#class class-default R1(config-pmap-c)#fair-queue R1(config-pmap-c)#exit R1(config-pmap)#exit R1(config)#int s0/0 R1(config-if)#service-policy output llq-policy R1(config-if)#end R1#copy run start