Cisco Systems WSC2960X24TSLL Specifying VLANs to Filter, Command or Action, Purpose, Vlan, end

Models: WSC2960X24TSL C2960XSTACK WSC2960X24PDL WSC2960X24TSLL WSC2960X24PSL WSC2960X48TSL WSC2960X24TDL

1 112
Download 112 pages 36.97 Kb
Page 94
Image 94
Configuring SPAN and RSPAN
Configuring SPAN and RSPAN

Specifying VLANs to Filter

 

Command or Action

Purpose

 

 

untagged vlan vlan-idor vlan vlan-idAccept incoming packets with

 

 

untagged encapsulation type with the specified VLAN as the default

 

 

VLAN.

Step 5

end

Returns to privileged EXEC mode.

Example:

Switch(config)# end

Specifying VLANs to Filter

Beginning in privileged EXEC mode, follow these steps to limit SPAN source traffic to specific VLANs.

SUMMARY STEPS

1.configure terminal

2.no monitor session {session_number all local remote}

3.monitor session session_number source interface interface-id

4.monitor session session_number filter vlan vlan-id[, -]

5.monitor session session_number destination {interface interface-id[, -] [encapsulation replicate]}

6.end

DETAILED STEPS

 

Command or Action

Purpose

Step 1

configure terminal

Enters the global configuration mode.

 

Example:

 

 

Switch# configure terminal

 

Step 2

no monitor session {session_number all

Removes any existing SPAN configuration for the session.

 

local remote}

For session_number, the range is 1 to 66.

 

 

 

Example:

allRemoves all SPAN sessions.

 

Switch(config)# no monitor session all

localRemoves all local sessions.

 

 

remoteRemoves all remote SPAN sessions.

 

Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX

82

OL-29044-01

Page 94
Image 94
Cisco Systems WSC2960X24TSLL Specifying VLANs to Filter, Command or Action, Purpose, Vlan, Returns to privileged EXEC mode