set port mirroring
Enterasys B5 CLI Reference 7-41
Defaults
None.
Mode
Switchcommand,read‐only.
Example
Thisexampleshowshowtodisplayportmirroringinformation.Inthiscase,ge.1.4isconfigured
asasourceportandge.1.11isatargetandmirroringhasbeenenabledbetweentheseports:
B5(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
Portmirrorsareauto matically enabledwhencreatedonthisplatform.
Mode
Switchcommand,read‐write.
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.Upto8sourceportscanbespecified.Foradetailed
descriptionofpossibleport‐stringvalues,referto“PortStringSyntaxUsed
intheCLI”onpage7‐1.
destination Specifiesthetargetportdesignation.Thisistheportthatwillduplicateor
“mirror”allthetrafficonthemonitoredport.Onlyonedestinationport
canbeconfiguredperstack,if
applicable.
Foradetaileddescriptionofpossibleport‐stringvalues,referto“Port
StringSyntaxUsedintheCLI”onpage7‐1.