User`s guide

Ethernet Switch CLI Reference Guide
147
CHAPTER 38
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 Chapter 54 on page 195.
" mirror-filter commands are not supported on all Switch models.
38.1 Command Summary
The following section lists the commands for this feature.
Table 87 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.
C13
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.
C13
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”.
C13
mirror Enables port mirroring in the interface. C 13