Specifications
Configuring Port Mirroring set port mirroring
4-54 Port Configuration
set port mirroring
Usethiscommandtocreateanewmirroringrelationshiportoenableordisableanexisting
mirroringrelationshipbetweentwoports.
Syntax
set port mirroring{create| disable| enable}| igmp‐mcast{enable|disable}source
destination[both| rx| tx]
Parameters
Defaults
Ifnotspecified,bothreceivedandtransmittedframeswillbemirrored.
Mode
Switchcommand,Read‐Write.
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.
igmp‐mcastenable|
disable
EnablesordisablesthemirroringofIGMPmulticastframes.
source Specifiesthesourceportdesignation.Thisistheportonwhichthe
trafficwillbemonitored.Foradescriptionofporttypesthat
can
participateinmirroring,referto“SupportedMirrors”onpage 4‐52.For
adetaileddescriptionofpossibleport‐stringvalues,referto“PortString
SyntaxUsedintheCLI”onpage 4‐2.
destination Specifiesthetargetportdesignation.Thisisthe portthatwillduplicate
or“mirror”allthe
trafficonthemonitoredport.Foradescriptionof
possibledestinationportconfigurationssupportedontheMatrixSeries
device,referto“ActiveDestinationPortConfigurations”onpage 4‐52.
Foradetaileddescriptionofpossibleport‐stringvalues,referto“Port
StringSyntaxUsedintheCLI”onpage 4‐2.
both|rx|tx (Optional)Specifiesthatframesreceivedandtransmittedbythesource
port,onlyframesreceived,oronlyframestransmittedwillbemirrored.