Setup Guide

Conguration procedure for Remote Port Mirroring
To congure remote port mirroring, you must congure:
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 dierent source switches
3 A destination session that consists of multiple destination ports associated with the dedicated VLAN and located on dierent
destination switches
Conguring a RSPAN VLAN for RPM
Following are the steps for conguring a RSPAN VLAN for RPM.
You must repeat the below mentioned steps on source, intermediate, and destination switches.
1 Enter global conguration mode.
EXEC mode
configure terminal
2 Create a VLAN to transport mirrored trac in RPM.
CONFIGURATION mode
interface vlan vlan-id
3 Congure the RSPAN VLAN to be used to transport mirrored trac in RPM.
VLAN INTERFACE mode
mode remote-port-mirroring
4 Congure a tagged port to carry mirrored trac in the VLAN.
VLAN INTERFACE mode
tagged interface
You can repeat this command to congure additional tagged ports for the VLAN.
Conguring a source session
Following are the steps for conguring a source session on a switch.
You can congure the below steps on other source switches to congure additional source ports for this RPM session.
1 Congure a new RPM session and specifying type as rpm dened a RPM session.
CONFIGURATION mode
monitor session session-id type rpm
The session-id needs to be unique.
2 Congure the source ports or list of ports, ingress/egress trac to be monitored.
MONITOR SESSION mode
source {interface | range | any} destination remote—vlan vlan-id direction {rx | tx | both}
Port Monitoring
739