user manual

PurposeCommand or Action
For session_number, specify the session number entered in step 3.
Example:
Switch(config)# monitor session 1
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.
destination interface
(Optional) [, | -] Specifies a series or range of interfaces. Enter a space before
and after the comma; enter a space before and after the hyphen.
gigabitethernet1/0/2 encapsulation
replicate
(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).
You can use monitor session session_number destination command
multiple times to configure multiple destination ports.
Note
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 5
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
PurposeCommand or Action
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 1
Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX
80 OL-29044-01
Configuring SPAN and RSPAN
Creating a Local SPAN Session and Configuring Incoming Traffic