Chapter 13
| Port Mirroring Commands
RSPAN Mirroring Commands
– 388 –
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) : Eth 1/12
Source Port (monitored Port) : Eth 1/ 1
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.
Configuration Guidelines
Take the following steps to configure an RSPAN session:
1.
Use the
command to specify the interfaces and the traffic type
(RX, TX or both) to be monitored.
Table 78: RSPAN Commands
Command
Function
Mode
Specifies the source port and traffic type to be
mirrored
GC
Specifies the destination port to monitor the
mirrored traffic
GC
Specifies the RSPAN VLAN, switch role (source,
intermediate or destination), and the uplink ports
GC
Deletes a configured RSPAN session
GC
Displays the configuration settings for an RSPAN
session
PE