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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Catalyst 6500 PFC2/PFC3—<strong>QoS</strong> Considerations and <strong>Design</strong><br />

2-86<br />

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

Chapter 2 Campus <strong>QoS</strong> <strong>Design</strong><br />

Catalyst 6500—Untrusted PC + SoftPhone with Scavenger-Class <strong>QoS</strong> Model<br />

Configuration<br />

This section includes the following topics:<br />

Configuration<br />

Catalyst 6500 CatOS <strong>QoS</strong> Verification Commands<br />

The radical difference in syntax between CatOS and IOS becomes increasingly apparent as more<br />

complex access edge models are presented.<br />

In the Untrusted PC + SoftPhone + Scavenger Model, shown below, per-application aggregate policers<br />

are defined—one each for SoftPhone VoIP traffic, SoftPhone call signaling traffic, and PC Data traffic.<br />

Then an ACL (titled “SOFTPHONE-PC-mod-port”) with multiple ACEs is defined, with each ACE<br />

referencing its associated aggregate policer. Once complete, the ACL is committed to PFC memory and<br />

then mapped to the desired switch port(s). Switch responses to the commands have been omitted to<br />

simplify the example.<br />

Example 2-56 Catalyst 6500 CatOS—Untrusted PC + SoftPhone + Scavenger Model Configuration<br />

CAT6500-PFC2-CATOS> (enable) set qos policed-dscp-map 0,24,46:8<br />

! Excess traffic marked DSCP 0 or CS3 or EF will be remarked to CS1<br />

CAT6500-PFC2-CATOS> (enable)<br />

CAT6500-PFC2-CATOS> (enable) set qos policer aggregate SOFTPHONE-VOICE-3-1<br />

rate 128 burst 8000 policed-dscp<br />

! Defines the policer for SoftPhone VoIP traffic<br />

CAT6500-PFC2-CATOS> (enable) set qos policer aggregate SOFTPHONE-SIGNALING-3-1<br />

rate 32 burst 8000 policed-dscp<br />

! Defines the policer for SoftPhone call signaling traffic<br />

CAT6500-PFC2-CATOS> (enable) set qos policer aggregate PC-DATA-3-1<br />

rate 5000 burst 8000 policed-dscp<br />

! Defines the policer for PC Data traffic<br />

CAT6500-PFC2-CATOS> (enable)<br />

CAT6500-PFC2-CATOS> (enable) set qos acl ip SOFTPHONE-PC-3-1 dscp 46<br />

aggregate SOFTPHONE-VOICE-3-1 udp any any range 16384 32767<br />

! Binds ACL to policer and marks in-profile SoftPhone VoIP to DSCP EF<br />

CAT6500-PFC2-CATOS> (enable) set qos acl ip SOFTPHONE-PC-3-1 dscp 24<br />

aggregate SOFTPHONE-SIGNALING-3-1 tcp any any range 2000 2002<br />

! Binds ACL to policer marks in-profile call signaling to DSCP CS3<br />

CAT6500-PFC2-CATOS> (enable) set qos acl ip SOFTPHONE-PC-3-1 dscp 0<br />

aggregate PC-DATA-3-1 any<br />

! Binds ACL to policer and marks in-profile PC Data traffic to DSCP 0<br />

CAT6500-PFC2-CATOS> (enable)<br />

CAT6500-PFC2-CATOS> (enable) commit qos acl SOFTPHONE-PC-3-1<br />

! Commits ACL to PFC hardware<br />

CAT6500-PFC2-CATOS> (enable)<br />

CAT6500-PFC2-CATOS> (enable) set port qos 3/1 cos 0<br />

! Sets CoS to 0 for all untrusted packets<br />

CAT6500-PFC2-CATOS> (enable) set port qos 3/1 trust untrusted<br />

! Sets the port trust state to untrusted<br />

CAT6500-PFC2-CATOS> (enable) set qos acl map SOFTPHONE-PC-3-1 3/1<br />

! Attaches ACL to switch port<br />

CAT6500-PFC2-CATOS> (enable)<br />

Catalyst 6500 CatOS <strong>QoS</strong> verification commands for the Untrusted PC + Softphone + Scavenger model<br />

include the following:<br />

show qos status<br />

Version 3.3

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

Saved successfully!

Ooh no, something went wrong!