Cisco Systems EA6500 Manual De Usuario

Descargar
Página de 570
 
34-11
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
78-14099-04
Chapter 34      Configuring Local SPAN and RSPAN
Configuring Local SPAN and RSPAN
Configuring a Destination Port as an Unconditional Trunk
To tag the monitored traffic with Release 12.1(13)E and later releases, configure the destination port as 
a trunk.
To configure the destination port as a trunk, perform this task:
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:
Note
To tag the monitored traffic, you must configure the port to trunk unconditionally before you configure 
it as a destination (see the 
Command
Purpose
Step 1
Router(config)# interface type
1
 slot/port 
1.
type = ethernetfastethernetgigabitethernet, or tengigabitethernet 
Selects the LAN port to configure.
Step 2
Router(config-if)# switchport 
Configures the LAN port for Layer 2 switching (required 
only if the LAN port is not already configured for Layer 
2 switching). 
Step 3
Router(config-if)# switchport trunk encapsulation 
{isl | dot1q
Configures the encapsulation, which configures the Layer 
2 switching port as either an ISL or 802.1Q trunk.
Step 4
Router(config-if)# switchport mode trunk 
Configures the port to trunk unconditionally. 
Step 5
Router(config-if)# switchport nonegotiate 
Configures the trunk not to use DTP. 
Command
Purpose
Router(config)# monitor session session_number 
destination
 {single_interface | interface_list | 
interface_range | mixed_interface_list} | 
{remote vlan rspan_vlan_ID}} 
Configures the session number and the destination ports or 
RSPAN VLAN.
Router(config)# no monitor session {session_number | 
all
 | local | 
range
 session_range[[,session_range],...] | remote
Clears the monitor configuration.