Configuring RSPAN Source Session
Command or Action
Step 2
configure terminal
Example:
Router# configure terminal
Step 3
monitor session RSPAN_source_session_number
type rspan-source
Example:
Router(config)#
type rspan-source
Step 4
source {single_interface slot/subslot/port|
single_vlan [rx | tx | both]
Example:
Router(config-mon-rspan-src)# monitor
session 1 source interface gigabitethernet
0/2/1 tx
Step 5
destination remote vlan rspan_vlan_ID
Example:
Router(config-mon-rspan-src)# destination
remote vlan2
Step 6
no shutdown
Example:
Router(config-mon-rspan-src)# no shutdown
Step 7
end
Example:
Router(config-mon-rspan-src)# end
Carrier Ethernet Configuration Guide (Cisco ASR 920 Series)
392
monitor session
1
Purpose
Enters global configuration mode.
Configures an RSPAN source session number and enters RSPAN
source session configuration mode for the session.
• RSPAN_source_session_number—Valid sessions are 1 to 14.
• rspan-source—Enters the RSPAN source-session configuration
mode.
Specifies the RSPAN session number, the source interfaces and the
traffic direction to be monitored.
• single_interface—Specifies the Gigabit Ethernet or Ten Gigabit
Ethernet interface.
◦slot/subslot/port—The location of the interface.
• single_vlan—Specifies the single VLAN.
• both—(Optional) Monitors the received and the transmitted
traffic.
• rx—(Optional) Monitors the received traffic only.
• tx—(Optional) Monitors the transmitted traffic only.
Associates the RSPAN source session number session number with
the RSPAN VLAN.
• rspan_vlan_ID—Specifies the Vlan ID.
Note
rspan_vlan_ID is the RSPAN BD that is configured
under the EFP or port which carries the RSPANd
traffic.
Restarts the interface.
Exists the configuration.
Configuring Switched Port Analyzer