Cisco 2950 - Catalyst Switch Configuration Manual page 494

Software configuration guide
Hide thumbs Also See for 2950 - Catalyst Switch:
Table of Contents

Advertisement

Configuring RSPAN
Command
Step 3
monitor session session_number source
interface interface-id [, | -] [both | rx | tx]
Step 4
monitor session session_number
destination remote vlan vlan-id
reflector-port interface
Step 5
end
Step 6
show monitor [session session_number]
Step 7
copy running-config startup-config
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
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
25-14
Purpose
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.
both—Monitor both received and sent traffic.
rx—Monitor received traffic.
tx—Monitor sent traffic.
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
VLAN" section on page 17-8
RSPAN VLAN.)
For interface, specify the interface that will flood the RSPAN traffic
onto the RSPAN VLAN.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Chapter 25
Configuring SPAN and RSPAN
"Creating or Modifying an Ethernet
for more information about creating an
78-11380-10

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents