Creating An Rspan Destination Session - Cisco 4500M Software Manual

Software guide
Table of Contents

Advertisement

Configuring RSPAN
Command
Step 5
Switch(config)# end
Step 6
Switch# show monitor [session
session_number ]
Step 7
Switch# 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.
Switch(config)# no monitor session 1
Switch(config)# monitor session 1 source interface fastEthernet3/10 tx
Switch(config)# monitor session 1 source interface fastEthernet3/2 rx
Switch(config)# monitor session 1 source interface fastEthernet3/3 rx
Switch(config)# monitor session 1 source interface port-channel 102 rx
Switch(config)# monitor session 1 destination remote vlan 901
Switch(config)# end

Creating an RSPAN Destination Session

To create an RSPAN destination session and to specify the source RSPAN VLAN and the destination
port, perform this task:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# monitor session
session_number source remote vlan
vlan-ID
Step 3
Switch(config)# [no] monitor session
< session_number > destination interface
< interface > [encapsulation {isl |
dot1q}] [ingress [vlan vlan_IDs ]
[learning]]
Step 4
Switch(config)# end
Software Configuration Guide—Release 12.2(25)EW
39-18
Purpose
Returns to privileged EXEC mode.
Verifies your entries.
(Optional) Saves your entries in the configuration file.
Purpose
Enters global configuration mode.
Specifies the RSPAN session and the source RSPAN VLAN.
For session_number, specifies the session number identified with this
RSPAN session (1 through 6).
For vlan-ID, specifies the source RSPAN VLAN to monitor.
Specifies the RSPAN session and the destination interface.
For session_number, specifies the session number identified with this
RSPAN session (1 through 6).
For interface, specifies the destination interface.
For vlan_IDs, specifies the ingress VLAN, if necessary.
(Optional) [, | -] Specifies a series or range of interfaces. Enter a
space after the comma; enter a space before and after the hyphen.
(Optional) Specifies the direction of traffic to monitor. If you do not
specify a traffic direction, the source interface sends both sent and
received traffic. Only received (rx) traffic can be monitored on
additional source ports.
isl—Use ISL encapsulation.
dot1q—Use 802.1Q encapsulation.
Returns to privileged EXEC mode.
Chapter 39
Configuring SPAN and RSPAN
OL-6696-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500 series

Table of Contents