user manual

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-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
Removes any existing SPAN configuration for the session.
no monitor session {session_number | all
| local | remote}
Step 2
For session_number, the range is 1 to 66.
Example:
Switch(config)# no monitor session
2
allRemoves all SPAN sessions.
localRemoves all local sessions.
remoteRemoves all remote SPAN sessions.
Specifies the RSPAN session and the source RSPAN VLAN.
monitor session session_number source
remote vlan vlan-id
Step 3
For session_number, the range is 1 to 66.
Example:
Switch(config)# monitor session 2
source remote vlan 901
For vlan-id, specify the source RSPAN VLAN to monitor.
Specifies the SPAN session, the destination port, the packet encapsulation,
and the incoming VLAN and encapsulation.
monitor session session_number
destination {interface interface-id [, | -]
Step 4
[ingress {dot1q vlan vlan-id | isl |
untagged vlan vlan-id | vlan vlan-id}]}
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.
Example:
Switch(config)# monitor session 2
For interface-id, specify the destination interface. The destination
interface must be a physical interface.
destination interface
gigabitethernet1/0/2 ingress vlan 6
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
Configuring SPAN and RSPAN
Creating an RSPAN Destination Session and Configuring Incoming Traffic