Configuring Port Mirroring clear port mirroring
4-54 Port Configuration
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
clear port mirroring
Usethiscommandtoclearaportmirroringrelationship.
Syntax
clear port mirroring {igmp-mcast | source destination}
Parameters
Defaults
None.
Mode
Switchcommand,Read‐Write.
Example
Thisexampleshowshowtoclearportmirroringbetweensourceportfe.1.4andtargetportfe.1.11:
Matrix(rw)->clear port mirroring fe.1.4 fe.1.11
igmp‐mcast ClearsIGMPmulticastmirroring.
source Specifiesthesourceportofthemirroringconfigurationtobecleared.
Foradetaileddescriptionofpossibleport‐stringvalues,referto“Port
StringSyntaxUsedintheCLI”onpage 4‐2.
destination Specifiesthetargetportofthem irroringconfigurationtobecleared.