Cisco NME-16ES-1G User Guide - Page 202
mls qos trust
UPC - 882658036101
View all Cisco NME-16ES-1G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 202 highlights
mls qos trust 16- and 36-Port Ethernet Switch Module for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series mls qos trust To configure the port trust state and classify traffic by examining the class of service (CoS) or Differentiated Services Code Point (DSCP) value, use the mls qos trust command in interface configuration mode. To return a port to its untrusted state, use the no form of this command. mls qos trust [cos | dscp] no mls qos trust [cos | dscp] Syntax Description cos dscp (Optional) Classifies ingress packets with packet CoS values. For untagged packets, use the port default CoS value. (Optional) Classifies ingress packets with packet DSCP values (most significant 6 bits of 8-bit service-type field). For non-IP packets, the packet CoS value is 0. Defaults The port is not trusted. If no keyword is specified, the default is dscp. Command Modes Interface configuration Command History Release 12.1(6)EA2 12.2(15)ZJ Modification This command was introduced. This command was implemented on the following platforms: Cisco 2600 series, Cisco 3600 series, and Cisco 3700 series routers. Usage Guidelines Packets entering a quality of service (QoS) domain are classified at the edge of the QoS domain. Because the packets are classified at the edge, the switch port within the QoS domain can be configured to one of the trusted states; there is no need to classify the packets at every switch within the domain. Use this command to specify whether the port is trusted and which fields of the packet to use to classify traffic. When a port is configured with trust DSCP and the incoming packet is a non-IP packet, the CoS value for the packet is set to 0, and the DSCP-to-CoS map is not applied. If DSCP is trusted, the DSCP field of the IP packet is not modified. However, it is still possible that the CoS value of the packet is modified (according to the DSCP-to-CoS map). If CoS is trusted, CoS of the packet is not modified, but DSCP can be modified (according to the CoS-to-DSCP map) if it is an IP packet. Examples The following example shows how to configure a port to be a DSCP-trusted port: Switch(config)# interface gigabitethernet0/1 Switch(config-if)# mls qos trust dscp 202 Cisco IOS Release 12.2(2)XT, 12.2(8)T, and 12.2(15)ZJ