Chapter 52
Configuring Local SPAN, RSPAN, and ERSPAN
When clearing monitor sessions, note the following information:
•
•
This example shows how to configure RSPAN VLAN 200 as the source for session 3:
Router(config)# monitor session 3 source remote vlan 200
This example shows how to configure Fast Ethernet port 5/47 as the destination for session 3:
Router(config)# monitor session 3 destination interface fastethernet 5/47
For additional examples, see the
Configuring ERSPAN
ERSPAN uses separate source and destination sessions. You configure the source and destination
sessions on different routers. These sections describe how to configure ERSPAN sessions:
•
•
With a PFC3, Release 12.2(18)SXE and later releases support ERSPAN (see the
Note
and Restrictions" section on page
Configuring ERSPAN Source Sessions
To configure an ERSPAN source session, perform this task:
Command
Step 1
Router# configure terminal
Step 2
Router(config)# monitor session
ERSPAN_source_session_number type erspan-source
Router(config)# no monitor session { session_number |
all | range session_range [[, session_range ],...]}
Step 3
Router(config-mon-erspan-src)# description
session_description
Step 4
Router(config-mon-erspan-src)# shutdown
Router(config-mon-erspan-src)# no shutdown
OL-4266-08
Enter the no monitor session number command with no other parameters to clear
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.
Configuring ERSPAN Source Sessions, page 52-19
Configuring ERSPAN Destination Sessions, page 52-22
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
"Configuration Examples" section on page
52-12).
Purpose
Enters global configuration mode.
Configures an ERSPAN source session number and
enters ERSPAN source session configuration mode
for the session.
Clears the monitor configuration.
(Optional) Describes the ERSPAN source session.
(Default) Inactivates the ERSPAN source session.
Activates the ERSPAN source session.
Configuring Local SPAN, RSPAN, and ERSPAN
52-27.
"ERSPAN Guidelines
52-19