DXS-1210 Series Smart Managed Switch CLI Reference Guide
264
34.
Quality of Service (QoS) Commands
34-1
mls qos cos
This command is used to configure the default Class of Service (CoS) value of a port. Use the no
form of this command to revert to the default settings.
mls qos cos {COS-VALUE | override}
no mls qos cos
Parameters
COS-VALUE
Specifies to assign a default CoS value to a port. This CoS will be
applied to the incoming untagged packets received by the port.
override
Specifies to override the CoS of the packets. The default CoS will be
applied to all incoming packets, tagged or untagged, received by the
port.
Default
By default, this CoS value is 0.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
When the override option is not specified, the CoS of the packets will be the packet’s CoS if the
packets are tagged, and will be the port default CoS if the packet is untagged.
When the override option is specified, the port default CoS will be applied to all packets received by
the port. Use the override keyword when all incoming packets on certain ports deserve a higher or
lower priority than packets that enter from other ports. Even if a port was previously set to trust DSCP
or CoS, this command overrides that trust state, and all CoS values on the incoming packets are
changed to the default CoS value that is configured with the mls qos cos command. If an incoming
packet is tagged, the CoS value of the packet is modified at the ingress port.
Example
This example shows how the default CoS of Ethernet port 1/0/1 is set to 3.
Switch# configure terminal
Switch(config)#interface eth 1/0/1
switch(config-if)# mls qos cos 3
switch(config-if)#
34-2
mls qos map dscp-cos
This command is used to define a Differentiated Services Code Point (DSCP)-to-class of service (CoS)
map. Use the no form of this command to revert to the default setting.
mls qos map dscp-cos DSCP-LIST to COS-VALUE
no mls qos map dscp-cos DSCP-LIST