160
Switch(Config-PolicyMap-p1-Class-c1)#exit
Switch(Config-PolicyMap-p1)#exit
13.11 policy-map
Command: policy-map <policy-map-name>
no policy-map <policy-map-name>
Function: Creates a policy map and enters the policy map mode; the ―no policy-map
<policy-map-name>‖ command deletes the specified policy map.
Parameters: < policy-map-name> is the policy map name.
Default: No policy map is configured by default.
Command mode: Global Mode
Usage Guide: Relating policy classification can be done in the policy map configuration
mode.
Example: Creating and deleting a policy map named ―p1‖.
Switch(config)#policy-map p1
Switch(Config-PolicyMap-p1)#exit
Switch(config)#no policy-map p1
13.12 priority-queue out
Command: priority-queue out
no priority-queue out
Function: Configure the dequeue mode. The no operation of this command will reset it to
default value. At the same time, reset the weight of the output queue to default value.
Parameters: None
Default: Non priority-queue mode.
Command Mode: Global Mode.
Usage Guide: When adopting priority-queue as dequeue mode, the WRR weighting
algorithm will not be used to send messages. Instead, messages from the low-priority
queue can only be sent after those ones from the high-priority queue are all sent.
Examples:Set the dequeue mode of port as priority-queue mode.
Switch(config)#priority-queue out