Specifications

Table Of Contents
encapsulation dot1q
MP-64
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
encapsulation dot1q
To enable IEEE 802.1Q encapsulation of traffic on a specified subinterface in a virtual LAN (VLAN),
use the encapsulation dot1q command in interface range configuration mode or subinterface
configuration mode. To disable IEEE 802.1Q encapsulation, use the no form of this command.
Interface Range Configuration Mode
encapsulation dot1q vlan-id [native]
no encapsulation dot1q
Subinterface Configuration Mode
encapsulation dot1q vlan-id second-dot1q {any | vlan-id | vlan-id-vlan-id[,vlan-id-vlan-id]}
no encapsulation dot1q vl
an-id second-dot1q {any | vlan-id | vlan-id-vlan-id[,vlan-id-vlan-id]}
Syntax Description
Defaults IEEE 802.1Q encapsulation is disabled.
Command Modes Interface range configuration
Subinterface configuration
vlan-id Virtual LAN identifier. The allowed range is from 1 to 4094. For the IEEE
8
02.1Q-in-Q VLAN Tag Termination feature, the first instance of this argument
defines the outer VLAN ID, and the second and subsequent instances define the
inner VLAN ID.
native (Optional) Sets the VLAN ID value of the port to the value specified by the vl
an-id
argument.
Note This keyword is not supported by the IEEE 802.1Q-in-Q VLAN Tag
Termination feature.
second-dot1q Supports the IEEE 802.1Q-in-Q VLAN Tag Termination feature by allowing an
i
nner VLAN ID to be configured.
any Sets the inner VLAN ID value to a number that is not configured on any other
s
ubinterface.
Note The any keyword in the second-dot1q command is not supported on a
subinterface configured for IP over Q-in-Q (IPoQ-in-Q) because IP
routing is not supported on ambiguous subinterfaces.
- Hyphen must be entered to separate inner and outer VLAN ID values that are used
t
o define a range of VLAN IDs.
, (Optional) Comma must be entered to separate each VLAN ID range from the next
r
ange.