User's Manual
354
,
46.3.5 Configuring the Minimum and Maximum Bandwidths of CoS
Priority Queue
The minimum and maximum bandwidths of CoS priority queue can be modified through configuration. All the
flows with a bandwidth less than the configured minimum bandwidth shall not be dropped, but the flows with a
bandwidth bigger than the configured maximum bandwidth shall all be dropped.
Enter the privileged mode.
Command Purpose
config
Enters the global configuration mode.
interface g0/1
Enters the to-be-configured port.
[
no
]
cos bandwidth
quid min-bandwidth max-
bandwidth
quid
stands for the priority queue.
min-bandwidth
means the minimum
bandwidth.
max-bandwidth
means the maximum
bandwidth.
exit
Goes back to the global configuration mode.
exit
Goes back to the EXEC mode.
write
Saves the settings.
46.3.6 Setting the Default CoS Value of a Port
If the port of a switch receives a data frame without tag, the switch will add a default CoS priority to it. Setting
the default CoS value of a port is to set the untagged default CoS value, which is received by the port, to a
designated value.
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 default
cos Sets the CoS value of the received untagged
frames.
cos
stands for the corresponding CoS value.
exit
Goes back to the global configuration mode.
exit
Goes back to the EXEC mode.
write
Saves the settings.
46.3.7 Setting the CoS Priority Queue of a Port
When a priority queue is set on a L2 port, the priority queue will be used by the L2 port; otherwise, you should