Cisco 3560x-24p 参考指南

下载
页码 1188
 
2-370
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2      Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
mls qos dscp-mutation
mls qos dscp-mutation
Use the mls qos dscp-mutation interface configuration command on the switch stack or on a standalone 
switch to apply a Differentiated Services Code Point (DSCP)-to-DSCP-mutation map to a DSCP-trusted 
port. Use the no form of this command to return the map to the default settings (no DSCP mutation).
mls qos dscp-mutation dscp-mutation-name
no mls qos dscp-mutation dscp-mutation-name
Syntax Description
Defaults
The default DSCP-to-DSCP-mutation map is a null map, which maps incoming DSCPs to the same 
DSCP values.
Command Modes
Interface configuration
Command History
Usage Guidelines
If two quality of service (QoS) domains have different DSCP definitions, use the 
DSCP-to-DSCP-mutation map to translate one set of DSCP values to match the definition of another 
domain. You apply the DSCP-to-DSCP-mutation map to the receiving port (ingress mutation) at the 
boundary of a quality of service (QoS) administrative domain.
With ingress mutation, the new DSCP value overwrites the one in the packet, and QoS handles the packet 
with this new value. The switch sends the packet out the port with the new DSCP value. 
You can configure multiple DSCP-to-DSCP-mutation maps on ingress ports.
You apply the map only to DSCP-trusted ports. If you apply the DSCP mutation map to an untrusted 
port, to class of service (CoS) or IP-precedence trusted port, the command has no immediate effect until 
the port becomes DSCP-trusted.
Examples
This example shows how to define the DSCP-to-DSCP-mutation map named dscpmutation1and to apply 
the map to a port:
Switch(config)# mls qos map dscp-mutation dscpmutation1 10 11 12 13 to 30
Switch(config)# interface gigabitethernet3/0/1
Switch(config-if)# mls qos trust dscp
Switch(config-if)# mls qos dscp-mutation dscpmutation1
dscp-mutation-name
Name of the DSCP-to-DSCP-mutation map. This map was previously 
defined with the mls qos map dscp-mutation global configuration 
command.
Release
Modification
12.2(53)SE2
This command was introduced.