49-17
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 49 Configuring SPAN, RSPAN and the Mini Protocol Analyzer
Configuring RSPAN on the Switch
Adding the RSPAN Source Ports in Intermediate Switches
This example shows how to add the RSPAN source ports in the intermediate switches.
Figure 49-4
shows
an RSPAN configuration; see
Table 49-4
for the commands to configure this RSPAN session. Ports 2/1-2
in Switch C can be configured for the same RSPAN session.
Figure 49-4
Adding the RSPAN Source Ports in Intermediate Switches
Configuring Multiple RSPAN Sessions
This example shows how to configure multiple RSPAN sessions.
Figure 49-5
shows an RSPAN
configuration; see
Table 49-5
for the configuration commands to configure this RSPAN session. This
example is a typical scenario where the monitoring probes would be placed in the data center and the
source ports in the access switches (other ports in any of the switches can also be configured for
RSPAN). If there is no change in the route for the SPAN traffic, the destination switch and the
intermediate switches need to be configured only once.
In
Figure 49-5
, two RSPAN sessions are used with RSPAN VLANs 901 (for probe 1) and 902 (for
probe 2). The direction of traffic over trunks T1 through T6 is shown only for understanding; the
direction of the trunks depends on the STP states of the trunks for the RSPAN VLAN(s). You need to
configure the RSPAN VLANs in each of the switches for the RSPAN sessions. With VTP enabled in the
network, you can create the RSPAN VLAN in one switch and VTP propagates it to the other switches in
that VTP domain. With VTP disabled, create the RSPAN VLANs in each switch.
Table 49-4
Adding the RSPAN Source Ports in Intermediate Switches
Switch
Ports
RSPAN VLAN
Direction
RSPAN CLI Commands
A (source)
4/1, 4/2
901
Ingress
set rspan source 4/1-2 901 rx
B (source)
3/1, 3/2, 3/3
901
Bidirectional
set rspan source 3/1-3 901
C (intermediate)
–
901
–
No RSPAN CLI command needed
C (source)
2/1, 2/2
901
Bidirectional
set rspan source 2/1-2 901
D (destination)
1/2
901
–
set rspan destination 1/2 901
1/1
1/2
3/1 2/1 2/2 3/2
1/2
4/1 4/2
1/2
3/1 3/2
1/1
3/3
Switch A
Switch C
Switch D
Switch B
Probe
Destination switch
(data center)
Intermediate switch
(distribution)
Source switch(es)
(access)
27391
T1
T2
T3