Configuring RSPAN
Command
Step 7
Switch(config)# monitor session
session_number destination remote vlan
vlan-ID
Step 8
Switch(config)# end
Step 9
Switch# show monitor [session
session_number]
Step 10
Switch# copy running-config
startup-config
This example shows how to clear any existing RSPAN configuration for session 1, configure RSPAN
session 1 to monitor multiple source interfaces, and configure the destination RSPAN VLAN.
Switch# configure terminal
Enter configuration commands, one per line.
Switch(config)# no monitor session 1
Switch(config)# monitor session 1 source interface fastEthernet3/10 tx
Switch(config)# monitor session 1 source interface fastEthernet3/2 rx
Switch(config)# monitor session 1 source interface fastEthernet3/3 rx
Switch(config)# monitor session 1 source interface port-channel 102 rx
Switch(config)# monitor session 1 destination remote vlan 901
Switch(config)# end
Creating an RSPAN Destination Session
To create an RSPAN destination session and to specify the source RSPAN VLAN and the destination
port, perform this task:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# monitor session
session_number source remote vlan
vlan-ID
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
58-18
Purpose
Specifies the RSPAN session and the destination remote VLAN.
For session_number, specifies the session number identified with this
RSPAN session (1 through 6).
For vlan-ID, specifies the RSPAN VLAN to carry the monitored
traffic to the destination port.
Returns to privileged EXEC mode.
Verifies your entries.
(Optional) Saves your entries in the configuration file.
End with CNTL/Z.
Purpose
Enters global configuration mode.
Specifies the RSPAN session and the source RSPAN VLAN.
For session_number, specifies the session number identified with this
RSPAN session (1 through 6).
For vlan-ID, specifies the source RSPAN VLAN to monitor.
Chapter 58
Configuring SPAN and RSPAN
OL_28731-01