38-14
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 38 Configuring SPAN and RSPAN
Configuring RSPAN
RSPAN Configuration Examples
These sections describe how to configure RSPAN:
•
Configuring a Single RSPAN Session, page 38-14
•
Modifying an Active RSPAN Session, page 38-15
•
Adding RSPAN Source Ports in Intermediate Switches, page 38-15
•
Configuring Multiple RSPAN Sessions, page 38-16
•
Adding Multiple Network Analyzers to an RSPAN Session, page 38-17
Configuring a Single RSPAN Session
This example shows how to configure a single RSPAN session.
Figure 38-3
shows an RSPAN
configuration; see
Table 38-2
for the necessary commands to configure this RSPAN session.
Table 38-2
assumes that you have already set up RSPAN VLAN 901 for this session on all the switches using the
set vlan
vlan
rspan
command. With VTP enabled in the network, you can create the RSPAN VLAN in
one switch and VTP propagates it to the other switches in the VTP domain. Note that in the configuration
example shown in
Table 38-2
, the RSPAN session may be disabled in Switch A or B or both without
modifying the configuration in Switch C or Switch D.
Figure 38-3 Single RSPAN Session
Table 38-2 Configuring a Single RSPAN Session
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
D (destination)
1/2
901
–
set rspan destination 1/2 901
1/1
1/2
3/1
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)
27390
T1
T2
T3