38-16
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 38 Configuring SPAN and RSPAN
Configuring RSPAN
Configuring Multiple RSPAN Sessions
This example shows how to configure multiple RSPAN sessions.
Figure 38-5
shows an RSPAN
configuration; see
Table 38-5
for the necessary configuration commands to configure this RSPAN
session. This is a typical scenario where the monitoring probes would be placed in the data center and
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 SPAN traffic, the destination switch and the intermediate
switches need to be configured only once.
In
Figure 38-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 respective trunks for the RSPAN VLAN(s). You
need to configure the RSPAN VLANs in each of the switches for the respective 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.
Figure 38-5 Configuring Multiple RSPAN Sessions
Table 38-5 Configuring Multiple RSPAN Sessions
Switch
Port
RSPAN
VLAN(s)
Direction
RSPAN CLI Commands
A (destination)
2/1
901
–
set rspan destination 2/1 901
A (destination)
2/2
902
–
set rspan destination 2/2 902
B (intermediate)
–
901, 902
–
No RSPAN CLI command needed
C (intermediate)
–
901, 902
–
No RSPAN CLI command needed
D (source)
2/1-2
901
Ingress
set rspan source 2/1-2 901 rx
E (source)
3/1-2
901
Egress
set rspan source 3/1-2 901 tx
F (source)
4/1-3
901
Both
set rspan source 4/1-3 902
1/1
1/2
2/1
2/2
3/1
1/2
3/1
3/2
3/3
3/2
3/3
1/2
2/1 2/2
1/1
1/2
4/1 4/2
1/1
1/2
4/3
Switch D
3/1 3/2
1/2
1/1
Switch B
Switch C
Switch A
Switch F
Switch E
Probe 2
Probe 1
Destination switch
(data center)
Intermediate switch(es)
(distribution)
Source switch(es)
(access)
27392
T1
T2
T6
T3
T5
T4