Chapter 34
Configuring Local SPAN and RSPAN
Configuring RSPAN VLANs
To configure a VLAN as an RSPAN VLAN, perform this task:
Command
Step 1
Router(config)# vlan
vlan_ID{[-vlan_ID]|[,vlan_ID])
Step 2
Router(config-vlan)# remote-span
Router(config-vlan)# no remote-span
Step 3
Router(config-vlan)# end
Configuring Local or RSPAN Sources
Note
To configure an RSPAN source session, configure a source with an RSPAN VLAN as the destination. To
configure an RSPAN destination session, configure an RSPAN VLAN as the source and a port as the
destination.
To configure a local SPAN or RSPAN source, perform this task:
Command
Router(config)# monitor session session_number source
{{single_interface | interface_list | interface_range
| mixed_interface_list | single_vlan | vlan_list |
vlan_range | mixed_vlan_list} [rx | tx | both]} |
{remote vlan rspan_vlan_ID}}
Router(config)# no monitor session {session_number |
all | local |
range session_range[[,session_range],...] | remote}
When configuring monitor sessions, note the following syntax information:
•
•
•
•
•
•
78-14099-04
single_interface is interface type slot/port; type is ethernet, fastethernet, gigabitethernet, or
tengigabitethernet.
interface_list is single_interface , single_interface , single_interface ...
In lists, you must enter a space before and after the comma. In ranges, you must enter a space
Note
before and after the dash.
interface_range is interface type slot/first_port - last_port
mixed_interface_list is, in any order, single_interface , interface_range , ...
single_vlan is a the ID number of a single VLAN.
vlan_list is single_vlan , single_vlan , single_vlan ...
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
Purpose
Creates or modifies an Ethernet VLAN, a range of
Ethernet VLANs, or several Ethernet VLANs specified in
a comma-separated list (do not enter space characters).
Configures the VLAN as an RSPAN VLAN.
Clears the RSPAN VLAN configuration.
Updates the VLAN database and returns to privileged
EXEC mode.
Purpose
Configures the session number, the source ports, VLANs, or
RSPAN VLAN, and the traffic direction to be monitored.
Clears the monitor configuration.
Configuring Local SPAN and RSPAN
34-9