set diffserv class rename
9-8 Differentiated Services Configuration
Youcannotcreateandaddaclasstoapolicybeforeaddinganyrules(matchconditions)tothe
class.Onceaclassisaddedtoapolicy,youcannotaddanymorerules(matchconditions)tothe
class.Youcannotcreateoutboundpolicies.
Youcanonlyaddrulesthatfitinto
thesamecategory(showninthegroupingsabove)toaclass.
Forexample,ifyoucreateaclassandaddthematchconditionsdstipanddstl4port,youwillonly
beabletoaddotherrulesfromtheL3group.
Classmatchesoflayer4destinationorsourcemustbesequenced
beforethecorresponding
protocolmatch,asillustratedinthethirdexamplebelow.
Youcanonlyaddclassesofthesamecategorytoapolicy.
Examples
Thisexampleshowshowtomatchthe“admin”classtosourceIPaddress130.10.0.32andonly
thatIPaddresstype:
B3(rw)->set diffserv class match srcip admin 130.10.0.32 255.255.255.255
Thisexampleshowshowtomatchthe“admin”classtoVLAN10:
B3(rw)->set diffserv class match vlan admin 10
ThisexampleshowshowtomatchtheʺhttpʺclasstoTCPpacketswithades tinationportof80
(HTTP).Thelayer4portmatchmustprecedetheprotocoltype.
B3(rw)->set diffserv class match dstl4port keyword http http
B3(rw)->set diffserv class match protocol keyword http tcp
set diffserv class rename
UsethiscommandtochangethenameofaDiffservclass.
Syntax
set diffserv class rename classname newclassname
Parameters
Defaults
None.
Mode
Switchcommand,Read‐Write.
Example
ThisexampleshowshowtorenametheDiffserv“admin”classto“system”:
B3(rw)->set diffserv class rename admin system
Note: The match type every will work with any group.
classname SpecifiestheclassnamepreviouslysetforthisnewDiffservclass.
newclassname Specifiesanewclassname.