Ethernet Switch CLI Reference Guide
191
C
H A P T E R
4 4
Mirror Commands
Use these commands to copy a traffic flow for one or more ports to a monitor port (the port
you copy the traffic to) so that you can examine the traffic on the monitor port without
interference.
Use the running configuration commands to look at the current mirror settings.
See
mirror-filter
commands are not supported on all Switch models.
44.1 Command Summary
The following section lists the commands for this feature.
Table 109
mirror Command Summary
COMMAND
DESCRIPTION
M
P
mirror-port
Enables port mirroring on the Switch.
C
13
mirror-port <
port-num
>
Specifies the monitor port (the port to which traffic flow is
copied) for port mirroring.
C
13
no mirror-port
Disables port mirroring on the Switch.
C
13
no mirror-port <
port-num
>
Removes the specified monitor port.
port-num
: in a modular switch, enter the port number
preceded by a slot number and backslash (/). For example, 3/
11 indicates port 11 on the card in the third slot.
C
13
interface port-channel <
port-
list
>
Enters config-interface mode for the specified port(s).
port-list
: in a modular switch, enter the port number
preceded by a slot number and backslash (/). For example, 3/
11 indicates port 11 on the card in the third slot. Use a comma
(,) to separate individual ports or a desh (-) to indicates a
range of ports. For example, “3/11,4/5” or “3/7-3/9”.
C
13
mirror
Enables port mirroring in the interface.
C
13