278
<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:
QoS classification matching and marking operations 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)#exit
Switch(Config)#no policy-map p1
9.1.3.14 queue mode
Command: queue mode {strict|wrr}
Function:
Configure the queue out mode.
Parameter:
strict configure queue out method to strict priority-queue method; wrr
restores the default wrr queue out method.
Default:
wrr out queue mode
Command mode:
Interface Mode
Usage Guide:
When priority-queue queue out mode is used, packets are no longer sent
with WRR weighted algorithm, but send packets queue after queue.
Example:
Set the queue out mode to strict priority-queue.
Switch(Config-Ethernet )# queue mode strict.
9.1.3.15 service-policy
Command: service-policy {input <policy-map-name> | output <policy-map-name>}
no service-policy {input <policy-map-name>
| output
<policy-map-name>}
Function:
Applies a policy map to the specified port; the “
no service-policy {input
<policy-map-name> | output <policy-map-name>}
” command deletes the specified
policy map applied to the port.
Parameters:
input <policy-map-name>
applies the specified policy map to the ingress
of switch port;
output <policy-map-name>
applies the specified policy map to the
egress of switch port.
Default:
No policy map is bound to ports by default.
Command mode:
Interface Mode
Usage Guide:
Configuring port trust status and applying policy map on the port are two
conflicting operations; the later configuration will override the earlier configuration. Only
one policy map can be applied to each direction of each port. Egress policy map is not