66-7
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 66 Configuring SPAN and RSPAN
Configuring SPAN
Configuring SPAN
The following sections describe how to configure SPAN:
•
SPAN Configuration Guidelines and Restrictions, page 66-7
•
Configuring SPAN Sources, page 66-8
•
Configuring SPAN Destinations, page 66-9
•
Monitoring Source VLANs on a Trunk Interface, page 66-9
•
Configuration Scenario, page 66-10
•
Verifying a SPAN Configuration, page 66-10
Note
Entering SPAN configuration commands does not clear previously configured SPAN parameters. You
must enter the
no monitor session
command to clear configured SPAN parameters.
SPAN Configuration Guidelines and Restrictions
Follow these guidelines and restrictions when configuring SPAN:
•
You must use a network analyzer to monitor interfaces.
•
You cannot mix source VLANs and filter VLANs within a SPAN session. You can have source
VLANs or filter VLANs, but not both at the same time.
•
EtherChannel interfaces can be SPAN source interfaces; they cannot be SPAN destination interfaces.
•
When you specify source interfaces and do not specify a traffic type (Tx, Rx, or both), “both” is used
by default. To change from both to either “tx” or “rx,” unconfigure the corresponding other type “rx”
or “tx” with the
no monitor session
{
session_number
} {
source
{
interface
interface_list
| {
vlan
vlan_IDs
|
cpu
[
queue
queue_ids]
} {
rx
|
tx
} command.
•
If you specify multiple SPAN source interfaces, the interfaces can belong to different VLANs.
•
You must enter the
no monitor session
number
command with no other parameters to clear the
SPAN session
number
.
•
The
no monitor
command clears all SPAN sessions.
•
SPAN destinations never participate in any spanning tree instance. SPAN includes BPDUs in the
monitored traffic, so any BPDUs seen on the SPAN destination are from the SPAN source.
•
SPAN is limited to one destination port per session.
•
When you create a SPAN session, it sets the packet filter to
good
automatically (default) and hence
you will see another configuration line:
monitor session 1 filter packet-type good rx
To remove or change this filter, first enter the
no monitor session 1 filter packet-type good rx
and
then configure the kind of span filter you want to. But do no reload the switch after this. Reloading
the switches automatically re-creates the default configuration, and does not delete
user-configuration. Having both
good
and
bad
packet types configured, disables the filtering
function.
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...