25-15
Catalyst2950 and Catalyst2955 Switch Software Configuration Guide
78-11380-10
Chapter25 Configuring SPAN and RSPAN Configuring RSPAN
Creating an RSPAN Destination Session
Beginning in privileged EXEC mode, follow these steps to create an RSPAN destination session an d to
specify the source RSPAN VLAN and the destination port:
This example shows how to configure VLAN 901 as the source remote VLAN and 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
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 monitor session session_number source
remote vlan vlan-id Specify the RSPAN session and the source RSPAN VLAN.
For session_number, specify the session number identified with this
RSPAN session.
For vlan-id, specify the source RSPAN VLAN to monitor.
Step3 monitor session session_number
destination interface interface-id
[encapsulation {dot1q}]
Specify the RSPAN session and the destination interface.
For session_number, specify the session number identified with this
RSPAN session.
For interface-id, specify the destination interface.
(Optional) Specify the encapsulation header for outgoing packets. If
not specified, packets are sent in native form.
dot1qUse 802.1Q encapsulation.
Step4 end Return to privileged EXEC mode.
Step5 show monitor [session session_number] Verify your entries.
Step6 copy running-config startup-config (Optional) Save your entries in the configuration file.