52-22
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 ERSPAN Destination Sessions
Note
You cannot monitor ERSPAN traffic locally.
To configure an ERSPAN destination session, perform this task:
When configuring monitor sessions, note the following information:
•
ERSPAN_destination_span_session_number
can range from 1 to 66.
•
single_interface
is
interface
type slot
/
port
;
type
is
ethernet
,
fastethernet
,
gigabitethernet
, or
tengigabitethernet
.
Command
Purpose
Step 1
Router#
configure terminal
Enters global configuration mode.
Step 2
Router(config)#
monitor session
ERSPAN_destination_session_number
type
erspan-destination
Configures an ERSPAN destination session number and
enters ERSPAN destination 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-dst)#
description
session_description
(Optional) Describes the ERSPAN destination session.
Step 4
Router(config-mon-erspan-dst)#
shutdown
(Default) Inactivates the ERSPAN destination session.
Router(config-mon-erspan-dst)#
no shutdown
Activates the ERSPAN destination session.
Step 5
Router(config-mon-erspan-dst)#
destination
{
single_interface
|
interface_list
|
interface_range
|
mixed_interface_list
}}
Associates the ERSPAN destination session number with
the destination ports.
Step 6
Router(config-mon-erspan-dst)#
source
Enters ERSPAN destination session source configuration
mode.
Step 7
Router(config-mon-erspan-dst-src)#
ip address
ip_address
[
force
]
Configures the ERSPAN flow destination IP address.
This must be an address on a local interface and match
the address that you entered in the
“Configuring
ERSPAN Source Sessions” section on page 52-19
,
Step 8
.
Step 8
Router(config-mon-erspan-dst-src)#
erspan-id
ERSPAN_flow_id
Configures the ID number used by the destination and
destination sessions to identify the ERSPAN traffic. This
must match the ID that you entered in the
“Configuring
ERSPAN Source Sessions” section on page 52-19
,
Step 9
.
Step 9
Router(config-mon-erspan-dst-src)#
vrf
vrf_name
(Optional) Configures the VRF name used instead of the
global routing table.
Step 10
Router(config-mon-erspan-dst-src)#
end
Exits configuration mode.