Configuring Source Vlan Filtering For Local Span And Rspan; Configuring A Destination Port As An Unconditional Trunk - Cisco 7604 Configuration Manual

Ios software configuration guide
Hide thumbs Also See for 7604:
Table of Contents

Advertisement

Configuring Local SPAN, RSPAN, and ERSPAN

Configuring Source VLAN Filtering for Local SPAN and RSPAN

Source VLAN filtering monitors specific VLANs when the source is a trunk port.
To configure source VLAN filtering for ERSPAN, see the
Note
To configure source VLAN filtering when the local SPAN or RSPAN source is a trunk port, perform this
task:
Command
Step 1
Router# configure terminal
Step 2
Router(config)# monitor session session_number
filter single_vlan | vlan_list | vlan_range |
mixed_vlan_list
Router(config)# no monitor session session_number
filter single_vlan | vlan_list | vlan_range |
mixed_vlan_list
When configuring source VLAN filtering, note the following information:
This example shows how to monitor VLANs 1 through 5 and VLAN 9 when the source is a trunk port:
Router(config)# monitor session 2 filter vlan 1 - 5 , 9

Configuring a Destination Port as an Unconditional Trunk

To tag the monitored traffic as it leaves a destination port, configure the destination port as a trunk.
To configure the destination port as a trunk, perform this task:
Command
Step 1
Router# configure terminal
Step 2
Router(config)# interface type
Step 3
Router(config-if)# switchport
Step 4
Router(config-if)# switchport trunk encapsulation
{isl | dot1q}
Step 5
Router(config-if)# switchport mode trunk
Step 6
Router(config-if)# switchport nonegotiate
1.
type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
52-24
single_vlan is the ID number of a single VLAN.
vlan_list is single_vlan , single_vlan , single_vlan ...
vlan_range is first_vlan_ID - last_vlan_ID.
mixed_vlan_list is, in any order, single_vlan , vlan_range , ...
1
slot/port
Chapter 52
Configuring Local SPAN, RSPAN, and ERSPAN
"Configuring ERSPAN" section on page
Purpose
Enters global configuration mode.
Configures source VLAN filtering when the local SPAN
or RSPAN source is a trunk port.
Clears source VLAN filtering.
Purpose
Enters global configuration mode.
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.
52-19.
OL-4266-08

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

761376067609-s7600 series

Table of Contents