49-14
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 49 Configuring SPAN, RSPAN and the Mini Protocol Analyzer
Configuring RSPAN on the Switch
This example shows how to specify VLAN 200 as a source VLAN for RSPAN VLAN 500 (selecting the
optional rx keyword makes all the ports in the VLAN ingress ports):
Console> (enable) set rspan source 200 500 rx
Rspan Type : Source
Destination : -
Rspan Vlan : 500
Admin Source : VLAN 200
Oper Source : None
Direction : receive
Incoming Packets: -
Learning : -
Multicast : enabled
Filter : -
Console> (enable)
To configure the RSPAN destination ports, perform this task in privileged mode:
Console> (enable) set rspan destination 3/1 500
Rspan Type : Destination
Destination : Port 3/1
Rspan Vlan : 500
Admin Source : -
Oper Source : -
Direction : -
Incoming Packets: disabled
Learning : enabled
Multicast : -
Filter : -
Console> (enable)
To disable RSPAN, perform this task in privileged mode:
This example shows how to disable all the enabled source sessions:
Console> (enable) set rspan disable source all
This command will disable all remote span source session(s).
Do you want to continue (y/n) [n]? y
Disabled monitoring of all source(s) on the switch for remote span.
Console> (enable)
Task Command
Step 1
Configure the RSPAN destination ports. Use this
command on each of the destination switches that
participate in RSPAN.
set rspan destination mod/port {rspan_vlan}
session session_number
[inpkts {enable | disable}] [learning {enable |
disable}] [create]
Step 2
Verify the RSPAN configuration. show rspan
Task Command
Disable RSPAN on the switch. set rspan disable source [rspan_vlan | all]
set rspan disable destination [mod/port | all]