Chapter 52
Configuring Local SPAN, RSPAN, and ERSPAN
Configuring RSPAN Source Sessions
To configure an RSPAN source session, perform this task:
Command
Step 1
Router# configure terminal
Step 2
Router(config)# monitor session
RSPAN_source_session_number source
{{ single_interface | interface_list |
interface_range | mixed_interface_list | single_vlan
| vlan_list | vlan_range | mixed_vlan_list } [rx | tx
| both]}}
Step 3
Router(config)# monitor session
RSPAN_source_session_number destination remote vlan
rspan_vlan_ID
Step 4
Router(config)# no monitor session { session_number |
all | range session_range [[, session_range ],...] |
remote}
When configuring monitor sessions, note the following information:
•
•
•
•
•
•
•
•
•
•
When clearing monitor sessions, note the following information:
•
•
OL-4266-08
To configure RSPAN VLANs, see the
RSPAN_source_span_session_number can range from 1 to 66.
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 the ID number of a single VLAN.
vlan_list is single_vlan , single_vlan , single_vlan ...
vlan_range is first_vlan_ID - last_vlan_ID.
mixed_vlan_list is, in any order, single_vlan , vlan_range , ...
The no monitor session number command entered with no other parameters clears
session session_number.
session_range is first_session_number-last_session_number.
In the no monitor session range command, do not enter spaces before or after the dash. If
Note
you enter multiple ranges, do not enter spaces before or after the commas.
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
Configuring Local SPAN, RSPAN, and ERSPAN
Purpose
Enters global configuration mode.
Associates the RSPAN source session number with
the source ports or VLANs, and selects the traffic
direction to be monitored.
Associates the RSPAN source session number session
number with the RSPAN VLAN.
Clears the monitor configuration.
"Configuring RSPAN VLANs" section on page
52-16.
52-17