52-16
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:
•
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 Fast Ethernet port 5/1 as a bidirectional source for session 1:
Router(config)#
monitor session 1 source interface fastethernet 5/1
This example shows how to configure Fast Ethernet port 5/48 as the destination for SPAN session 1:
Router(config)#
monitor session 1 destination interface fastethernet 5/48
For additional examples, see the
“Configuration Examples” section on page 52-27
.
Configuring RSPAN
RSPAN uses a source session on one router and a destination session on a different router. These sections
describe how to configure RSPAN sessions:
•
Configuring RSPAN VLANs, page 52-16
•
Configuring RSPAN Source Sessions, page 52-17
•
Configuring RSPAN Destination Sessions, page 52-18
Configuring RSPAN VLANs
To configure a VLAN as an RSPAN VLAN, perform this task:
Command
Purpose
Step 1
Router#
configure terminal
Enters global configuration mode.
Step 2
Router(config)#
vlan
vlan_ID
{[-
vlan_ID
]|[,
vlan_ID
])
Creates or modifies an Ethernet VLAN, a range of
Ethernet VLANs, or several Ethernet VLANs specified in
a comma-separated list (do not enter space characters).
Step 3
Router(config-vlan)#
remote-span
Configures the VLAN as an RSPAN VLAN.
Router(config-vlan)#
no remote-span
Clears the RSPAN VLAN configuration.
Step 4
Router(config-vlan)#
end
Updates the VLAN database and returns to privileged
EXEC mode.