Chapter8QoSConguration
ZXR10(config-ext-acl)#exit
/*ToguaranteetheservicequalityoftheVOD,changethe
802.1pvalueto7*/
ZXR10(config)#priority-markin100rule-id1dscp62
cos7local-precedence7drop-precedencelow
/*RestrictthebandwidthofNetworkAtoaccessInternet*/
ZXR10(config)#traffic-limitin100rule-id2cir5000
cbs2000ebs3000modeblind
/*SumuptrafficofNetworkA*/
ZXR10(config)#traffic-statisticsin100rule-id2
pkt-typeallstatistics-typebyte
ZXR10(config)#aclextendnumber101
ZXR10(config-ext-acl)#rule1permittcp
192.168.2.00.0.0.255192.168.4.700.0.0.0
ZXR10(config-ext-acl)#rule2permitipany
192.168.3.1000.0.0.0
ZXR10(config-ext-acl)#rule3permitipanyany
ZXR10(config-ext-acl)#exit
/*ToguaranteethesevicequalityoftheVOD,cangethe
802.1pvalueto7*/
ZXR10(config)#priority-markin101rule-id1dscp62
cos7drop-precedencelow
/*RestrictthebandwidthofNetworkBtoaccessInternet*/
ZXR10(config)#traffic-limitin101rule-id2cir10000
cbs2000ebs3000modeblind
/*SumuptrafficofNetworkB*/
ZXR10(config)#traffic-statisticsin101rule-id2
ZXR10(config)#interfacegei_1/1
ZXR10(config-gei_1/1)#ipaccess-group100in
ZXR10(config-gei_1/1)#exit
ZXR10(config)#interfacegei_1/2
ZXR10(config-gei_1/2)#ipaccess-group101in
PolicyRoutingConfiguration
Example
WhentherearemanyInternetServiceProvider(ISP)egresseson
thenetwork,selectdifferentISPegressesforusersfromdiffer-
entgroupsthroughpolicyroutingorselectdifferentISPegresses
basedonservicetypes.
AsshowninFigure21,Usersonbothsub-networksareconnected
totheswitchandtherearetwoavailableISPegresses.Itis
requiredtoselectdifferentegressesbasedonIPaddressesof
usersasfollows:Usersonthesub-network10.10.0.0/24usethe
ISP1egress.Usersonthesub-network11.11.0.0/24usethe
ISP2egress.
CondentialandProprietaryInformationofZTECORPORATION79