Cisco Systems WSC2960X48TSL Creating a Local SPAN Session and Configuring Incoming Traffic, end

Models: WSC2960X24TSL C2960XSTACK WSC2960X24PDL WSC2960X24TSLL WSC2960X24PSL WSC2960X48TSL WSC2960X24TDL

1 112
Download 112 pages 36.97 Kb
Page 92
Image 92
Step 5 end

Configuring SPAN and RSPAN

Creating a Local SPAN Session and Configuring Incoming Traffic

Creating a Local SPAN Session and Configuring Incoming Traffic Command or Action

Example:

Switch(config)# monitor session 1 destination interface gigabitethernet1/0/2 encapsulation replicate

Manual background Purpose

For session_number, specify the session number entered in step 3.

For interface-id, specify the destination port. The destination interface must be a physical port; it cannot be an EtherChannel, and it cannot be a VLAN.

(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) encapsulation replicate specifies that the destination interface replicates the source interface encapsulation method. If not selected, the default is to send packets in native form (untagged).

Note You can use monitor session session_number destination command multiple times to configure multiple destination ports.

Step 5 end

Returns to privileged EXEC mode.

Example:

Switch(config)# end

Creating a Local SPAN Session and Configuring Incoming Traffic

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

SUMMARY STEPS

1.configure terminal

2.no monitor session {session_number all local remote}

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

4.monitor session session_number destination {interface interface-id[, -] [encapsulation replicate] [ingress {dot1q vlan vlan-id isl 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

 

 

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

80

OL-29044-01

Page 92
Image 92
Cisco Systems WSC2960X48TSL Creating a Local SPAN Session and Configuring Incoming Traffic, end, Summary Steps, Purpose