Enterasys Networks XSR CLI Router User Manual


 
Policy-Map Commands
12-98 Configuring Quality of Service
Mode
PolicyMapClassconfiguration:XSR(config-pmap-c-<xx>)#
Example
ThefollowingexampleconfigurespolicymapsetCosTo4thatmatchesinputpriorityvaluerange
from5to7andsetstheoutputVLANpriorityto4:
XSR(config)#policy-map setCosTo4
XSR(config-pmap<setCosTo4>)#class matchCos5To7
XSR(config-pmap-c<matchCos5to7>)#set cos 4
set ip dscp
ThiscommandmarksapacketbysettingtheIPDifferentiatedServicesCodePoint(DSCP)inthe
TypeofService(ToS)byte.OncetheIPDSCPbitisset,otherQoSservicescanthenoperateonthe
bitsettings.
Thenetworkgivespriority(orsometypeofexpeditedhandling)tomarked traffic.
Typically ,you
setIPprecedenceattheedgeofthenetwork(oradministrativedomain);datathenisqueued
basedontheprecedence.ClassBasedWeightedFairQueueing(CBWFQ)canspeeduphandling
forhighprecedencetrafficatcongestionpoints.
Syntax
set ip dscp ip-dscp-value
Note: You cannot mark a packet by the IP precedence with the set ip precedence command
and mark the same packet with an IP DSCP value by entering the set ip dscp command.
Note: Reserved keywords EF (Expedited Forwarding), AF11 (Assured Forwarding Class 11), and
AF12 (Assured Forwarding Class 12) can be specified instead of numeric values.
ip-dscp-value
Anumberfrom0to63thatsetstheIPDSCPvalue.Reservedkeywords
canbesetinsteadofnumericvaluesasfollows:
af11‐MatchpacketswithAF11DSCP(001010)
af12‐MatchpacketswithAF12DSCP(001100)
af13‐MatchpacketswithAF13DSCP(001110)
af21‐MatchpacketswithAF21DSCP(010010)
af22‐Match
packetswithAF22DSCP(010100)
af23‐MatchpacketswithAF23DSCP(010110)
af31‐MatchpacketswithAF31DSCP(011010)
af32‐MatchpacketswithAF32DSCP(011100)
af33‐MatchpacketswithAF33DSCP(011110)
af41‐MatchpacketswithAF41DSCP(100010)
af42‐MatchpacketswithAF42DSCP(100100)
af43‐MatchpacketswithAF43DSCP(001010)