52-19
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
When clearing monitor sessions, note the following information:
•
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
.
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.
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
“Configuration Examples” section on page 52-27
.
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:
•
Configuring ERSPAN Source Sessions, page 52-19
•
Configuring ERSPAN Destination Sessions, page 52-22
Note
With a PFC3, Release 12.2(18)SXE and later releases support ERSPAN (see the
“ERSPAN Guidelines
and Restrictions” section on page 52-12
).
Configuring ERSPAN Source Sessions
To configure an ERSPAN source session, perform this task:
Command
Purpose
Step 1
Router#
configure terminal
Enters global configuration mode.
Step 2
Router(config)#
monitor session
ERSPAN_source_session_number
type erspan-source
Configures an ERSPAN source session number and
enters ERSPAN source session configuration mode
for the session.
Router(config)#
no monitor session
{
session_number
|
all
|
range
session_range
[[,
session_range
],...]}
Clears the monitor configuration.
Step 3
Router(config-mon-erspan-src)#
description
session_description
(Optional) Describes the ERSPAN source session.
Step 4
Router(config-mon-erspan-src)#
shutdown
(Default) Inactivates the ERSPAN source session.
Router(config-mon-erspan-src)#
no shutdown
Activates the ERSPAN source session.