Enterasys Networks XSR CLI Router User Manual


 
Policy-Map Commands
XSR CLI Reference Guide 12-89
police
Thiscommandconfigurestrafficpolicing.
Syntax
police bps [burst-normal][burst-max][conform-action action][exceed-action
action][violate-action action]
Syntax of the “no” Form
Trafficpolicingisremovedbyusingthenoformofthiscommand:
no police
Defaults
burstnormal:averageratemultipliedbyonesecond)
conformaction:transmit
exceedaction:drop
violateaction:drop
Commandisdisabledbydefault
Mode
PolicyMapClassconfiguration:XSR(config-pmap-c-<xx>)#
bps
Averageraterangingfrom1,000to100,000,000bps.
burst-normal
Normalburstsizerangingfrom1,000to51,200,000bps.Iflessthan10 00
bytesburstnormalwillbesetto1000bytes.
burst-max
Excessburstsizerangingfrom1,000to51,2000,000bytes.Valuemustbe
greaterthanorequaltonormalburstsize.Itwillautomaticallybechangedto
thenormalburstsizeiflessthannormalburst.
conform-action
Actiontotakeonpacketsthatconformtotheratelimit.
exceed-action
Actiontotakeonpacketsthatexceedtheratelimit.
violate-action
Actiontotakeonpacketsthatviolatenormalandmaximumburstsizes.If
violateactionisset,thetokenbucketalgorithmwillusetwotokenbuckets.
action
Actiontotakeonpackets.Youmayspecifyonekeyword:
drop‐Dropsthepacket.
set-prec-transmit new-prec‐SetsIPprecedenceandsendsthe
packet.
set-dscp-transmit new-prec‐Setsthedifferentiatedservicescode
point(DSCP)valueandsendsthepacket.
transmit‐Sendsthepacket.