25-14
Catalyst2950 and Catalyst2955 Switch Software Configuration Guide
78-11380-10
Chapter25 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
Step3 monitor session session_number source
interface interface-id [, | -] [both | rx | tx]Specify the RSPAN session and the source port (monitored port).
For session_number, specify the session number identified with this
RSPAN session.
For interface-id, specify the source port to monitor. Valid interfaces
include physical interfaces and port-channel logical interfaces
(port-channel port-channel-number).
(Optional) [, | -] Specify a series or range of interfaces. Enter a space
before and after the comma; enter a space before and after the
hyphen.
(Optional) Specify the direction of traffic to monitor. If you do not
specify a traffic direction, the source interface sends both sent and
received traffic.
bothMonitor both received and sent traffic.
rxMonitor received traffic.
txMonitor sent traffic.
Step4 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 the session number identified with this
RSPAN session.
For vlan-id, specify the RSPAN VLAN to carry the monitored traffic
to the destination port. (See the Creating or Modifying an Ethernet
VLAN section on page 17-8 for more information about creating an
RSPAN VLAN.)
For interface, specify the interface that will flood the RSPAN traf fic
onto the RSPAN VLAN.
Step5 end Return to privileged EXEC mode.
Step6 show monitor [session session_number] Verify your entries.
Step7 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose