Chapter 36 Configuring QoS

Configuring Standard QoS

Beginning in privileged EXEC mode, follow these steps to modify the IP-precedence-to-DSCP map. This procedure is optional.

 

Command

Purpose

Step 1

 

 

configure terminal

Enter global configuration mode.

Step 2

 

 

mls qos map ip-prec-dscp

Modify the IP-precedence-to-DSCP map.

 

dscp1...dscp8

For dscp1...dscp8, enter eight DSCP values that correspond to the IP

 

 

 

 

precedence values 0 to 7. Separate each DSCP value with a space.

 

 

The DSCP range is 0 to 63.

Step 3

 

 

end

Return to privileged EXEC mode.

Step 4

 

 

show mls qos maps ip-prec-dscp

Verify your entries.

Step 5

 

 

copy running-config startup-config

(Optional) Save your entries in the configuration file.

 

 

 

To return to the default map, use the no mls qos ip-prec-dscpglobal configuration command.

This example shows how to modify and display the IP-precedence-to-DSCP map:

Switch(config)# mls qos map ip-prec-dscp 10 15 20 25 30 35 40 45

Switch(config)# end

Switch# show mls qos maps ip-prec-dscp

IpPrecedence-dscp map:

ipprec: 0 1 2 3 4 5 6 7

--------------------------------

dscp: 10 15 20 25 30 35 40 45

Configuring the Policed-DSCP Map

You use the policed-DSCP map to mark down a DSCP value to a new value as the result of a policing and marking action.

The default policed-DSCP map is a null map, which maps an incoming DSCP value to the same DSCP value.

Beginning in privileged EXEC mode, follow these steps to modify the policed-DSCP map. This procedure is optional.

 

Command

Purpose

Step 1

 

 

configure terminal

Enter global configuration mode.

 

 

 

Step 2 mls qos map policed-dscp dscp-listto

Modify the policed-DSCP map.

 

mark-down-dscp

For dscp-list, enter up to eight DSCP values separated by spaces.

 

 

 

 

Then enter the to keyword.

 

 

For mark-down-dscp, enter the corresponding policed (marked down)

 

 

DSCP value.

Step 3

 

 

end

Return to privileged EXEC mode.

Step 4

 

 

show mls qos maps policed-dscp

Verify your entries.

Step 5

 

 

copy running-config startup-config

(Optional) Save your entries in the configuration file.

 

 

 

 

 

Catalyst 3750-E and 3560-E Switch Software Configuration Guide

 

 

 

 

 

 

OL-9775-02

 

 

36-65

 

 

 

 

 

Page 815
Image 815
Cisco Systems 3750E manual Configuring the Policed-DSCP Map, 36-65