Enterasys Networks XSR CLI Router User Manual


 
Policy-Map Commands
12-88 Configuring Quality of Service
Syntax of the “no” Form
Thenoformofthiscommandremovesaclassfromthepolicymap:
no class {class-name}
Mode
PolicyMapconfiguration:XSR(config-pmap<xx>)#
Next Mode
PolicyMapClassconfiguration:XSR(config-pmap-c<xx>)#
Example
Thisexamplecreatesclass1withaminimumof20percentintheeventofcongestion,andthe
queuereservedforthisclasscanenqueue40packetsbeforetaildropisenactedtohandle
additionalpackets.
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
Thesecommandscreateclass2withaminimumof3000kbpsofbandwidthforthisclassinthe
eventofcongestion.REDdropsuptooneoutofthreepacketswhentheaveragequeuesize
becomesbiggerthan34anddropseachpacketifitbecomesbiggerthan57.REDpacket
dropis
usedforcongestionavoidance.
XSR(config-pmap<policy1>)#class class2
XSR(config-pmap-c<class2>)#bandwidth 3000
XSR(config-pmap-c<class2>)#random-detect 34 57 3
Thesecommandsconfigurethedefaultmapclasswhereamaximumof20packetsperqueueare
enqueuedbeforetaildropisenforcedtohandleadditionalpackets.
XSR(config-pmap<policy1>)#class class-default
XSR(config-pmap-c<class-default>)#queue-limit 20
clear policy-map
ThiscommandremovesPolicyMapstatisticsforspecifiedinterfaces.
Syntax
clear policy-map interface type number
Mode
EXEC: XSR> or XSR(config)#
type
XSRinterfacetype:BRI,Dialer,Fast/GigabitEthernet,Loopback,Multilink,and
Serial.
number
Card,port,channel,andsubinterfacenumber.