Specifications

Configuring Port Mirroring set port mirroring
4-54 Port Configuration
set port mirroring
Usethiscommandtocreateanewmirroringrelationshiportoenableordisableanexisting
mirroringrelationshipbetweentwoports.
Syntax
set port mirroring{create| disable| enable}| igmpmcast{enable|disable}source
destination[both| rx| tx]
Parameters
Defaults
Ifnotspecified,bothreceivedandtransmittedframeswillbemirrored.
Mode
Switchcommand,ReadWrite.
Examples
Thisexampleshowshowtoenableportmirroringoftransmittedandreceivedframeswithfe.1.4
asthesourceportandfe.1.11asthetargetport:
Matrix(rw)->set port mirroring enable fe.1.4 fe.1.11 both
ThefollowingexamplecommandsequencecreatesaVLAN1andmirrorsallVLAN1traffic,both
inboundandoutbound:
Matrix(rw)->set vlan interface 1 create
Matrix(rw)->set port mirroring create vlan.0.1 fe.1.1 both
create|disable|
enable
Creates,disablesorenablesmirroringsettingsonthespecifiedports.
igmpmcastenable|
disable
EnablesordisablesthemirroringofIGMPmulticastframes.
source Specifiesthesourceportdesignation.Thisistheportonwhichthe
trafficwillbemonitored.Foradescriptionofporttypesthat
can
participateinmirroring,refertoSupportedMirrorsonpage 452.For
adetaileddescriptionofpossibleportstringvalues,refertoPortString
SyntaxUsedintheCLIonpage 42.
destination Specifiesthetargetportdesignation.Thisisthe portthatwillduplicate
or“mirrorallthe
trafficonthemonitoredport.Foradescriptionof
possibledestinationportconfigurationssupportedontheMatrixSeries
device,refertoActiveDestinationPortConfigurationsonpage 452.
Foradetaileddescriptionofpossibleportstringvalues,refertoPort
StringSyntaxUsedintheCLIonpage 42.
both|rx|tx (Optional)Specifiesthatframesreceivedandtransmittedbythesource
port,onlyframesreceived,oronlyframestransmittedwillbemirrored.