•
You can apply an output ACL to RSPAN traffic to selectively filter or monitor specific packets. Specify
these ACLs on the RSPAN VLAN in the RSPAN source switches.
•
For RSPAN configuration, you can distribute the source ports and the destination ports across multiple
switches in your network.
•
Access ports (including voice VLAN ports) on the RSPAN VLAN are put in the inactive state.
•
You can configure any VLAN as an RSPAN VLAN as long as these conditions are met:
◦
The same RSPAN VLAN is used for an RSPAN session in all the switches.
◦
All participating switches support RSPAN.
Related Topics
Creating an RSPAN Source Session, on page 492
Creating an RSPAN Destination Session, on page 496
Creating an RSPAN Destination Session and Configuring Incoming Traffic, on page 499
Examples: Creating an RSPAN VLAN, on page 503
How to Configure SPAN and RSPAN
Creating a Local SPAN Session
Follow these steps to create a SPAN session and specify the source (monitored) ports or VLANs and the
destination (monitoring) ports.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
no monitor session {session_number | all | local | remote}
4.
monitor session session_number source {interface interface-id | vlan vlan-id} [, | -] [both | rx | tx]
5.
monitor session session_number destination {interface interface-id [, | -] [encapsulation replicate]}
6.
end
7.
show running-config
8.
copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if prompted.enable
Step 1
Example:
Switch> enable
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
484
How to Configure SPAN and RSPAN