2-276
Catalyst 3560 Switch Command Reference
78-16405-05
Chapter 2 Catalyst 3560 Switch Cisco IOS Commands
monitor session
Defaults
No monitor sessions are configured.
On a source interface, the default is to monitor both received and transmitted traffic.
On a trunk interface used as a source port, all VLANs are monitored.
If
encapsulation replicate
is not specified on a local SPAN destination port, packets are sent in native
form with no encapsulation tag.
Ingress forwarding is disabled on destination ports.
Command Modes
Global configuration
Command History
untagged vlan
vlan-id
Accept incoming packets with untagged encapsulation with the specified
VLAN as the default VLAN.
vlan
vlan-id
When used with only the
ingress
keyword, set default VLAN for ingress
traffic.
remote vlan
vlan-id
Specify the remote VLAN for an RSPAN source or destination session. The
range is 2 to 1001 and 1006 to 4094.
The RSPAN VLAN cannot be VLAN 1 (the default VLAN) or VLAN IDs
1002 to 1005 (reserved for Token Ring and FDDI VLANs).
,
(Optional) Specify a series of interfaces or VLANs, or separate a range of
interfaces or VLANs from a previous range. Enter a space before and after
the comma.
-
(Optional) Specify a range of interfaces or VLANs. Enter a space before
and after the hyphen.
filter vlan
vlan-id
Specify a list of VLANs as filters on trunk source ports to limit SPAN
source traffic to specific VLANs. The
vlan-id
range is 1 to 4094.
source
Specify the SPAN or RSPAN source. A source can be a physical port, a port
channel, or a VLAN.
both, rx, tx
(Optional) Specify the traffic direction to monitor. If you do not specify a
traffic direction, the source interface sends both transmitted and received
traffic.
source vlan
vlan-id
Specify the SPAN source interface as a VLAN ID. The range is 1 to 4094.
all
,
local
,
remote
Specify
all
,
local
, or
remote
with the
no monitor session
command to clear
all SPAN and RSPAN, all local SPAN, or all RSPAN sessions.
Release
Modification
12.1(19)EA1
This command was introduced.