Cisco Catalyst 2950 Software Manual page 264

Desktop switch software configuration guide
Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Configuring SPAN
Destination Ports: Gi0/2
Use the show monitor session privileged EXEC command to verify the configuration.
Removing Ports from a SPAN Session
Beginning in privileged EXEC mode, follow these steps to remove a port as a SPAN source for a session:
Command
Step 1
configure terminal
Step 2
no monitor session session_number source
interface interface-id [, | -] [both | rx | tx]
Step 3
end
Step 4
show monitor [session session_number]
Step 5
copy running-config startup-config
To remove a destination port from the SPAN session, use the no monitor session session_number
destination interface interface-id global configuration command.
This example shows how to remove port 1 as a SPAN source for SPAN session 1 and to verify the
configuration:
Switch(config)# no monitor session 1 source interface gigabitethernet0/1
Switch(config)# end
Switch# show monitor session 1
Session 1
---------
Source Ports:
Destination Ports:Gi0/2
This example shows how to disable received traffic monitoring on port 1, which was configured for
bidirectional monitoring:
Switch(config)# no monitor session 1 source interface gigabitethernet0/1 rx
Catalyst 2950 Desktop Switch Software Configuration Guide
10-24
Both:
Gi0/1
RX Only:
None
TX Only:
None
Both:
None
Purpose
Enter global configuration mode.
Specify the characteristics of the source port (monitored port) and
SPAN session to remove.
For session, specify 1.
For interface-id, specify the source port to no longer monitor. Valid
interfaces include physical interfaces and port-channel logical
interfaces (port-channel port-channel-number).
(Optional) Use [, | -] to specify a series or range of interfaces if they
were configured. This option is valid when monitoring only
received traffic. Enter a space after the comma; enter a space before
and after the hyphen.
(Optional) Specify the direction of traffic (both, rx, or tx) to no
longer monitor. If you do not specify a traffic direction, both
transmit and receive are disabled.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Chapter 10
Configuring the Switch Ports
78-11380-03

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents