Enterasys Networks XSR CLI Router User Manual


 
Policy-Map Commands
12-84 Configuring Quality of Service
service-policy
Thiscommandattachesapolicymaptoanoutput orinputinterface.Youcanattachasingle
policymaptooneormoreinterfaces.
Syntax
service-policy [input | output] policy-map-name
Syntax of the “no” Form
Thenoformofthecommandremovesapolicymapfromtheinterface:
no service-policy [input | output]
Mode
Interfaceconfiguration:XSR(config-if<xx>)#
Example
ThefollowingexampleassociatespolicymapACMEpolicywithSerial1/0:
XSR(config)#interface serial 1/0
XSR(config-if<S1/0>)#service-policy output ACMEpolicy
Policy-Map Commands
policy-map
Thiscommandcreatesormodifiesapolicymapthatcanbe attachedtooneormoreinterfacesto
specifyaservicepolicy.Subcommandsassociatedwiththiscommandare:
bandwidth‐Specifiesthebandwidthallocatedforaclassbelonging toapolicymap.Goto
page1286forthecommanddefinition.
class‐Specifiesthecriteriaforclassifyingtraffic.Gotopage1287forthecommand
definition.
police‐Configurestrafficpolicing.Gotopage1289forthecommanddefinition.
priority‐Prioritizesaclassoftrafficbelongingtoapolicymap.Gotopage1290forthe
commanddefinition.
queue-limit‐Specifiesthepeaknumberofpacketsthequeuecanholdforaclasspolicy
configuredinapolicymap.Refertopage1291forthecommanddefinition.
random-detect(RED)‐EnablesRandomEarlyDetectonaninterface.Refertopage1292for
thecommanddefinition.
random-detect(WRED)‐EnablesWeightedRandomEarlyDetectonaninterface.Referto
page1293forthecommanddefinition.
random-detect dscp‐SpecifiestheDSCPvalue.Refertopage1293forthecommand
definition.
policy-map-name
Attachesthespecifiedpolicymapontotheoutputport.