Chapter4ServiceConīæguration
CommandFunction
zte(cfg)#setsflowcollector-address<A.B.C.D>[udp-port<1-65535>]
SetstheIPaddressofansFlow
collector.
zte(cfg)#setsflowversion<number>
SetstheformatversionofsFlow
samplingpackets.
zte(cfg)#setsflow{ingress|egress}{enable|disable}
EnablesordisablesthesFlowfunction
onaningressoranegress.
zte(cfg)#setsflow{ingress|egress}reload-mode{continue|cpu}
SetsthereloadingmodeonansFlow
ingressoregress.
zte(cfg)#setsflowingresssample-mode{all|forward}
SetsthesamplingmodeonansFlow
ingressoregress.
zte(cfg)#setsflow{ingress|egress}port<portlist>packet-sampleoffDisablesport-basedsFlowsampling.
zte(cfg)#setsflow{ingress|egress}port<portlist>packet-sampleon
frequency<2-16000000>[time-range<word>]
Enablesport-basedsFlowsamplingor
associateswithatimerange.
zte(cfg)#clearsflowconfig[{agent|collector}]ClearssFlowconīægurationonports.
zte(cfg)#clearsflowstatisticClearsstatisticsinformationonports.
showsflow(allconīægurationmodes)DisplaysallsFlowconīæguration.
4.34PPConīguration
PPOverview
ProtocolProtect(PP)maintainsandmonitorstherateofpacketsforwardedtotheCPU,
thuspreventingvirusesorspitefulattackstotheswitch.Inthisway,theswitchprovides
self-protectionabilityandensuresnetworksecurity.
PPtakesthefollowingmeasures:limitingtheratesofrelatedservices,īælteringunsuitable
packets,sendingalarmswhentherearepacketssentatanabnormalrate,andreminding
NMSthattheremaybepacketsattackingtheCPU.
Toenhanceīexibilityandcompatibilityoftheswitch,PPprovidesthefunctionofconīæguring
priorityusersfortheprotocolpacketssentbytheswitch.
ConīguringPP
ThePPconīægurationincludesthefollowingcommands:
CommandFunction
zte(cfg)#createprotocol-protectmac-droprule<1-128>src-mac
<HH.HH.HH.HH.HH.HH>mask<HH.HH.HH.HH.HH.HH>
Createamacdroprule.
4-123
SJ-20120409144109-002|2012-07-02(R1.0)ZTEProprietaryandConīædential