
24-18
Catalyst 3550 Multilayer Switch Software Configuration Guide
78-11194-09
Chapter 24 Configuring SPAN and RSPAN
Configuring RSPAN
This example shows how to clear any existing RSPAN configuration for session 1, configure RSPAN
session 1 to monitor multiple source interfaces, and configure the destination RSPAN VLAN and the
reflector-port.
Switch(config)# no monitor session 1
Switch(config)# monitor session 1 source interface fastEthernet0/10 tx
Switch(config)# monitor session 1 source interface fastEthernet0/2 rx
Switch(config)# monitor session 1 source interface fastEthernet0/3 rx
Switch(config)# monitor session 1 source interface port-channel 102 rx
Switch(config)# monitor session 1 destination remote vlan 901 reflector-port
fastEthernet0/1
Switch(config)# end
Creating an RSPAN Destination Session
Beginning in privileged EXEC mode, follow these steps to create an RSPAN destination session and to
specify the source RSPAN VLAN and the destination port:
Step 4
monitor session session_number
destination remote vlan vlan-id
reflector-port interface
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. (See the
“Creating or Modifying an Ethernet
for more information about creating an
RSPAN VLAN.)
For interface, specify the interface that will flood the RSPAN traffic
onto the RSPAN VLAN.
Step 5
end
Return to privileged EXEC mode.
Step 6
show monitor [session session_number]
Verify your entries.
Step 7
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
monitor session session_number source
remote vlan vlan-id
Specify the RSPAN session and the source RSPAN VLAN.
For session_number, specify 1 or 2.
For vlan-id, specify the source RSPAN VLAN to monitor.
Step 3
monitor session session_number
destination interface interface-id
[encapsulation {dot1q | isl}]
Specify the RSPAN session and the destination interface.
For session_number, specify 1 or 2.
For interface-id, specify the destination interface.
(Optional) Specify the encapsulation header for outgoing packets. If
not specified, packets are sent in native form.
•
isl—Use ISL encapsulation.
•
dot1q—Use 802.1Q encapsulation.
Step 4
end
Return to privileged EXEC mode.