Configuring Local SPAN, RSPAN, and ERSPAN
This example shows how to configure Fast Ethernet port 5/2 as the source for session 2:
Router(config)# monitor session 2 source interface fastethernet 5/2
This example shows how to configure RSPAN VLAN 200 as the destination for session 2:
Router(config)# monitor session 2 destination remote vlan 200
For additional examples, see the
Configuring RSPAN Destination Sessions
You can configure an RSPAN destination session on the RSPAN source session router to monitor RSPAN
Note
traffic locally.
To configure an RSPAN destination session, perform this task:
Command
Step 1
Router# configure terminal
Step 2
Router(config)# monitor session
RSPAN_destination_session_number source remote vlan
rspan_vlan_ID
Step 3
Router(config)# monitor session
RSPAN_destination_session_number destination
{ single_interface | interface_list | interface_range
| mixed_interface_list }}
Step 4
Router(config)# no monitor session { session_number |
all | range session_range [[, session_range ],...] |
remote}
When configuring monitor sessions, note the following information:
•
•
•
•
•
•
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
52-18
To tag the monitored traffic, you must configure the port to trunk unconditionally before you
configure it as a destination (see the
section on page
52-24).
RSPAN_destination_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 , ...
Chapter 52
"Configuration Examples" section on page
Purpose
Enters global configuration mode.
Associates the RSPAN destination session number
with the RSPAN VLAN.
Associates the RSPAN destination session number
with the destination ports.
Clears the monitor configuration.
"Configuring a Destination Port as an Unconditional Trunk"
Configuring Local SPAN, RSPAN, and ERSPAN
52-27.
OL-4266-08