qos cos
To define the default CoS value of a port, use the qos cos command in the interface switch configuration mode. To restore the default configuration, use the no form of this command.
qos cos default-cos
no qos cos
Syntax Description
default-cos |
Specifies the default CoS value (VPT value) of the port. If the port is trusted and the packet is untagged, the default CoS value become the CoS value. Valid range is from 0 to 7. |
Command Default
The default CoS value of a port is 0.
Command Modes
Interface (Gigabit Ethernet, Port Channel) switch configuration (config-switch-if)
Command History
Release | Modification |
---|---|
3.5.1 |
This command was introduced. |
Usage Guidelines
Use the default CoS value to assign a CoS value to all the untagged packets entering the interface.
Examples
The following example defines the default CoS value of Gigabit Ethernet interface 1/1 as 3.
nfvis(config-switch)# interface gigabitEthernet 1/1
nfvis(config-switch-if)# qos cos 3
nfvis(config-switch-if)# commit
nfvis(config-switch-if)# end