CLI Reference Guide-R04

Table Of Contents
Chapter 13
| Port Mirroring Commands
RSPAN Mirroring Commands
– 461 –
show port monitor This command displays mirror information.
Syntax
show port monitor [interface]
interface - ethernet unit/port (source port)
unit - Unit identifier. (Range: 1)
port - Port number. (Range: 1-28)
Default Setting
Shows all sessions.
Command Mode
Privileged Exec
Command Usage
This command displays the currently configured source port, destination port, and
mirror mode (i.e., RX, TX, RX/TX).
Example
The following shows mirroring configured from port 6 to port 5:
Console(config)#interface ethernet 1/5
Console(config-if)#port monitor ethernet 1/6
Console(config-if)#end
Console#show port monitor
Port Mirroring
-------------------------------------
Destination Port (listen port):Eth1/5
Source Port (monitored port) :Eth1/6
Mode :RX/TX
Console#
RSPAN Mirroring Commands
Remote Switched Port Analyzer (RSPAN) allows you to mirror traffic from remote
switches for analysis on a local destination port.
Table 84: RSPAN Commands
Command Function Mode
vlan rspan Creates a VLAN dedicated to carrying RSPAN traffic VC
rspan source Specifies the source port and traffic type to be
mirrored
GC
rspan destination Specifies the destination port to monitor the
mirrored traffic
GC