Specifying Vlans To Filter - Cisco Catalyst 4500 Series Software Configuration Manual

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 66
Configuring SPAN and RSPAN
Switch# configure terminal
Enter configuration commands, one per line.
Switch(config)# no monitor session 2
Switch(config)# monitor session 2 source vlan 1 - 3 rx
Switch(config)# monitor session 2 destination remote vlan 902
Switch(config)# monitor session 2 source vlan 10 rx
Switch(config)# end

Specifying VLANs to Filter

To limit RSPAN source traffic to specific VLANs, perform this task:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# no monitor session
{session_number | all | local |
remote}
Step 3
Switch(config)# [no] monitor session
{session_number} {source {interface
interface_list | {vlan vlan_IDs | cpu
[queue queue_ids]} [rx | tx | both]
Step 4
Switch(config)# monitor session
session_number filter vlan vlan-id [,
| -]
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
End with CNTL/Z.
Purpose
Enters global configuration mode.
Clears any existing SPAN configuration for the session.
For session_number, specifies the session number identified with this
RSPAN session (1 through 6).
Specify all to remove all SPAN sessions, local to remove all local
sessions, or remote to remove all remote SPAN sessions.
Specifies the characteristics of the source port (monitored port) and
RSPAN session.
For session_number, specifies the session number identified with this
RSPAN session (1 through 6).
For interface-list, specifies the source port to monitor. The interface
specified must already be configured as a trunk port.
For vlan-IDs, the range is 1 to 4094; do not enter leading zeros.
For queue_ids, specifies the source queue.
(Optional) [, | -] Specifies a series or range of interfaces. Enter a space
after the comma; enter a space before and after the hyphen.
(Optional) Specifies the direction of traffic to monitor. If you do not
specify a traffic direction, the source interface sends both transmitted
(Tx) and received (Rx) traffic. Only received traffic can be monitored
on additional source ports.
Rx—Monitor received traffic.
Tx—Monitor transmitted traffic.
both—Monitor both received and transmitted traffic
(bidirectional).
Limits the RSPAN source traffic to specific VLANs.
For session_number, specifies the session number identified with this
RSPAN session (1 through 6).
For vlan-id, the range is 1 to 4094; do not enter leading zeros.
(Optional) Use a comma (,) to specify a series of VLANs or use a
hyphen (-) to specify a range of VLANs. Enter a space after the
comma; enter a space before and after the hyphen.
Configuring RSPAN
66-23

Advertisement

Table of Contents
loading

Table of Contents