Enterprise QoS Solution Reference Network Design Guide
Enterprise QoS Solution Reference Network Design Guide
Enterprise QoS Solution Reference Network Design Guide
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Chapter 2 Campus <strong>QoS</strong> <strong>Design</strong><br />
Version 3.3<br />
Table 2-1 Catalyst 2950 Auto-<strong>QoS</strong> Generated Configuration<br />
If you entered the auto qos voip<br />
cisco-phone command, the switch<br />
automatically enables the trusted boundary<br />
feature, which uses the CDP to detect the<br />
presence or absence of a Cisco IP Phone.<br />
If you entered the auto qos voip<br />
cisco-softphone command, the switch<br />
automatically creates class maps and policy<br />
maps.<br />
After creating the class maps and policy<br />
maps, the switch automatically applies the<br />
policy map called<br />
Auto<strong>QoS</strong>-Police-SoftPhone to an ingress<br />
interface on which auto-<strong>QoS</strong> with the Cisco<br />
SoftPhone feature is enabled.<br />
The switch automatically assigns egress<br />
queue usage on this interface.<br />
The switch enables the egress expedite<br />
queue and assigns WRR weights to queues<br />
1, 2, and 3. (The lowest value for a WRR<br />
queue is 1. When the WRR weight of a<br />
queue is set to 0, this queue becomes an<br />
expedite queue.)<br />
The switch configures the<br />
CoS-to-egress-queue map:<br />
CoS values 0 and 1 select queue 1.<br />
CoS values 2 and 4 select queue 2.<br />
CoS values 3, 6, and 7 select queue 3.<br />
CoS value 5 selects queue 4.<br />
Catalyst 2950—<strong>QoS</strong> Considerations and <strong>Design</strong><br />
CAT2950(config-if)# mls qos trust device<br />
cisco-phone<br />
CAT2950(config)# class-map match-all<br />
Auto<strong>QoS</strong>-VoIP-RTP-Trust<br />
CAT2950(config-cmap)# match ip dscp 46<br />
CAT2950(config)# class-map match-all<br />
Auto<strong>QoS</strong>-VoIP-Control-Trust<br />
CAT2950(config-cmap)# match ip dscp 24 26<br />
CAT2950(config)# policy-map<br />
Auto<strong>QoS</strong>-Police-SoftPhone<br />
CAT2950(config-pmap)# class<br />
Auto<strong>QoS</strong>-VoIP-RTP-Trust<br />
CAT2950(config-pmap-c)# set ip dscp 46<br />
CAT2950(config-pmap-c)# police 1000000 4096<br />
exceed-action drop<br />
CAT2950(config-pmap)# class<br />
Auto<strong>QoS</strong>-VoIP-Control-Trust<br />
CAT2950(config-pmap-c)# set ip dscp 24<br />
CAT2950(config-pmap-c)# police 1000000 4096<br />
exceed-action drop<br />
CAT2950(config-if)# service-policy input<br />
Auto<strong>QoS</strong>-Police-SoftPhone<br />
CAT2950(config)# wrr-queue bandwidth 10 20 70 1<br />
CAT2950(config)# no wrr-queue cos-map<br />
CAT2950(config)# wrr-queue cos-map 1 0 1<br />
CAT2950(config)# wrr-queue cos-map 2 2 4<br />
CAT2950(config)# wrr-queue cos-map 3 3 6 7<br />
CAT2950(config)# wrr-queue cos-map 4 5<br />
Catalyst 2950—Untrusted PC + SoftPhone with Scavenger-Class <strong>QoS</strong> Model<br />
The Catalyst 2950 does not support the range keyword within an ACL when the ACL is being referenced<br />
by a MQC class-map. Therefore, a policy to mark UDP flows in the port range of 16384 through 32767<br />
cannot be configured on the Catalyst 2950.<br />
<strong>Enterprise</strong> <strong>QoS</strong> <strong>Solution</strong> <strong>Reference</strong> <strong>Network</strong> <strong>Design</strong> <strong>Guide</strong><br />
2-19