PurposeCommand or Action
Example:
Switch(config)# monitor session 2 filter
vlan 1 - 5 , 9
•
For vlan-id, the range is 1 to 4094.
•
(Optional) , | - Use a comma (,) to specify a series of VLANs
or use a hyphen (-) to specify a range of VLANs. Enter a space
before and after the comma; enter a space before and after the
hyphen.
Specifies the RSPAN session and the destination remote VLAN
(RSPAN VLAN).
monitor session session_number destination
remote vlan vlan-id
Step 6
Example:
Switch(config)# monitor session 2
destination remote vlan 902
•
For session_number, enter the session number specified in
Step 4.
•
For vlan-id, specify the RSPAN VLAN to carry the monitored
traffic to the destination port.
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 7
Verifies your entries.show running-config
Example:
Switch# show running-config
Step 8
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config startup-config
Step 9
Creating an RSPAN Destination Session
You configure an RSPAN destination session on a different switch or switch stack; that is, not the switch or
switch stack on which the source session was configured.
Follow these steps to define the RSPAN VLAN on that switch, to create an RSPAN destination session, and
to specify the source RSPAN VLAN and the destination port.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
496
How to Configure SPAN and RSPAN