Configuring A Destination Port As An Unconditional Trunk - Cisco 6500 Series Software Configuration Manual

Hide thumbs Also See for 6500 Series:
Table of Contents

Advertisement

Chapter 34
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:
Command
Step 1
Router(config)# interface type
Step 2
Router(config-if)# switchport
Step 3
Router(config-if)# switchport trunk encapsulation
{isl | dot1q}
Step 4
Router(config-if)# switchport mode trunk
Step 5
Router(config-if)# switchport nonegotiate
1.
type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet
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
78-14099-04
1
slot/port
"Configuring a Destination Port as an Unconditional Trunk" section on
34-11).
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
Purpose
Selects the LAN port to configure.
Configures the LAN port for Layer 2 switching (required
only if the LAN port is not already configured for Layer
2 switching).
Configures the encapsulation, which configures the Layer
2 switching port as either an ISL or 802.1Q trunk.
Configures the port to trunk unconditionally.
Configures the trunk not to use DTP.
Purpose
Configures the session number and the destination ports or
RSPAN VLAN.
Clears the monitor configuration.
Configuring Local SPAN and RSPAN
34-11

Advertisement

Table of Contents
loading

Table of Contents