Configuring SPAN and RSPAN
To use RSPAN, the switch must be running the LAN Base image.
Note
This chapter describes how to configure Switched Port Analyzer (SPAN) and Remote SPAN (RSPAN)
on the Catalyst 2960, 2960-S, or 2960-C switch. Unless otherwise noted, the term switch refers to a
standalone switch and a switch stack.
Stacking is supported only on Catalyst 2960-S switches running the LAN base image.
Note
For complete syntax and usage information for the commands used in this chapter, see the command
Note
reference for this release.
•
•
•
Understanding SPAN and RSPAN
You can analyze network traffic passing through ports or VLANs by using SPAN or RSPAN to send a
copy of the traffic to another port on the switch or on another switch that has been connected to a network
analyzer or other monitoring or security device. SPAN copies (or mirrors) traffic received or sent (or
both) on source ports or source VLANs to a destination port for analysis. SPAN does not affect the
switching of network traffic on the source ports or VLANs. You must dedicate the destination port for
SPAN use. Except for traffic that is required for the SPAN or RSPAN session, destination ports do not
receive or forward traffic.
Only traffic that enters or leaves source ports or traffic that enters or leaves source VLANs can be
monitored by using SPAN; traffic routed to a source VLAN cannot be monitored. For example, if
incoming traffic is being monitored, traffic that gets routed from another VLAN to the source VLAN
cannot be monitored; however, traffic that is received on the source VLAN and routed to another VLAN
can be monitored.
You can use the SPAN or RSPAN destination port to inject traffic from a network security device. For
example, if you connect a Cisco Intrusion Detection System (IDS) sensor appliance to a destination port,
the IDS device can send TCP reset packets to close down the TCP session of a suspected attacker.
OL-26520-01
Understanding SPAN and RSPAN, page 27-1
Configuring SPAN and RSPAN, page 27-10
Displaying SPAN and RSPAN Status, page 27-23
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
27
C H A P T E R
27-1