Cisco Systems WSC2960X24TSL Creating an RSPAN Source Session, Summary Steps, Detailed Steps, end

Models: WSC2960X24TSL C2960XSTACK WSC2960X24PDL WSC2960X24TSLL WSC2960X24PSL WSC2960X48TSL WSC2960X24TDL

1 112
Download 112 pages 36.97 Kb
Page 97
Image 97
Creating an RSPAN Source Session

Configuring SPAN and RSPAN

Creating an RSPAN Source Session

To remove a source port or VLAN from the SPAN session, use the no monitor session session_number source {interface interface-id vlan vlan-id} global configuration command. To remove the RSPAN VLAN from the session, use the no monitor session session_number destination remote vlan vlan-id.

Creating an RSPAN Source Session

Beginning in privileged EXEC mode, follow these steps to create and start an RSPAN source session and to specify the monitored source and the destination RSPAN VLAN.

SUMMARY STEPS

1.configure terminal

2.no monitor session {session_number all local remote}

3.monitor session session_number source {interface interface-idvlan vlan-id} [, -] [both rx tx]

4.monitor session session_number destination remote vlan vlan-id

5.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

local remote}

Example:

Switch(config)# no monitor session 1

Step 3 monitor session session_number source

{interface interface-id vlan vlan-id} [,

-] [both rx tx]

Example:

Switch(config)# monitor session 1 source interface gigabitethernet1/0/1 tx

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 port (monitored port).

For session_number, the range is 1 to 66.

Enter a source port or source VLAN for the RSPAN session:

For interface-id, specifies the source port to monitor. Valid interfaces include physical interfaces and port-channel logical interfaces (port-channelport-channel-number). Valid port-channel numbers are 1 to 48.

For vlan-id, specifies the source VLAN to monitor. The range is 1 to 4094 (excluding the RSPAN VLAN).

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

OL-29044-01

85

Page 97
Image 97
Cisco Systems WSC2960X24TSL Creating an RSPAN Source Session, no monitor session sessionnumber all local remote, end, Step