21-16
Catalyst 2950 Desktop Switch Software Configuration Guide
78-14982-01
Chapter 21 Configuring SPAN and RSPAN
Configuring RSPAN
This example shows how to clear any existing RSPAN configurat ion for session 1, configure RSPA N
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 i n privileged EXEC mode, follow thes e steps to create an RSPA N desti nation sessio n and to
specify th e source RSPA N VLAN an d the dest ination port:
This exampl e shows how to configure VL AN 901 as the sou rce remo te VLAN a nd port 5 as the
destination interface:
Switch(config)# monitor session 1 source remote vlan 901
Switch(config)# monitor session 1 destination interface fastEthernet0/5
Switch(config)# end
Step 6 show monitor [session session_number] Verify your entries.
Step 7 copy running-config startup-config (Optiona l) Save your entries in the co nfigurati on file.
Command Purpose
Command Purpose
Step 1 configure terminal Enter globa l configurati on mode.
Step 2 monitor s ession session_n umber source
remote vlan vlan-id Specify the RSPAN sessi on and the sour ce RSPAN VLAN .
For session_number, spec ify 1 or 2.
For vlan-id, specify the source RSPAN VLAN to monitor.
Step 3 monitor s ession session_number
de st ina tio n int erf ace interface-id
[encapsulation {dot1q | isl}]
Specify the RSPAN session and the destination interface.
For session_number, spec ify 1 or 2.
For interface-id, specify the destination interface.
(Optional) Specify the encapsulation header for outgoing packets. If
not s peci fied, p ack ets ar e sen t in na tive form .
islU se I SL en capsu la tion.
dot1qUse 802.1Q encapsulation.
Step 4 end Return to privileged EXEC mode.
Step 5 show monitor [session session_number] Verify your entries.
Step 6 copy running-config startup-config (Optiona l) Save your entries in the co nfigurati on file.