Port Mirroring
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
mirroring sessions, enter:
-> show port-mirroring status 6
Session
Mirror
Destination
----------+----------+--------------+----------+----------+---------
1.
2/1
----------+----------+--------------+----------+----------+---------
Mirror
Source
----------+----------+--------------+----------+----------+---------
1.
1/1
1.
1/2
1.
1/3
1.
1/4
1.
1/5
Deleting A Mirroring Session
The no form of the
port-mirroring
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.
page 32-22
show port-mirroring status
Mirror
Unblocked
Direction
Vlan
-
NONE
bidirectional
-
bidirectional
-
bidirectional
-
bidirectional
-
bidirectional
-
command can be used to delete a previously created mirroring session
OmniSwitch AOS Release 7 Network Configuration Guide
Diagnosing Switch Problems
command. To display all port
Config
Oper
Status
Status
Enable
On
Enable
On
Enable
On
Enable
On
Enable
On
Enable
On
June 2013