Specifications

set port mirroring
6-34 Port Configuration
Defaults
None.
Mode
Switchcommand,readonly.
Example
Thisexampleshowshowtodisplayportmirroringinformation.Inthiscase,fe.1.4isconfiguredas
asourceportandfe.1.11isatargetandmirroringhasbeenenabledbetweentheseports:
D2(su)->show port mirroring
Port Mirroring
==============
Source Port =
fe.1.4
Target Port =
fe.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
None.
Mode
Switchcommand,readwrite.
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.
source Specifiesthesourceportdesignation.Thisistheportonwhichthetraffic
willbemonitored.Foradetaileddescriptionofpossibleportstringvalues,
refertoPortStringSyntaxUsedintheCLIon
page61.
destination Specifiesthetargetportdesignation.Thisistheportthatwillduplicateor
“mirrorallthetrafficonthemonitoredport.
Foradetaileddescriptionofpossibleportstringvalues,refertoPort
StringSyntaxUsedintheCLIonpage61.