Switch User Manual
set port mirroring
SecureStack C3 Configuration Guide 7-39
Mode
Switchcommand,read‐only.
Example
Thisexampleshowshowtodisplayportmirroringinformation.Inthiscase,ge.1.4isconfigured
asasourceportandge.1.11isatargetandmirroringhasbeenenabledbetweentheseports:
C3(su)->show port mirroring
Port Mirroring
==============
Source Port =
ge.1.4
Target Port = ge.1.11
Frames Mirrored = Rx and Tx
Port Mirroring status enabled.
set port mirroring
Usethiscommandtocreateanewmirroringrelationshiportoenableordisableanexisting
mirroringrelationshipbetweentwoports.
Syntax
set port mirroring {create | disable | enable} source destination}
Parameters
Defaults
Portmirrorsareautomaticallyenabledwhencreatedonthisplatform.
Mode
Switchcommand,read‐write.
Usage
NotethatLAGportsandtheirunderlyingphysicalports,asdescribedin“LinkAggregation
ControlProtocol(LACP)”onpage7‐42,cannotbemirrored.
Notes: When a port mirror is created, the mirror destination port is removed from VLAN 1’s egress
list after a reboot.
"MAC addresses will be learned for packets tagged with the mirror VLAN ID. This will prevent the
ability to snoop traffic across multiple hops.
create|disable|
enable
Creates,disablesorenablesmirroringsettingsonthespecifiedports.By
default,portmirrorsareenabledautomaticallywhencreated.
source Specifiesthesourceportdesignation.Thisistheportonwhichthetraffic
willbemonitored.Foradetaileddescriptionofpossibleport‐stringvalues,
referto
“PortStringSyntaxUsedintheCLI”onpage7‐1.
destination Specifiesthetargetportdesignat ion. Thisistheportthatwillduplicateor
“mirror”allthetrafficonthemonitoredport.Onlyonedestinationport
canbeconfiguredperstack,ifapplicable.
Foradetaileddescriptionofpossibleport‐
stringvalues,referto“Port
StringSyntaxUsedintheCLI”onpage7‐1.