Chapter 34
Configuring Local SPAN and RSPAN
This example shows how to configure a port as an unconditional IEEE 802.1q trunk:
Router(config)# interface fastethernet 5/12
Router(config-if)# switchport
Router(config-if)# switchport trunk encapsulation dot1q
Router(config-if)# switchport mode trunk
Router(config-if)# switchport nonegotiate
Configuring a Local or RSPAN Destination
Note
To configure an RSPAN source session, configure a source with an RSPAN VLAN as the destination. To
configure an RSPAN destination session, configure an RSPAN VLAN as the source and a port as the
destination.
To configure a local or RSPAN destination, perform this task:
Command
Router(config)# monitor session session_number
destination {single_interface | interface_list |
interface_range | mixed_interface_list} |
{remote vlan rspan_vlan_ID}}
Router(config)# no monitor session {session_number |
all | local |
range session_range[[,session_range],...] | remote}
To tag the monitored traffic, you must configure the port to trunk unconditionally before you configure
Note
it as a destination (see the
page
When configuring monitor sessions, note the following syntax information:
•
•
•
•
When clearing monitor sessions, note the following syntax information:
•
•
78-14064-04
"Configuring a Destination Port as an Unconditional Trunk" section on
34-10).
single_interface is interface type slot/port; type is ethernet, fastethernet, gigabitethernet, or
tengigabitethernet.
interface_list is single_interface , single_interface , single_interface ...
In lists, you must enter a space before and after the comma. In ranges, you must enter a space
Note
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 , ...
Enter the no monitor session number command with no other parameters to clear
session session_number.
session_range is first_session_number-last_session_number
Purpose
Configures the session number and the destination ports or
RSPAN VLAN.
Clears the monitor configuration.
Cisco 7600 Series Router Cisco IOS Software Configuration Guide—12.1E
Configuring Local SPAN and RSPAN
34-11