52-21
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
•
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
, ...
•
single_vlan
is the ID number of a single VLAN.
•
vlan_list
is
single_vlan
,
single_vlan
,
single_vlan
...
•
vlan_range
is
first_vlan_ID
-
last_vlan_ID
.
•
mixed_vlan_list
is, in any order,
single_vlan
,
vlan_range
, ...
•
ERSPAN_flow_id
can range from 1 to 1023.
•
All ERSPAN source sessions on a switch must use the same source IP address. Enter the
origin ip
address
ip_address
force
command to change the origin IP address configured in all ERSPAN
source sessions on the router.
•
ttl_value
can range from 1 to 255.
•
ipp_value
can range from 0 to 7.
•
dscp_value
can range from 0 to 63.
When clearing monitor sessions, note the following information:
•
The
no monitor session
number
command entered with no other parameters clears
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 session 3 to monitor bidirectional traffic from Gigabit Ethernet
port 4/1:
Router(config)#
monitor session 3 type erspan-source
Router(config-mon-erspan-src)#
source interface gigabitethernet 4/1
Router(config-mon-erspan-src)#
destination
Router(config-mon-erspan-src-dst)#
ip address 10.1.1.1
Router(config-mon-erspan-src-dst)#
origin ip address 20.1.1.1
Router(config-mon-erspan-src-dst)#
erspan-id 101
For additional examples, see the
“Configuration Examples” section on page 52-27
.