26-7
Catalyst 2928 Switch Software Configuration Guide
OL-23389-01
Chapter 26 Configuring SPAN
Configuring SPAN
Configuring SPAN
These sections contain this configuration information:
•
Default SPAN Configuration, page 26-7
•
Configuring Local SPAN, page 26-7
Default SPAN Configuration
shows the default SPAN configuration.
Configuring Local SPAN
These sections contain this configuration information:
•
SPAN Configuration Guidelines, page 26-7
•
Creating a Local SPAN Session, page 26-8
•
Creating a Local SPAN Session and Configuring Incoming Traffic, page 26-11
•
Specifying VLANs to Filter, page 26-12
SPAN Configuration Guidelines
Follow these guidelines when configuring SPAN:
•
For SPAN sources, you can monitor traffic for a single port or VLAN or a series or range of ports
or VLANs for each session. You cannot mix source ports and source VLANs within a single SPAN
session.
•
The destination port cannot be a source port; a source port cannot be a destination port.
•
You cannot have two SPAN sessions using the same destination port.
•
When you configure a switch port as a SPAN destination port, it is no longer a normal switch port;
only monitored traffic passes through the SPAN destination port.
•
Entering SPAN configuration commands does not remove previously configured SPAN parameters.
You must enter the
no monitor session
{
session_number
|
all
|
local
} global configuration command
to delete configured SPAN parameters.
Table 26-1
Default SPAN Configuration
Feature
Default Setting
SPAN state
Disabled.
Source port traffic to monitor
Both received and sent traffic (
both
).
Encapsulation type (destination port)
Native form (untagged packets).
Ingress forwarding (destination port)
Disabled
VLAN filtering
On a trunk interface used as a source port, all VLANs are
monitored.