Users Guide

Table Of Contents
Configuration procedure for Remote Port Mirroring
To configure remote port mirroring, you must configure:
1. A reserved VLAN used to transport mirrored packets on source, intermediate, and destination switches
2. A source session that consists of multiple source ports, port channels, and VLANs which are associated with the dedicated
VLAN and located on different source switches
3. A destination session that consists of multiple destination ports associated with the dedicated VLAN and located on different
destination switches
Configuring a RSPAN VLAN for RPM
Following are the steps for configuring a RSPAN VLAN for RPM.
You must repeat the below mentioned steps on source, intermediate, and destination switches.
1. Enter global configuration mode.
EXEC mode
configure terminal
2. Create a VLAN to transport mirrored traffic in RPM.
CONFIGURATION mode
interface vlan vlan-id
3. Configure the RSPAN VLAN to be used to transport mirrored traffic in RPM.
VLAN INTERFACE mode
mode remote-port-mirroring
4. Configure a tagged port to carry mirrored traffic in the VLAN.
VLAN INTERFACE mode
tagged interface
You can repeat this command to configure additional tagged ports for the VLAN.
Configuring a source session
Following are the steps for configuring a source session on a switch.
You can configure the below steps on other source switches to configure additional source ports for this RPM session.
1. Configure a new RPM session and specifying type as rpm defined a RPM session.
CONFIGURATION mode
monitor session session-id type rpm
The session-id needs to be unique.
2. Configure the source ports or list of ports, ingress/egress traffic to be monitored.
MONITOR SESSION mode
source {interface | range | any} destination remotevlan vlan-id direction {rx | tx |
both}
3. Activate a RPM session. no disable command is mandatory in order for a RPM session to be active.
MONITOR SESSION mode
no disable
4. (Optional) Enable flow-based monitoring on a flow by flow basis and also for VLAN as source.
MONITOR SESSION mode
flow-based enable
Port Monitoring
707