DETAILED STEPS
PurposeCommand or Action
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 1
Modifies the DSCP-to-DSCP-mutation map.mls qos map dscp-mutation
dscp-mutation-name in-dscp to out-dscp
Step 2
The default DSCP-to-DSCP-mutation map is a null map, which maps
an incoming DSCP value to the same DSCP value.
Example:
Switch(config)# mls qos map
•
For dscp-mutation-name, enter the mutation map name. You can
create more than one map by specifying a new name.
dscp-mutation
gigabitethernet1/0/2-mutation
•
For in-dscp, enter up to eight DSCP values separated by spaces.
Then enter the to keyword.
10 11 12 13 to 30
•
For out-dscp, enter a single DSCP value.
The DSCP range is 0 to 63.
Specifies the port to be trusted, and enter interface configuration mode.
interface interface-id
Step 3
Example:
Switch(config)# interface
Valid interfaces include physical ports.
gigabitethernet1/0/2
Configures the ingress port as a DSCP-trusted port. By default, the port
is not trusted.
mls qos trust dscp
Example:
Switch(config-if)# mls qos trust dscp
Step 4
To return a port to its non-trusted state, use the no mls qos
trust interface configuration command.
Note
Applies the map to the specified ingress DSCP-trusted port.
mls qos dscp-mutation dscp-mutation-name
Step 5
Example:
Switch(config-if)# mls qos dscp-mutation
For dscp-mutation-name, specify the mutation map name created in
Step 2.
You can configure multiple DSCP-to-DSCP-mutation maps on an ingress
port.
gigabitethernet1/0/2-mutation
To return to the default DSCP-to-DSCP-mutation map values,
use the no mls qos map dscp-mutation dscp-mutation-name
global configuration command.
Note
Returns to privileged EXEC mode.end
Example:
Switch(config-if)# end
Step 6
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
583
How to Configure QoS