OmniSwitch OS6860/OS6900/OS10K Troubleshooting Guide Part No.032996-00 Rev.A
AOS Release 7.X and 8.X January 2015
Alcatel-Lucent Page 144 of 148
To remove destination ports, remove the entire port-mirroring session:
# show configuration snapshot pmm
! Port Mirroring:
port-mirroring 2 destination 2/1/17
port-mirroring 2 source 1/1/19 inport disable
port-mirroring 2 disable
# port-mirroring 1 source 2/1/18-20 destination 2/1/14 enable
# port-mirroring 1 source 2/1/18-20 destination 2/1/14-15 enable
^
ERROR: Invalid entry: "2/1/14-15"
Explanation: The destination can only be one port.
# port-mirroring 1 source 2/1/18-20 destination 2/1/14 enable
ERROR: Session 1 is enabled. Cannot be modified.
# port-mirroring 2 disable
# port-mirroring 2 source 1/1/19 inport enable
# port-mirroring 2 enable
Guidelines:
• A port mirroring and a port monitoring session can be configured on the same network interface module in an
OmniSwitch OS10K, OS6900.
• A mirroring port can not be assigned to a tagged VLAN port.
• When a port is configured as a mirroring port, it’s state is changed so that it does not belong to a VLAN.
Inbound traffic to the mirroring port is dropped since it does not belong to a VLAN.
• Spanning tree is disabled by default on a mirroring port.
• Port mirroring is not supported on logical link aggregate ports. However, it is supported on individual ports
that are members of a link aggregate.
• Execute the port mirroring source destination command to define the mirrored port and enable port
mirroring status. Use the port mirroring command to enable the port mirroring session.
• Specify the vlan_id number of the mirroring port that is to remain unblocked when the command is
executed. The unblocked VLAN becomes the default VLAN for the mirroring port. This VLAN
handles the inbound traffic for the mirroring port. Spanning tree remains disabled on the unblocked
VLAN.
23.2. Troubleshooting port monitoring
Note: Specify the entire path beginning with /flash
# port-monitoring 3 source 1/1/14 file "King.cap"
ERROR: Specify absolute path and no subdir eg: /flash/pmon.enc
The switch only supports 1 port-monitoring session.
# port-monitoring 4 source 1/1/14 file "/flash/portmon.cap"
ERROR: Exceeds Max Number of Sessions
# show configuration snapshot pmm
! Port Mirroring:
port-monitoring 3 source 1/1/14 file /flash/portmon2.cap size 1 timeout 0 bidirectional
capture-type brief
port-mirroring 1 destination 2/1/14
port-mirroring 2 destination 2/1/17