Port Mirroring
8-12 Port Configuration
Port Mirroring
The fixed switch device allows you to mirror (or redirect) the traffic being switched on a port for
the purposes of network traffic analysis and connection assurance. When port mirroring is
enabled, one port becomes a monitor port for another port within the device (the stack, if
applicable).
Mirroring Features
The fixed switch devices support the following mirroring features:
• Mirroring can be configured in a many-to-one configuration so that one target (destination)
port can monitor traffic on up to 8 source ports. Only one mirror destination port can be
configured per stack, if applicable.
Configure the time interval, in seconds, that ports
disabled by the transmit queue monitoring feature remain
disabled.
The default value is 0, meaning that disabled ports will
remain disabled until cleared manually or until their next
link state transition.
set txqmonitor downtime seconds
Set the minimum rate (in packets per second) of
transmitted packets in a sampling interval.
The default value is 1 packet per second.
set txqmonitor minrate rate
Set the transmit queue monitoring threshold levels for
triggering actions applied to a stalled port.
set txqmonitor threshold { [logging
| ignorepause | disableinterface]
value }
Restore all transmit queue monitoring options to their
default values.
clear txqmonitor { all | globalstate
| ignorepause [port-string] |
down [port-string] | threshhold |
downtime | minrate }
Display information about transmit queue monitoring. show txqmonitor [ downports |
downtime | globalstate | ignorepause
| minrate | operstatus | threshold ]
Display the flow control information for one or more ports. show txqmonitor flowcontrol [port-
string]
Display transmit queue monitoring information for one or
more ports.including:
• Status — whether the port is operating normally, or
ignoring received pause frames, or disabled due to
transmit queue monitoring corrective action
• Transmit queue sampling counts — the number of
consecutive samples showing stalled transmit
queues, and the total number of samples showing
stalled queues.
show txqmonitor port [port-string]
Table 8-4 Transmit Queue Monitoring Tasks
Task Command
Caution: Port mirroring configuration should be performed only by personnel who are
knowledgeable about the effects of port mirroring and its impact on network operation.