Monitoring Specific Source Vlans On A Source Trunk Port; Configuring Local Span And Rspan Destinations - Cisco 7609 Configuration Manual

Cisco ios software configuration guide—12.1e
Hide thumbs Also See for 7609:
Table of Contents

Advertisement

Configuring Local SPAN and RSPAN
This example shows how to configure session 1 to monitor bidirectional traffic from Fast Ethernet
port 5/1:
Router(config)# monitor session 1 source interface fastethernet 5/1

Monitoring Specific Source VLANs on a Source Trunk Port

To monitor specific VLANs when the local or RSPAN source is a trunk port, perform this task:
Command
Router(config)# monitor session session_number filter
{vlan_ID} [, | -]
Router(config)# no monitor session session_number
filter {vlan_ID}
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 Local SPAN and RSPAN Destinations

These sections describe how to configure local SPAN and RSPAN destinations:
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
Cisco 7600 Series Router Cisco IOS Software Configuration Guide—12.1E
34-10
Note
In the no monitor session range command, do not enter spaces before or after the dash. If
you enter multiple ranges, do not enter spaces before or after the commas.
Configuring a Destination Port as an Unconditional Trunk, page 34-10
Configuring a Local or RSPAN Destination, page 34-11
1
slot/port
Chapter 34
Purpose
Monitors specific VLANs when the source is a trunk port.
Clears trunk source configuration.
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.
Configuring Local SPAN and RSPAN
78-14064-04

Advertisement

Table of Contents
loading

This manual is also suitable for:

7600 series

Table of Contents