Configuring Local SPAN, RSPAN, and ERSPAN
When clearing monitor sessions, note the following information:
•
•
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
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
To configure a VLAN as an RSPAN VLAN, perform this task:
Command
Step 1
Router# configure terminal
Step 2
Router(config)# vlan
vlan_ID {[- vlan_ID ]|[, vlan_ID ])
Step 3
Router(config-vlan)# remote-span
Router(config-vlan)# no remote-span
Step 4
Router(config-vlan)# end
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
52-16
The no monitor session number command entered with no other parameters clears
session session_number.
session_range is first_session_number-last_session_number.
In the no monitor session range command, do not enter spaces before or after the dash. If
Note
you enter multiple ranges, do not enter spaces before or after the commas.
Configuring RSPAN VLANs, page 52-16
Configuring RSPAN Source Sessions, page 52-17
Configuring RSPAN Destination Sessions, page 52-18
Chapter 52
"Configuration Examples" section on page
Purpose
Enters global configuration mode.
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).
Configures the VLAN as an RSPAN VLAN.
Clears the RSPAN VLAN configuration.
Updates the VLAN database and returns to privileged
EXEC mode.
Configuring Local SPAN, RSPAN, and ERSPAN
52-27.
OL-4266-08