19.07.2013 Views

Enterprise QoS Solution Reference Network Design Guide

Enterprise QoS Solution Reference Network Design Guide

Enterprise QoS Solution Reference Network Design Guide

SHOW MORE
SHOW LESS

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-2 Catalyst 3550 Auto-<strong>QoS</strong> Generated Configuration<br />

Description Automatically Generated Command<br />

The switch automatically enables standard<br />

<strong>QoS</strong> and configures the CoS-to-DSCP<br />

map (maps CoS values in incoming<br />

packets to a DSCP value).<br />

If 10/100 Ethernet ports are present, the<br />

switch automatically configures the buffer<br />

size of the minimum-reserve levels 5, 6, 7,<br />

and 8:<br />

Level 5 can hold 170 packets.<br />

Level 6 can hold 85 packets.<br />

Level 7 can hold 51 packets.<br />

Level 8 can hold 34 packets.<br />

If you entered the auto qos voip trust<br />

command, the switch automatically sets<br />

the ingress classification to trust the CoS<br />

value received in the packet on a<br />

nonrouted port or to trust the DSCP value<br />

received in the packet on a routed port.<br />

If you entered the auto qos voip<br />

cisco-phone command, the switch<br />

automatically enables the trusted<br />

boundary feature which uses the CDP to<br />

detect the presence or absence of a Cisco<br />

IP Phone.<br />

If you entered the auto qos voip<br />

cisco-softphone command, the switch<br />

automatically creates class maps and<br />

policy 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<br />

Cisco SoftPhone feature is enabled.<br />

Catalyst 3550—<strong>QoS</strong> Considerations and <strong>Design</strong><br />

C3550(config)# mls qos<br />

C3550(config)# mls qos map cos-dscp 0 8 16 26 32<br />

46 48 56<br />

C3550(config)# mls qos min-reserve 5 170<br />

C3550(config)# mls qos min-reserve 6 85<br />

C3550(config)# mls qos min-reserve 7 51<br />

C3550(config)# mls qos min-reserve 8 34<br />

C3550(config-if)# mls qos trust cos<br />

C3550(config-if)# mls qos trust dscp<br />

C3550(config-if)# mls qos trust device cisco-phone<br />

C3550(config)# mls qos map policed-dscp 24 26 46<br />

to 0<br />

C3550(config)# class-map match-all<br />

Auto<strong>QoS</strong>-VoIP-RTP-Trust<br />

C3550(config-cmap)# match ip dscp 46<br />

C3550(config)# class-map match-all<br />

Auto<strong>QoS</strong>-VoIP-Control-Trust<br />

C3550(config-cmap)# match ip dscp 24 26<br />

C3550(config)# policy-map Auto<strong>QoS</strong>-Police-SoftPhone<br />

C3550(config-pmap)# class Auto<strong>QoS</strong>-VoIP-RTP-Trust<br />

C3550(config-pmap-c)# set dscp 46<br />

C3550(config-pmap-c)# police 320000 8000<br />

exceed-action policed-dscp-transmit<br />

C3550(config-pmap)# class<br />

Auto<strong>QoS</strong>-VoIP-Control-Trust<br />

C3550(config-pmap-c)# set dscp 24<br />

C3550(config-pmap-c)# police 32000 8000<br />

exceed-action policed-dscp-transmit<br />

C3550(config-if)# service-policy input<br />

Auto<strong>QoS</strong>-Police-SoftPhone<br />

<strong>Enterprise</strong> <strong>QoS</strong> <strong>Solution</strong> <strong>Reference</strong> <strong>Network</strong> <strong>Design</strong> <strong>Guide</strong><br />

2-31

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!