System information
Publication date: Feb., 2012
Revision A1
- 105 -
CLIReferenceGuide
Copyright @ 2012 by Amer Networks
Chapter 28 PortMirroringCommandsofCLI
Mirroring
Youcanmirrortrafficfromanysourceporttoatargetportforreal‐time
analysis.YoucanthenattachalogicanalyzerorRMONprobetothetarget
portandstudythetrafficcrossingthesourceportinacompletely
unobtrusivemanner.
MirrorConfigurationistomon itorthetrafficof
thenetwork.Forexample,
weassumethatPortAandPortBareMonitoringPortandMonitored
Portrespectively,thus,thetrafficreceivedbyPortBwillbecopiedtoPort
Aformonitoring.
Table 27: Port Mirroring Commands
Command
Function
analyzer-port
Configure analyzer port
port-mode
Configure port mode
show
Show port mirroring information
analyzer‐port:
Thecommandletsyouconfigureanalyzerportonthe
switch.
Syntax:
analyzer-port disable
/
<port>
Parameter :
disable: Disable port mirroring
<port>: Analyzer port, available value is from 1 to switch physic port
density
EXAMPLE:
port‐mode: Thecommandletsyouconfigureportmodeonthe
switch.
Syntax:
port-mode <port-list>
disable/ enable
/
rx-only
/
tx-only
Parameter :
<port-list> available value is from switch physic port density, format:
1,3-5
Switch(mirror)# analyzer-port 1
Switch(mirror)# show
Analyzer Port: 1
Port Mode
---- --------
1 Disabled
2 Disabled