Switch User Manual

set port mirroring
SecureStack C3 Configuration Guide 7-39
Mode
Switchcommand,readonly.
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,readwrite.
Usage
NotethatLAGportsandtheirunderlyingphysicalports,asdescribedinLinkAggregation
ControlProtocol(LACP)onpage742,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.Foradetaileddescriptionofpossibleportstringvalues,
referto
PortStringSyntaxUsedintheCLIonpage71.
destination Specifiesthetargetportdesignat ion. Thisistheportthatwillduplicateor
“mirrorallthetrafficonthemonitoredport.Onlyonedestinationport
canbeconfiguredperstack,ifapplicable.
Foradetaileddescriptionofpossibleport
stringvalues,refertoPort
StringSyntaxUsedintheCLIonpage71.