Cisco NME-16ES-1G User Guide - Page 198
mls qos cos
UPC - 882658036101
View all Cisco NME-16ES-1G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 198 highlights
mls qos cos 16- and 36-Port Ethernet Switch Module for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series mls qos cos To define the default class of service (CoS) value of a port or to assign the default CoS to all incoming packets on the port, use the mls qos cos command in interface configuration mode. To return to the default setting, use the no form of this command. mls qos cos {default-cos | override} no mls qos cos {default-cos | override} Syntax Description default-cos override Assigns a default CoS value to a port. If the port is CoS trusted and packets are untagged, the default CoS value becomes a CoS value used to select one output queue to index into the CoS-to-Differentiated Services Code Point (DSCP) map. The CoS range is 0 to 7. Overrides the CoS of the incoming packets, and applies the default CoS value on the port to all incoming packets. Defaults The default CoS value for a port is 0. CoS override is disabled. Command Modes Interface configuration Command History Release 12.1(6)EA2 12.2(15)ZJ Modification This command was introduced. It replaced the switchport priority command. This command was implemented on the following platforms: Cisco 2600 series, Cisco 3600 series, and Cisco 3700 series routers. Usage Guidelines You can use the default value to assign a CoS and DSCP value to all packets entering a port if the port has been configured by using the override keyword. Use the override keyword when all incoming packets on certain ports deserve higher or lower priority than packets entering from other ports. Even if a port was previously set to trust DSCP or CoS, this command overrides that trust state, and all the incoming CoS values are assigned the default CoS value configured with the mls qos cos command. If an incoming packet is tagged, the CoS value of the packet is modified with the default CoS of the port at the ingress port. Examples The following example shows how to configure the default port CoS to 4: Switch(config)# interface gigabitethernet0/1 Switch(config-if)# mls qos trust cos Switch(config-if)# mls qos cos 4 198 Cisco IOS Release 12.2(2)XT, 12.2(8)T, and 12.2(15)ZJ