2-174
Catalyst 2350 Switch Command Reference
OL-19055-01
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands
mls qos trust
If you configure the trust setting for DSCP or IP precedence, the DSCP or IP precedence values in the
incoming packets are trusted. If you configure the
mls qos cos override
interface configuration
command on the switch port connected to the device, the switch overrides the CoS of the incoming
packets and assigns the default CoS value to them.
For an inter-QoS domain boundary, you can configure the port to the DSCP-trusted state and apply the
DSCP-to-DSCP-mutation map if the DSCP values are different between the QoS domains.
Classification using a port trust state (for example,
mls qos trust
[
cos
|
dscp
|
ip-precedence
] and a
policy map (for example,
service-policy input
policy-map-name
) are mutually exclusive. The last one
configured overwrites the previous configuration.
Examples
This example shows how to configure a port to trust the IP precedence field in the incoming packet:
Switch(config)#
interface gigabitethernet0/1
Switch(config-if)#
mls qos trust ip-precedence
You can verify your settings by entering the
show mls qos interface
privileged EXEC command.
Related Commands
Command
Description
mls qos cos
Defines the default CoS value of a port or assigns the default CoS to all
incoming packets on the port.
mls qos dscp-mutation
Applies a DSCP-to DSCP-mutation map to a DSCP-trusted port.
mls qos map
Defines the CoS-to-DSCP map, DSCP-to-CoS map, the
DSCP-to-DSCP-mutation map, the IP-precedence-to-DSCP map, and the
policed-DSCP map.
show mls qos interface
Displays QoS information.