32-5
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-21521-01
Chapter 32 Configuring SPAN and RSPAN Understanding SPAN and RSPAN
RSPAN consists of at least one RSPAN source session, an RSPAN VLAN, and at least one RSPAN
destination session. You separately configure RSPAN source sessions and RSPAN destination sessions
on different network devices. To configure an RSPAN source session on a device, you associate a set of
source ports or source VLANs with an RSPAN VLAN. The output of this session is the stream of SPAN
packets that are sent to the RSPAN VLAN. To configure an RSPAN destination session on another
device, you associate the destination port with the RSPAN VLAN. The destination session collects all
RSPAN VLAN traffic and sends it out the RSPAN destination port.
An RSPAN source session is very similar to a local SPAN session, except for where the packet stream
is directed. In an RSPAN source session, SPAN packets are relabeled with the RSPAN VLAN ID and
directed over normal trunk ports to the destination switch.
An RSPAN destination session takes all packets received on the RSPAN VLAN, strips off the VLAN
tagging, and presents them on the destination port. Its purpose is to present a copy of all RSPAN VLAN
packets (except Layer 2 control packets) to the user for analysis.
There can be more than one source session and more than one destination session active in the same
RSPAN VLAN. There can also be intermediate switches separating the RSPAN source and destination
sessions. These switches need not be capable of running RSPAN, but they must respond to the
requirements of the RSPAN VLAN (see the “RSPAN VLAN” section on page 32-9).
Traffic monitoring in a SPAN session has these restrictions:
Sources can be ports or VLANs, but you cannot mix source ports and source VLANs in the same
session.
The switch supports up to two local SPAN or RSPAN source sessions.
You can run both a local SPAN and an RSPAN source session in the same switch or switch stack.
The switch or switch stack supports a total of 66 source and RSPAN destination sessions.
You can configure two separate SPAN or RSPAN source sessions with separate or overlapping
sets of SPAN source ports and VLANs. Both switched and routed ports can be configured as
SPAN sources and destinations.
You can have multiple destination ports in a SPAN session, but no more than 64 destination ports
per switch stack.
SPAN sessions do not interfere with the normal operation of the switch. However, an oversubscribed
SPAN destination, for example, a 10-Mb/s port monitoring a 100-Mb/s port, can result in dropped
or lost packets.
When SPAN or RSPAN is enabled, each packet being monitored is sent twice, once as normal traffic
and once as a monitored packet. Therefore monitoring a large number of ports or VLANs could
potentially generate large amounts of network traffic.
You can configure SPAN sessions on disabled ports; however, a SPAN session does not become
active unless you enable the destination port and at least one source port or VLAN for that session.
The switch does not support a combination of local SPAN and RSPAN in a single session.
An RSPAN source session cannot have a local destination port.
An RSPAN destination session cannot have a local source port.
An RSPAN destination session and an RSPAN source session that are using the same RSPAN
VLAN cannot run on the same switch or switch stack.