Cisco Systems WSC2960X24PDL monitor session sessionnumber source remote vlan vlan-id, end, Step

Models: WSC2960X24TSL C2960XSTACK WSC2960X24PDL WSC2960X24TSLL WSC2960X24PSL WSC2960X48TSL WSC2960X24TDL

1 112
Download 112 pages 36.97 Kb
Page 102
Image 102
3.monitor session session_number source remote vlan vlan-id

Configuring SPAN and RSPAN

Creating an RSPAN Destination Session and Configuring Incoming Traffic

SUMMARY STEPS

1.configure terminal

2.no monitor session {session_number all local remote}

3.monitor session session_number source remote vlan vlan-id

4.monitor session session_number destination {interface interface-id[, -] [ingress {dot1q vlan vlan-idisl untagged vlan vlan-id 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 2

Step 3 monitor session session_number source remote vlan vlan-id

Example:

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

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 4 monitor session session_number destination {interface interface-id[, -] [ingress {dot1q vlan vlan-idisl untagged vlan vlan-id vlan vlan-id}]}

Example:

Switch(config)# monitor session 2 destination interface gigabitethernet1/0/2 ingress vlan 6

Specifies the SPAN session, the destination port, the packet encapsulation, and the incoming VLAN and encapsulation.

For session_number, enter the number defined in Step 4.

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.

 

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

90

OL-29044-01

Page 102
Image 102
Cisco Systems WSC2960X24PDL monitor session sessionnumber source remote vlan vlan-id, Summary Steps, Detailed Steps, end