ZXR105900ESeriesUserManual(EthernetSwitchingVolume)
FIGURE33IPFIXCONFIGURATIONEXAMPLE
ZXR10_R1(config)#ipstreamenable
ZXR10_R1(config)#interfacegei_2/12
ZXR10_R1(config-if)#netflow-sample-rateingressunicast1024
ZXR10_R1(config-if)#netflow-sample-rateegressunicast1024
ZXR10_R1(config)#ipstremexportdestination192.168.1.12055
ZXR10_R1(config)#ipstremexportdestination192.168.1.22055
ZXR10_R1(config)#ipstreamexportsource192.168.1.244
ZXR10_R1(config)#ipstreamexportversion9
ZXR10_R1(config)#ipstreamtopn10sort-bypackets
ZXR10_R1(config)#ipstreamtemplatetest
ZXR10_R1(config-stream-tempalte)#matchsrc-ip
ZXR10_R1(config-stream-tempalte)#matchdst-ip
ZXR10_R1(config-stream-tempalte)#matchsrc-port
ZXR10_R1(config-stream-tempalte)#matchdst-port
ZXR10_R1(config-stream-tempalte)#exit
ZXR10_R1(config)#ipstreamruntemplatetest
IPFIXMaintenanceand
Diagnosis
FortheconvenienceofIPFIXmaintenanceanddiagnosis,IPFIX
providesrelatedviewcommands.
1.ToshowIPFIX-relatedcongurations,executethefollowing
command:
showipstream-config
ThisincludeswhethertoenableIPFIXmodule,sizeofmem-
oryentries,serveraddress,portconguration,sourceaddress
conguration,templaterefreshrateandrefreshtimecongu-
ration.
2.ToshowTOPN,executethefollowingcommand:
showipstream-topn
ThisshowsinformationofNdataowsaccordingtosetTOPN
displaymode.Theinformationincludesdataowingress,
egress,sourceaddress,destinationaddress,sourceport,
destinationport,L3protocoltype,thenumberofpacketsor
thenumberofbytes(correspondingtoTOPNSsetting).
134CondentialandProprietaryInformationofZTECORPORATION