Creating An Rspan Session - Cisco 2950G 24 - Catalyst Switch Software Configuration Manual

Desktop switch
Hide thumbs Also See for 2950G 24 - Catalyst Switch:
Table of Contents

Advertisement

Chapter 21
Configuring SPAN and RSPAN

Creating an RSPAN Session

First create an RSPAN VLAN that does not exist for the RSPAN session 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 for VLAN-IDs that are lower
than 1005.
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.
After creating the RSPAN VLAN, begin in privileged EXEC mode, and follow these steps to start an
RSPAN source session and to specify the source (monitored) ports and the destination RSPAN VLAN.
Command
Step 1
configure terminal
Step 2
no monitor session {session_number | all |
local | remote}
Step 3
monitor session session_number source
interface interface-id [, | -] [both | rx | tx]
Step 4
monitor session session_number
destination remote vlan vlan-id
reflector-port interface
Step 5
end
78-14982-01
You should create an RSPAN VLAN before configuring an RSPAN source or destination session.
If you enable VTP and VTP pruning, RSPAN traffic is pruned in the trunks to prevent the unwanted
flooding of RSPAN traffic across the network for VLAN-IDs that are lower than 1005.
Purpose
Enter global configuration mode.
Clear any existing RSPAN configuration for the session.
For session_number, specify 1 or 2.
Specify all to remove all RSPAN sessions, local to remove all local
sessions, or remote to remove all remote SPAN sessions.
Specify the RSPAN session and the source port (monitored port).
For session_number, specify 1 or 2.
For interface-id, specify the source port to monitor. Valid interfaces
include physical interfaces and port-channel logical interfaces
(port-channel port-channel-number).
(Optional) [, | -] Specify a series or range of interfaces. Enter a space
after the comma; enter a space before and after the hyphen.
(Optional) Specify the direction of traffic to monitor. If you do not
specify a traffic direction, the source interface sends both sent and
received traffic. Only received (rx) traffic can be monitored on
additional source ports.
both—Monitor both received and sent traffic.
rx—Monitor received traffic.
tx—Monitor sent traffic.
Specify the RSPAN session, the destination remote VLAN, and the
reflector port.
For session_number, enter 1 or 2.
For vlan-id, specify the RSPAN VLAN to carry the monitored traffic
to the destination port.
For interface, specify the interface that will flood the RSPAN traffic
onto the RSPAN VLAN.
Return to privileged EXEC mode.
Catalyst 2950 Desktop Switch Software Configuration Guide
Configuring RSPAN
21-15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2950

Table of Contents