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