Chapter8QoSConguration
ConfiguringTrafficMirroring
CommandFunction
ZXR10(config)#traffic-mirrorin<acl-number>rule-id
<rule-no>{cpu|interface<interface-num>}
Thiscongurestrafcmirroring.
ExampleThisexampleshowsthemirrordatatrafcwhosesourceIPad-
dressis168.2.5.6ontheportgei_1/8totheportgei_1/4.
ZXR10(config)#aclstandardnumber10
ZXR10(config-std-acl)#rule1permit168.2.5.5
ZXR10(config-std-acl)#rule2permit168.2.5.6
ZXR10(config-std-acl)#exit
ZXR10(config)#traffic-mirrorin10rule-id2interfacegei_1/4
ZXR10(config)#interfacegei_1/8
ZXR10(config-gei_1/8)#ipaccess-group10in
ZXR10(config-gei_1/8)#exit
ConfiguringTail-Drop
CommandFunction
ZXR10(config)#qostail-drop<session-index>queue-id
<queue-id><all-threshold><yellow-threshold><
red-threshold>
Thisconguresthetail-drop
parameter .
Toenablethetail-dropfunctionontheport,usethefollowingcom-
mand.
drop-modetail-drop<session-id>
ExampleThisexampleshowsthecongurationoftail-drop.Inqueue1:
Redpacketstail-dropvalueis120.Yellowpacketstail-dropvalue
is120.allpacketstail-dropvalueis240.Thisisconguredonthe
portgei_1/8.
ZXR10(config)#qostail-drop1queue-id1240120120
ZXR10(config)#interfacegei_1/8
ZXR10(config-gei_1/8#drop-modetail-drop1
ConfiguringTrafficStatistics
CommandFunction
ZXR10(config)#traffic-statistics<acl-number>rrulle-iid
<rule-no>pkt-type{all|green|red|yellow}
statistics-type{byte|packet}
Thiscongurestrafcstatistics.
CondentialandProprietaryInformationofZTECORPORATION77