Cisco Systems WSC2960X24TSLL no monitor session sessionnumber all, local remote, Step, Example

Models: WSC2960X24TSL C2960XSTACK WSC2960X24PDL WSC2960X24TSLL WSC2960X24PSL WSC2960X48TSL WSC2960X24TDL

1 112
Download 112 pages 36.97 Kb
Page 101
Image 101
no monitor session {session_number all

Configuring SPAN and RSPAN

Creating an RSPAN Destination Session and Configuring Incoming Traffic

 

Command or Action

Step 5

no monitor session {session_number all

 

local remote}

Example:

Switch(config)# no monitor session 1

Step 6

monitor session session_number source

 

remote vlan vlan-id

Example:

Switch(config)# monitor session 1 source remote vlan 901

local remote} Purpose

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 RSPAN session and the source RSPAN VLAN.

For session_number, the range is 1 to 66.

For vlan-id, specify the source RSPAN VLAN to monitor.

Step 7

monitor session session_number destination

 

interface interface-id

Example:

Switch(config)# monitor session 1 destination interface gigabitethernet2/0/1

Step 8

end

Example:

Switch(config)# end

Specifies the RSPAN session and the destination interface.

For session_number, enter the number defined in Step 6.

In an RSPAN destination session, you must use the same session number for the source RSPAN VLAN and the destination port.

For interface-id, specify the destination interface. The destination interface must be a physical interface.

Though visible in the command-line help string, encapsulation replicate is not supported for RSPAN. The original VLAN ID is overwritten by the RSPAN VLAN ID, and all packets appear on the destination port as untagged.

Returns to privileged EXEC mode.

Creating an RSPAN Destination Session and Configuring Incoming Traffic

Beginning in privileged EXEC mode, follow these steps to create an RSPAN destination session, to specify the source RSPAN VLAN and the destination port, and to enable incoming traffic on the destination port for a network security device (such as a Cisco IDS Sensor Appliance).

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

OL-29044-01

89

Page 101
Image 101
Cisco Systems WSC2960X24TSLL no monitor session sessionnumber all, local remote, monitor session sessionnumber source