Clear policy-map – Enterasys Networks X-Pedition XSR CLI User Manual
Page 484

Policy-Map Commands
12-88 Configuring Quality of Service
Syntax of the “no” Form
The no form of this command removes a class from the policy map:
no class {class-name}
Mode
Policy‐Map configuration:
XSR(config-pmap<xx>)#
Next Mode
Policy‐Map Class configuration:
XSR(config-pmap-c<xx>)#
Example
This example creates class1 with a minimum of 20 percent in the event of congestion, and the
queue reserved for this class can enqueue 40 packets before tail drop is enacted to handle
additional packets.
XSR(config)#policy-map policy1
XSR(config-pmap-policy1>)#class class1
XSR(config-pmap-c<class1>)#bandwidth percent 20
XSR(config-pmap-c<class1>)#queue-limit 40
These commands create class2 with a minimum of 3000 kbps of bandwidth for this class in the
event of congestion. RED drops up to one out of three packets when the average queue size
becomes bigger than 34 and drops each packet if it becomes bigger than 57. RED packet drop is
used for congestion avoidance.
XSR(config-pmap<policy1>)#class class2
XSR(config-pmap-c<class2>)#bandwidth 3000
XSR(config-pmap-c<class2>)#random-detect 34 57 3
These commands configure the default map class where a maximum of 20 packets per queue are
enqueued before tail drop is enforced to handle additional packets.
XSR(config-pmap<policy1>)#class class-default
XSR(config-pmap-c<class-default>)#queue-limit 20
clear policy-map
This command removes Policy Map statistics for specified interfaces.
Syntax
clear policy-map interface type number
Mode
EXEC:
XSR>
or
XSR(config)#
type
XSR interface type: BRI, Dialer, Fast/GigabitEthernet, Loopback, Multilink, and
Serial.
number
Card, port, channel, and sub‐interface number.