Configuring Rspan - Cisco WS-C2948G-GE-TX Configuration Manual

Catalyst 4500 series switch
Table of Contents

Advertisement

Configuring RSPAN

Configuring RSPAN
The first step in configuring an RSPAN session is to select an RSPAN VLAN for the RSPAN session that
does not exist in any of the switches that will participate in RSPAN. 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.
Use VTP pruning to get efficient flow of RSPAN traffic, or manually delete the RSPAN VLAN from all
trunks that do not need to carry the RSPAN traffic.
Once the RSPAN VLAN is created, you configure the source and destination switches by entering the
set rspan command.
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
26-10
For RSPAN, trunking is required if you have a source switch with all source ports in one VLAN
(VLAN 2, for example) and it is connected to the destination switch through an uplink port that is
also in the same VLAN. With RSPAN, the traffic is forwarded to remote switches in the RSPAN
VLAN. The RSPAN VLAN is configured only on trunk ports, not on access ports.
The learning option applies to RSPAN destination ports only.
RSPAN does not support BPDU packet monitoring.
RSPAN VLANs are not included as sources for port-based RSPAN sessions when source trunk ports
have active RSPAN VLANs. Additionally, RSPAN VLANs cannot be sources in VSPAN sessions.
You can configure any VLAN as an RSPAN VLAN if you meet these conditions:
The same RSPAN VLAN is used for an RSPAN session in all the switches.
All participating switches have appropriate hardware and software.
No access port (including the sc0 interface) is configured in the RSPAN VLAN.
If you enable VLAN Trunking Protocol (VTP) and VTP pruning, RSPAN traffic is pruned in the
trunks to prevent the unwanted flooding of RSPAN traffic across the network.
If you enable GARP VLAN Registration Protocol (GVRP) and GVRP requests conflict with existing
RSPAN VLANs, you might observe unwanted traffic in the respective RSPAN sessions.
You can use RSPAN VLANs in Inter-Switch Link (ISL) to map dot1q. However, ensure that the
special properties of RSPAN VLANs are supported in all the switches to avoid unwanted traffic in
these VLANs.
Incoming traffic on the RSPAN destination port is disabled by default. You can enable it by entering
the inpkts enable keywords. However, while the port receives traffic for its assigned VLAN, it does
not participate in spanning tree for that VLAN. To avoid creating spanning tree loops with incoming
traffic enabled, assign the RSPAN destination port to an unused VLAN.
When the inpkts keyword is enabled, you can prevent the switch from learning source MAC
addresses from traffic that is received on the RSPAN destination port by entering the learning
disable keywords. If you want the switch to learn source MAC addresses from traffic that is received
on the RSPAN destination port, enter the learning enable keywords. By default, the switch learns
source MAC addresses from incoming traffic (learning enable) if the inpkts keyword is enabled.
The source MAC address learning options only affect traffic that is received from a device that is
attached to the RSPAN destination port itself, not from traffic that is mirrored from the RSPAN
source.
Chapter 26
Configuring SPAN and RSPAN
78-15908-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents