52-15
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 Local SPAN
Local SPAN does not use separate source and destination sessions. To configure a local SPAN session,
configure local SPAN sources and destinations with the same session number. To configure a local SPAN
session, perform this task:
When configuring local SPAN sessions, note the following information:
• local_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 , ...
• 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 , ...
• To tag the monitored traffic as it leaves a destination port, you must configure the destination 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).
Command Purpose
Step 1
Router# configure terminal
Enters global configuration mode.
Step 2
Router(config)# monitor session
local_span_session_number
source {{
single_interface
|
interface_list
|
interface_range
|
mixed_interface_list
|
single_vlan
|
vlan_list
|
vlan_range
|
mixed_vlan_list
} [rx | tx | both]}}
Associates the local SPAN source session number
with the source ports or VLANs and selects the
traffic direction to be monitored.
Step 3
Router(config)# monitor session
local_span_session_number
destination {
single_interface
|
interface_list
|
interface_range
|
mixed_interface_list
}
Associates the local SPAN session number and
the destination ports.
Router(config)# no monitor session {
session_number
| all
| local | range
session_range
[[,
session_range
],...]}
Clears the monitor configuration.