Policy-Map Commands
XSR CLI Reference Guide 12-99
Syntax of the “no” Form
ThenoformofthiscommandremovesapreviouslysetIPDSCP:
no set ip dscp
Mode
PolicyMapClassconfiguration:XSR(config-pmap-c-xx)#
Example
Inthefollowingexample,theIPDSCPTOSbyteissetto8forclass1andcs2forclass2inpolicy57:
XSR(config)#policy-map policy57
XSR(config-pmap<policy57>)#class class1
XSR(config-pmap-c<class1>)#set ip dscp 8
XSR(config-pmap<policy57>)#class class2
XSR(config-pmap-c<class1>)#set ip dscp cs2

set ip precedence

ThiscommandsetstheprecedencevalueintheIPheader.Thenetworkgivespriority(orsome
typeofexpeditedhandling)tomarkedtrafficthroughtheapplicationofCBWFQorREDatpoints
downstreaminthenetwork.Typically,yousetIPPrecedenceattheedgeofthenetwork(or
administrativedomain);datathenisqueuedbasedontheprecedence.CBWFQcanspeedup
handlingforcertainprecedencetrafficatcongestionpoints.
Syntax
set ip precedence ip-precedence-value
Syntax of the “no” Form
Thenoformleavestheprecedencevalueatitscurrentsetting:
no set ip precedence
cs1‐MatchpacketswithCS1DSCP(001000)
cs2‐MatchpacketswithCS2DSCP(010000)
cs3‐MatchpacketswithCS3DSCP(011000)
cs4‐MatchpacketswithCS4DSCP(100000)
cs5‐MatchpacketswithCS5DSCP(101000)
cs6‐MatchpacketswithCS6DSCP(110000)
cs7‐MatchpacketswithCS7DSCP(111000)
default‐MatchpacketswithdefaultDSCP(000000)
ef‐MatchpacketswithExpeditedForwarding(EF)DSCP(101110)
ip-precedence-value Numberfrom0to7thatsetstheprecedencebitintheIPheader.