User's Manual

355
conduct the configuration of a global CoS priority queue.
Enter the privilege mode and run the following commands to set the default CoS value of a port:
Command Purpose
config
Enters the global configuration mode.
interface g0/1
Enters the to-be-configured port.
[
no
]
cos map
quid cos1..cosn Sets the CoS priority queue.
quid
stands for the ID of a CoS priority queue.
cos1…cosn
stands for the IEEE802.1p-
defined CoS value.
exit
Goes back to the global configuration mode.
exit
Goes back to the EXEC mode.
46.3.8 Setting Cos Priority Queue Based on dscp
The command is used to remap cos queue based on dscp value, modify dscp and the congestion bit.
Enters the privileged mode and configures CoS of the port.
Command Purpose
config
Enters the global configuration mode.
[
no
]
dscp map
word {
dscp
dscp-value |
cos
cos-value |
cng
cng-bit }
Word configures dscp range table.
Dscp-value Configures re-mapped dscp value.
Cos-value Configures priority cos of mapping.
Cog-bit Configures congestion bit of mapping.
exit
Exit from the global configuration mode.
exit
Exit from the management configuration mode.
46.3.9 Setting QoS Policy Mapping
QoS policy mapping refers to use a certain rule (based on MAC layer or IP header information) to identify
packets with certain characteristics and adopt a certain action.
Do as follows to set a QoS policy.
Enters the privileged mode and configures CoS policy mapping.
Command Purpose
config
Enters the global configuration mode.
[no]policy-map
name
Enters QoS policy table configuration mode.
name The name of policy
exit
Exit from the global configuration mode.
exit
Exit from the management mode.