ZXR102900SeriesUserManual
PortMirroringBasicConfiguration
Tomirrortheports,performthefollowingsteps.
CommandFunction
zte(cfg)#setmirroraddsource-port
<portlist>{ingress|egress}
Thisaddsanegressor
ingressmirroringport.
zte(cfg)#setmirrordeletesource-port
<portlist>{ingress|egress}
Thisdeletesanegress
oringressmirroring
port.
zte(cfg)#setmirroradddest-port
<portid>{ingress|egress}
Thissetsanegressor
ingressmonitoringport.
zte(cfg)#setmirrordeletedest-port
<portid>{ingress|egress}
Thisdeletesanegress
oringressmonitoring
port.
zte(cfg)#setmirrorstatistic{ingress|
egress}sample-interval<1-2047>
Thissetssamplemirror
statisticrate.
zte(cfg)#showmirrorThisdisplays
theconguration
informationofport
mirroring.
Example
zte(cfg)#showmirror
Ingressmirrorinformation:
---------------------------
Ingressstatisticalmirror:sample-interval1
Sourceport:none
Destinationport:none
Egressmirrorinformation:
---------------------------
Geport(subcard)egressstatisticalmirror:sample-interval1
Sourceport:none
Destinationport:none
PortMirroringConfigurationExample
Thisexampledescribeshowtocongureportmirroringonswitch
andport2canmonitorthepacketsonport1,asshowninFigure
40.
FIGURE40PORTMIRRORINGCONFIGURATIONEXAMPLE
Thecongurationofswitch:
74CondentialandProprietaryInformationofZTECORPORATION