(Revised 2011-07-21)
page 122 of 152
Mirroring related commands
Set Mirror config
Command Name
mirror set config
Description
To the mirroring feature of the switch, for specified ports.
Syntax
mirror set config
<dest-port> <src-ports>
Parameters
dest-port
Destination port is the snooper port onto which the selected
source ports traffic is to be mirrored.
The gigabit ports cannot be destination ports.
src-ports
List of ports to be monitored.
Examples
N-TRON/Admin#[1]> mirror set config 1 2-5
NOTES
A mirroring port is a dedicated port that is configured to receive the copies
of Ethernet frames that are being transmitted out and also being received in
from any other port that is being monitored.
Enable or Disable Port Mirroring
Command Name
mirror set <enable | disable>
Description
Enables or disables network monitoring or port mirroring. It treats source
port as the Ethernet port and the destination port as a monitoring port.
Syntax
mirror set enable
Parameters
None
Examples
N-TRON/Admin#[1]> mirror set enable
mirror enabled
N-TRON/Admin#[1]> mirror set disable
mirror disabled
NOTES
Show Mirror config
Command Name
mirror show
Description
To show all the mirror information.
Syntax
mirror show
Parameters
None
Examples
N-TRON/Admin#[1]> mirror show
-------------------------------------------
| DEST PORT | SOURCE PORTS | MIRROR STATE |
-------------------------------------------
| 5 | 2-4 | ENABLED |
-------------------------------------------
NOTES