Cisco Systems WSC2960X24TDL monitor session sessionnumber, destination remote vlan vlan-id, Step

Models: WSC2960X24TSL C2960XSTACK WSC2960X24PDL WSC2960X24TSLL WSC2960X24PSL WSC2960X48TSL WSC2960X24TDL

1 112
Download 112 pages 36.97 Kb
Page 98
Image 98
monitor session session_number

Configuring SPAN and RSPAN

Specifying VLANs to Filter

Command or Action

Purpose

A single session can include multiple sources (ports or VLANs), defined in a series of commands, but you cannot combine source ports and source VLANs in one session.

(Optional) [, -] Specifies a series or range of interfaces. Enter a space before and after the comma; enter a space before and after the hyphen.

(Optional) both rx tx Specifies the direction of traffic to monitor. If you do not specify a traffic direction, the source interface sends both sent and received traffic.

 

 

bothMonitors both received and sent traffic.

 

 

rxMonitors received traffic.

 

 

txMonitors sent traffic.

Step 4

monitor session session_number

Specifies the RSPAN session, the destination RSPAN VLAN, and the

 

destination remote vlan vlan-id

destination-port group.

For session_number, enter the number defined in Step 3.

Example:

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

Switch(config)# monitor session 1 destination remote vlan 100

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 configure the RSPAN source session to limit RSPAN 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 remote vlan vlan-id

6.end

 

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

86

OL-29044-01

Page 98
Image 98
Cisco Systems WSC2960X24TDL monitor session sessionnumber, destination remote vlan vlan-id, Specifying VLANs to Filter