Creating An Rspan Session - Cisco Catalyst 4500 Series Configuration Manual

Release ios xe 3.3.0sg and ios 15.1(1)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 55
Configuring SPAN and RSPAN

Creating an RSPAN Session

First create an RSPAN VLAN that does not exist for the RSPAN session in any of the switches that
participate in RSPAN. With VTP enabled in the network, you can create the RSPAN VLAN in one
switch, and then VTP propagates it to the other switches in the VTP domain for VLAN-IDs that are lower
than 1005.
Use VTP pruning to get efficient flow of RSPAN traffic, or manually delete the RSPAN VLAN from all
trunks that do not need to carry the RSPAN traffic.
To start an RSPAN source session and to specify the source (monitored) ports and the destination RSPAN
VLAN, perform this task:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# no monitor session
{session_number | all | local | remote}
Step 3
Switch(config)# vlan {remote_vlan_ID}
Step 4
Switch(config-vlan)# remote-span
Step 5
Switch(config-vlan)# exit
Step 6
Switch(config)# [no] monitor session
{session_number} {source {interface
interface_list | {vlan vlan_IDs | cpu
[queue queue_ids]} [rx | tx | both]
OL-25340-01
Purpose
Enters global configuration mode.
Clears any existing RSPAN configuration for the session.
For session_number, specifies the session number identified with this
RSPAN session (1 through 6).
Specifies all to remove all RSPAN sessions, local to remove all local
sessions, or remote to remove all remote SPAN sessions.
Specifies a remote VLAN ID.
Ensure that the VLAN ID is not being used for any user traffic.
Converts the VLAN ID to a remote VLAN ID.
Returns to global configuration mode.
Specifies the RSPAN session and the source port (monitored port).
For session_number, specifies the session number identified with this
RSPAN session (1 through 6).
For interface-list, specifies the source port to monitor. Valid
interfaces include physical interfaces and port-channel logical
interfaces (port-channel port-channel-number).
For vlan-IDs, specifies the source VLAN or VLANs to monitor.
Valid VLANs are in the range from 1 to 4094.
For queue_ids, specifies either a set of CPU queue numerical
identifiers from 1 to 32, or a named queue.
(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 transmitted
(Tx) and received (Rx) traffic. Only received traffic can be monitored
on additional source ports.
Rx—Monitor received traffic.
Tx—Monitor transmitted traffic.
both—Monitor both received and transmitted traffic
(bidirectional).
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
Configuring RSPAN
55-17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents