52-18
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
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
“Configuration Examples” section on page 52-27
.
Configuring RSPAN Destination Sessions
Note
You can configure an RSPAN destination session on the RSPAN source session router to monitor RSPAN
traffic locally.
To configure an RSPAN destination session, perform this task:
When configuring monitor sessions, note the following information:
•
To tag the monitored traffic, you must configure the port to trunk unconditionally before you
configure it as a destination (see the
“Configuring a Destination Port as an Unconditional Trunk”
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
...
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
, ...
Command
Purpose
Step 1
Router#
configure terminal
Enters global configuration mode.
Step 2
Router(config)#
monitor session
RSPAN_destination_session_number
source
remote vlan
rspan_vlan_ID
Associates the RSPAN destination session number
with the RSPAN VLAN.
Step 3
Router(config)#
monitor session
RSPAN_destination_session_number
destination
{
single_interface
|
interface_list
|
interface_range
|
mixed_interface_list
}}
Associates the RSPAN destination session number
with the destination ports.
Step 4
Router(config)#
no monitor session
{
session_number
|
all
|
range
session_range
[[,
session_range
],...] |
remote
}
Clears the monitor configuration.