21-17
Catalyst 2950 Desktop Switch Software Configuration Guide
78-14982-01
Chapter 21 Configuring SPAN and RSPAN Configuring RSPAN

Removing Ports from an RSPAN Session

Beginning i n privileged EX EC m ode, foll ow these s te ps t o r emove a p ort as an R S PAN sou rce fo r a
session:
This exampl e sh ows how to re move port 1 as an RSPAN sour ce for RSPAN ses sion 1:
Switch(config)# no monitor session 1 source interface fastEthernet0/1
Switch(config)# end
This exampl e shows how to disabl e received traffic monitor ing on por t 1, which was co nfigured for
bidirec tional mo nitorin g:
Switch(config)# no monitor session 1 source interface fastEthernet0/1 rx
The mo nitoring of traffic rece ived on port 1 is disabled, but traffic sent from th is port co ntinues to be
monitored.
Command Purpose
Step 1 configure terminal Enter globa l configurati on mode.
Step 2 no monitor session session_number source
interface interface-id [, | -] [both | rx | tx]Specify the characteristics of the RSPAN source port (monitored
port) to re move.
For session_number, specify 1 or 2.
For interface-id, specify the source port to no longer monitor . Valid
interfaces includ e physica l interfac es and port -channe l logica l
inte rfa ces (port-channel port-channel-number).
(Optional) Use [, | -] to specify a series or range of inte rfaces if they
were configured. Enter a space after the comma; enter a space
before an d after th e hyphen.
(Optional) Specify the direction of traffic (both, rx, or tx) to no
longer moni tor. If yo u d o n ot sp ec ify a t raffic directi on, bo t h
transmit and receive are disabled.
Step 3 end Return to privileged EXEC mode.
Step 4 show monitor [session session_number] Verify your entries.
Step 5 copy running-config startup-config (Optiona l) Save your entries in the co nfigurati on file.