Creating An Rspan Destination Session - Cisco 2950G 24 - Catalyst Switch Software Configuration Manual

Desktop switch
Hide thumbs Also See for 2950G 24 - Catalyst Switch:
Table of Contents

Advertisement

Configuring RSPAN
Command
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

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:
Command
Step 1
configure terminal
Step 2
monitor session session_number source
remote vlan vlan-id
Step 3
monitor session session_number
destination interface interface-id
[encapsulation {dot1q | isl}]
Step 4
end
Step 5
show monitor [session session_number]
Step 6
copy running-config startup-config
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
Catalyst 2950 Desktop Switch Software Configuration Guide
21-16
Purpose
Verify your entries.
(Optional) Save your entries in the configuration file.
Purpose
Enter global configuration mode.
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.
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.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Chapter 21
Configuring SPAN and RSPAN
78-14982-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2950

Table of Contents