Chapter4ServiceConguration
ParameterDescription
<portlist>Portlist.
ingressIngressmirroringsourceport.
egressEgressmirroringsourceport.
Example
Thefollowingexampleaddstheegressmirroringsourceports1,5,6,7and12:
zte(cfg)#setmirroraddsource-port1,5-7,12egress
4.4.2setmirrorsessionadddest-port
Purpose
Thiscommandaddsingress/egressmirroringdestinationportsinaccordancewitha
sessionandenablestheRSPANfunctionforthemirroringports.
CommandMode
Globalcongurationmode
Syntax
setmirrorsession<1-3>adddest-port<1-28>{ingress|egress|rspan}
ParameterDescription
ParameterDescription
<1-3>Mirrorfunctionsessionnumber.Threesessionscanbesupported.
<1-28>Portnumber.Portrangesvarywithdifferentdevicemodels.
ingress
Ingressmirroringport.Inasession,theegressmirroringportand
ingressmirroringportcanbedifferentmirroringports.
egress
Egressmirroringport.Inasession,theegressmirroringportand
ingressmirroringportcanbedifferentmirroringports.
rspan
EnablestheRSPANfunctionforthemirroringports.Iftheingress
mirroringportandegressmirroringportaredifferentmirroring
ports,theRSPANfunctioncanbeenabledseparately.
Example
Thefollowingexamplesetstheingressmirroringport1:
zte(cfg)#setmirrorsession1adddest-port1ingress
4-73
SJ-20131111172707-003|2013-11-27(R1.0)ZTEProprietaryandCondential