Configuring Span; Enabling Span; Disabling Span - Cisco WS-C2955T-12 Software Manual

Software guide
Table of Contents

Advertisement

Configuring SPAN

To disable port security aging for all secure addresses on a port, use the no port security aging time
interface configuration command.
This example shows how to set the port security aging time to 2 hours on port 1.
Switch(config)#interface fa0/1
Switch(config-if)#port security aging time 120
Configuring SPAN
You can use Switch Port Analyzer (SPAN) to monitor traffic on a given port by forwarding incoming
and outgoing traffic on the port to another port in the same VLAN. A SPAN port cannot monitor ports
in a different VLAN, and a SPAN port must be a static-access port. You can define any number of ports
as SPAN ports, and any combination of ports can be monitored.
For the restrictions that apply to SPAN ports, see the
page

Enabling SPAN

Beginning in privileged EXEC mode, follow these steps to enable SPAN:
Command
Step 1
configure terminal
Step 2
interface interface
Step 3
port monitor interface
Step 4
end
Step 5
show running-config

Disabling SPAN

Beginning in privileged EXEC mode, follow these steps to disable SPAN:
Command
Step 1
configure terminal
Step 2
interface interface
Step 3
no port monitor interface
Step 4
end
Step 5
show running-config
Catalyst 2900 Series XL and Catalyst 3500 Series XL Software Configuration Guide
7-12
9-7.
Purpose
Enter global configuration mode.
Enter interface configuration mode, and enter the port that acts as the
monitor port.
Enable port monitoring on the port.
Return to privileged EXEC mode.
Verify your entries.
Purpose
Enter global configuration mode.
Enter interface configuration mode, and enter the port number of the monitor
port.
Disable port monitoring on the port.
Return to privileged EXEC mode.
Verify your entries.
Chapter 7
Configuring the Switch Ports
"Avoiding Configuration Conflicts" section on
78-6511-08

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents