default-cos
|
Assigns a default CoS value to a port. If the port is CoS trusted and packets are untagged, the default CoS value is used to select one output queue as an index into the CoS-to-Differentiated Services Code Point (DSCP) map. The CoS range is 0 to 7. The default is 0.
|
override
|
Overrides the CoS of the incoming packets and applies the default CoS value on the port to all incoming packets.
|
Release
|
Modification
|
---|---|
12.1(6)EA2
|
This command was introduced. It replaced the
switchport priority command.
|
12.2(15)ZJ
|
This command was implemented on the following platforms: Cisco 2600 series, Cisco 3600 series, and Cisco 3700 series routers.
|
12.3(4)T
|
This command was integrated into Cisco IOS Release 12.3(4)T on the following platforms: Cisco 2600 series, Cisco 3600 series, and Cisco 3700 series routers.
|
Router(config)# interface gigabitethernet0/1
Router(config-if)# mls qos trust cos
Router(config-if)# mls qos cos 4
Router(config)# interface gigabitethernet0/1
Router(config-if)# mls qos cos 4
Router(config-if)# mls qos cos override
Command
|
Description
|
---|---|
mls qos map
|
Defines the CoS-to-DSCP map or the DSCP-to-CoS map.
|
mls qos trust
|
Configures the port trust state.
|
show interface fax/y switchport
|
Displays switch port interfaces.
|
show mls qos interface
|
Displays QoS information.
|
cos-dscp
dscp1...dscp8
|
Defines the CoS-to-DSCP map.
For
dscp1...dscp8, enter eight DSCP values that correspond to CoS values 0 to 7. Separate consecutive DSCP values from each other with a space.
The supported DSCP values are 0, 8, 10, 16, 18, 24, 26, 32, 34, 40, 46, 48, and 56.
|
dscp-cos
dscp-list
to
cos
|
Defines the DSCP-to-CoS map.
For
dscp-list, enter up to 13 DSCP values separated by spaces. Then enter the
to keyword. The supported DSCP values are 0, 8, 10, 16, 18, 24, 26, 32, 34, 40, 46, 48, and 56.
For
cos, enter the CoS value to which the DSCP value or values correspond. The CoS range is 0 to 7.
|
CoS Value
|
0
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
DSCP Value
|
0
|
8
|
16
|
26
|
32
|
46
|
48
|
56
|
DSCP Values
|
0
|
8, 10
|
16, 18
|
24, 26
|
32, 34
|
40, 46
|
48
|
56
|
CoS Value
|
0
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
Release
|
Modification
|
---|---|
12.1(6)EA2
|
This command was introduced.
|
12.2(15)ZJ
|
This command was implemented on the following platforms: Cisco 2600 series, Cisco 3600 series, and Cisco 3700 series routers.
|
12.3(4)T
|
This command was integrated into Cisco IOS Release 12.3(4)T on the following platforms: Cisco 2600 series, Cisco 3600 series, and Cisco 3700 series routers.
|
Router# configure terminal
Router(config)# mls qos map dscp-cos 16 18 24 26 to 1
Router(config)# mls qos map dscp-cos 0 8 10 to 0
Router# configure terminal
Router(config)# mls qos map cos-dscp 8 8 8 8 24 32 56 56
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 trust
|
Configures the port trust state.
|
show mls qos maps
|
Displays QoS mapping information.
|