(Optional) Accepts incoming packets with IEEE 802.1Q
encapsulation with the specified VLAN as the default VLAN.
dot1q
(Optional) Accepts incoming packets with untagged
encapsulation with the specified VLAN as the default VLAN.
untagged
Specifies ingress forwarding using ISL encapsulation.isl
Specifies 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).
remote
Sets the default VLAN for ingress traffic when used with only
the ingress keyword.
vlan vlan-id
Command Default
No monitor sessions are configured.
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.
You can specify all, local, range session-range, or remote with the no monitor session command to clear
all SPAN and RSPAN, all local SPAN, a range, or all RSPAN sessions.
Command Modes
Global configuration
Command History
ModificationRelease
This command was introduced.Cisco IOS XE 3.3SECisco IOS XE 3.3SE
Usage Guidelines
You can set a combined maximum of 8 local SPAN sessions and RSPAN source sessions. You can have a
total of 66 SPAN and RSPAN sessions on a switch or switch stack.
A SPAN or RSPAN destination must be a physical port.
You can have a maximum of 64 destination ports on a switch or a switch stack.
Each session can include multiple ingress or egress source ports or VLANs, but you cannot combine source
ports and source VLANs in a single session. Each session can include multiple destination ports.
When you use VLAN-based SPAN (VSPAN) to analyze network traffic in a VLAN or set of VLANs, all
active ports in the source VLANs become source ports for the SPAN or RSPAN session. Trunk ports are
included as source ports for VSPAN, and only packets with the monitored VLAN ID are sent to the destination
port.
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 3650 Switches)
506
monitor session destination