Cisco Systems WSC2960X48TSL no monitor session sessionnumber all local remote, Detailed Steps

Models: WSC2960X24TSL C2960XSTACK WSC2960X24PDL WSC2960X24TSLL WSC2960X24PSL WSC2960X48TSL WSC2960X24TDL

1 112
Download 112 pages 36.97 Kb
Page 99
Image 99
Step 2 no monitor session {session_number all local

Configuring SPAN and RSPAN

Specifying VLANs to Filter

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 local

remote}

Example:

Switch(config)# no monitor session 2

Step 3 monitor session session_number source

interface interface-id

Example:

Switch(config)# monitor session 2 source interface gigabitethernet1/0/2 rx

Step 4 monitor session session_number filter vlan

vlan-id [, -]

Example:

Switch(config)# monitor session 2 filter vlan 1 - 5 , 9

Removes any existing SPAN configuration for the session.

For session_number, the range is 1 to 66.

allRemoves all SPAN sessions.

localRemoves all local sessions.

remoteRemoves all remote SPAN sessions.

Specifies the characteristics of the source port (monitored port) and SPAN session.

For session_number, the range is 1 to 66.

For interface-id, specify the source port to monitor. The interface specified must already be configured as a trunk port.

Limits the SPAN source traffic to specific VLANs.

For session_number, enter the session number specified in step 3.

For vlan-id, the range is 1 to 4094.

(Optional) , - Use a comma (,) to specify a series of VLANs or use a hyphen (-) to specify a range of VLANs. Enter a space before and after the comma; enter a space before and after the hyphen.

Step 5 monitor session session_number destination remote vlan vlan-id

Example:

Switch(config)# monitor session 2 destination remote vlan 902

Step 6

end

Example:

Switch(config)# end

Specifies the RSPAN session and the destination remote VLAN (RSPAN VLAN).

For session_number, enter the session number specified in Step 3.

For vlan-id, specify the RSPAN VLAN to carry the monitored traffic to the destination port.

Returns to privileged EXEC mode.

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

OL-29044-01

87

Page 99
Image 99
Cisco Systems WSC2960X48TSL no monitor session sessionnumber all local remote, Detailed Steps, Command or Action, Purpose