Chapter10QoSConguration
ExampleThisexampledescribeshowtocollecttrafcstatisticsondatain
thenetworkwithdestinationIPaddress67.100.88.0/24onport
gei_4/8.
ZXR10(config)#aclextendnumber100
ZXR10(config-ext-acl)#rule1permitip168.2.5.50.0.0.0any
ZXR10(config-ext-acl)#rule2permitipany67.100.88.00.0.0.255
ZXR10(config-ext-acl)#exit
ZXR10(config)#traffic-statisticsin100rule-id2
ZXR10(config)#interfacegei_4/8
ZXR10(config-if)#ipaccess-group100in
ConfiguringQueue-BasedBandwidth
UpperandLowerThreshold
Step
CommandFunctions
1
ZXR10(config)#interface<interface-name>ThisaccessesL2conguration
interface.
2
ZXR10(config-if)#traffic-shape{queue
<queue-number>{[max-datarate-limit
<rate>]|[min-gua-datarate<rate>]}}
Thisconguresqueue-based
bandwidthupperandlower
threshold.
ConfiguringHQoS
ConfiguringTrafficClass
Toconguretrafcclass,performthefollowingsteps.
1.Tocreateatrafcclassorenteratrafcclass,usethefollowing
command.
CommandFunction
ZXR10(config)#flow-class<class-name>Thiscreatesatrafcclassor
entersatrafcclass
Todeleteatrafcclass,usenoflow-class<class-name>
command.Ifthetrafcclassisused,theclasscannotbe
deleted.
2.Tocongureamatchingrule,usethefollowingcommand.
CommandFunction
ZXR10(config-fclass)#match{(acl<acl-no>rule
<rule-no>)|tunnel<1-4096>|vlan<1-4094>|vip
<1-16384>}|phb{be|af1|af2|af3|af4|ef|cs6|
cs7}}
Thisconguresamatchingrule
intrafcclassconguration
mode
CondentialandProprietaryInformationofZTECORPORATION103