Creating An Rspan Source Session - Cisco WS-C2960-24LC-S Software Configuration Manual

Software guide
Table of Contents

Advertisement

Chapter 23
Configuring SPAN and RSPAN
Beginning in privileged EXEC mode, follow these steps to create an RSPAN VLAN:
Command
Step 1
configure terminal
Step 2
vlan vlan-id
Step 3
remote-span
Step 4
end
Step 5
copy running-config startup-config
To remove the remote SPAN characteristic from a VLAN and convert it back to a normal VLAN, use the
no remote-span VLAN configuration command.
This example shows how to create RSPAN VLAN 901.
Switch(config)# vlan 901
Switch(config-vlan)# remote span
Switch(config-vlan)# end

Creating an RSPAN Source Session

Beginning in privileged EXEC mode, follow these steps to start an RSPAN source session and to specify
the monitored source and the destination RSPAN VLAN:
Command
Step 1
configure terminal
Step 2
no monitor session {session_number | all |
local | remote}
OL-8603-04
Purpose
Enter global configuration mode.
Enter a VLAN ID to create a VLAN, or enter the VLAN ID of an
existing VLAN, and enter VLAN configuration mode. The range is
2 to 1001 and 1006 to 4094.
The RSPAN VLAN cannot be VLAN 1 (the default VLAN) or VLAN
IDs 1002 through 1005 (reserved for Token Ring and FDDI VLANs).
Configure the VLAN as an RSPAN VLAN.
Return to privileged EXEC mode.
(Optional) Save the configuration in the configuration file.
Purpose
Enter global configuration mode.
Remove any existing RSPAN configuration for the session.
For session_number, the range is 1 to 66.
Specify all to remove all RSPAN sessions, local to remove all local
sessions, or remote to remove all remote SPAN sessions.
Catalyst 2960 Switch Software Configuration Guide
Configuring SPAN and RSPAN
23-17

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws-c2960s-24td-lWs-c2960s-48lpd-lCatalyst 2960

Table of Contents