Port Monitor Commands
show ports monitor
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide 266
22
User Guidelines
This command enables traffic on one port to be copied to another port, or
between the source port (src-interface) and a destination port (port being
configured).
The following restrictions apply to ports configured as destination ports:
The port cannot be already configured as a source port.
The port cannot be a member in a port-channel.
An IP interface is not configured on the port.
GVRP is not enabled on the port.
The port is not a member of a VLAN, except for the default VLAN (will
automatically be removed from the default VLAN).
The following restrictions apply to ports configured to be source ports:
The port cannot be already configured as a destination port.
Maximum number of source ports can be up to eight.
Example
The following example copies traffic for both directions (Tx and Rx) on port e8
(source port) to port e1 (destination port).
Console(config)# interface ethernet e1
Console(config-if)# port monitor e8
show ports monitor
The show ports monitor Privileged EXEC mode command displays the port
monitoring status.
Syntax
show ports monitor