Diagnosing Switch Problems Port Mirroring
OmniSwitch AOS Release 7 Network Configuration Guide March 2011 page 26-21
Note. Port mirroring session parameters cannot be modified when a mirroring session is enabled. Before
you can modify parameters, the mirroring session must be disabled.
To disable a port mirroring session, enter the port-mirroring command, followed by the port mirroring
session ID number and the keyword disable. The following command disables port mirroring session 6
(turning port mirroring off):
-> port-mirroring 6 disable
Displaying Port Mirroring Status
To display port mirroring status, use the show port-mirroring status command. To display all port
mirroring sessions, enter:
-> show port-mirroring status 6
Session Mirror Mirror Unblocked Config Oper
Destination Direction Vlan Status Status
----------+----------+--------------+----------+----------+---------
1. 2/1 - NONE Enable On
----------+----------+--------------+----------+----------+---------
Mirror
Source
----------+----------+--------------+----------+----------+---------
1. 1/1 bidirectional - Enable On
1. 1/2 bidirectional - Enable On
1. 1/3 bidirectional - Enable On
1. 1/4 bidirectional - Enable On
1. 1/5 bidirectional - Enable On
Deleting A Mirroring Session
The no form of the port-mirroring command can be used to delete a previously created mirroring session
configuration between a mirrored port and a mirroring port.
To delete a mirroring session, enter the no port-mirroring command, followed by the port mirroring
session ID number. For example:
-> no port-mirroring 6
In this example, port mirroring session 6 is deleted.
Note. The port mirroring session identifier must always be specified.