Configuring Span Destinations; Monitoring Source Vlans On A Trunk Interface - Cisco 4500M Software Manual

Software guide
Table of Contents

Advertisement

Chapter 39
Configuring SPAN and RSPAN

Configuring SPAN Destinations

To configure the destination for a SPAN session, perform this task:
Command
Switch(config)# [no] monitor session
< session_number > destination interface
<interface> [encapsulation {isl | dot1q}]
[ingress [vlan vlan_IDs ] [learning}]
This example shows how to configure interface Fast Ethernet 5/48 as the destination for SPAN session 1:
Switch(config)# monitor session 1 destination interface fastethernet 5/48

Monitoring Source VLANs on a Trunk Interface

To monitor specific VLANs when the SPAN source is a trunk interface, perform this task:
Command
Switch(config)# [no] monitor session
{ session_number } filter {vlan vlan_IDs
[, | - ]} | {packet-type {good |
bad}} | {address-type {unicast |
multicast | broadcast} [rx | tx |
both]}
This example shows how to monitor VLANs 1 through 5 and VLAN 9 when the SPAN source is a trunk
interface:
Switch(config)# monitor session 2 filter vlan 1 - 5 , 9
OL-6696-01
Purpose
Specifies the SPAN session number (1 through
6) and the destination interfaces or VLANs.
For session_number, specifies the session
number identified with this RSPAN session
(1 through 6).
For interface, specifies the destination
interface.
For vlan_IDs, specifies the destination VLAN.
Use the no keyword to restore the defaults.
Purpose
Monitors specific VLANs when the SPAN source is a
trunk interface. The filter keyword restricts
monitoring to traffic that is on the specified VLANs; it
is typically used when monitoring a trunk interface.
For session_number, specifies the session number
identified with this RSPAN session (1 through 6).
For vlan_IDs, specifies the VLAN.
Monitoring is established through all the ports in the
specified VLANs
Use the no keyword to restore the defaults.
Software Configuration Guide—Release 12.2(25)EW
Configuring SPAN
39-9

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500 series

Table of Contents