Reference Guide

Use the default VLAN and native VLANs as a source VLAN.
You cannot congure the dedicated VLAN used to transport mirrored trac as a source VLAN.
Restrictions
When you use a source VLAN, enable ow-based monitoring (flow-based enable).
In a source VLAN, only received (rx) trac is monitored.
You cannot congure a source port-channel or source VLAN in a source session if the port-channel or VLAN has a member port
congured as a destination port in a remote port mirroring session.
You cannot use a destination port for remote port mirroring as a source port, including the session the port functions as the destination
port.
The reserved VLAN used to transport mirrored trac must be a L2 VLAN — L3 VLANs are not supported.
Congure remote port mirroring
Remote port mirroring requires a source session (monitored ports on dierent source network devices), a reserved tagged VLAN for
transporting mirrored trac (congured on the source, intermediate, and destination devices), and a destination session (destination ports
connected to analyzers on destination devices).
1 View all monitoring sessions in EXEC mode.
show monitor session all
2 Enter CONFIGURATION mode.
configure terminal
3 Create a remote monitoring session in CONFIGURATION mode.
monitor session session-id type rspan-source
4 Enter the source to monitor trac in MONITOR-SESSION mode.
source interface interface-range direction
5 Enter the destination to send the trac to in MONITOR-SESSION mode.
destination remote-interface interface-id
6 Enable the monitoring interface in MONITOR-SESSION mode.
shut
7 Save the conguration.
do commit
View congured port monitoring sessions
OS10# show monitor session all
S.Id Source Destination Dir SrcIP DstIP DSCP TTL State Reason
-----------------------------------------------------------------------
1 ethernet1/1/9 port-channel10 rx N/A N/A N/A N/A true Is UP
Create remote monitoring session
OS10(config)# monitor session 10 type rspan-source
OS10(conf-mon-rspan-source-10)#
Congure ports, trac direction, and view session
OS10(conf-mon-rspan-source-10)# source interface vlan 10 rx
OS10(conf-mon-rspan-source-10)# destination remote-vlan 100
OS10(conf-mon-rspan-source-10)# shutdown
OS10(conf-mon-rspan-source-10)# do commit
OS10(conf-mon-rspan-source-10)# do show monitor session all
S.Id Source Destination Dir SrcIP DstIP DSCP TTL State Reason
Layer 2
189