0% found this document useful (0 votes)
112 views2 pages

Syntax Description: Encapsulation Dot1q

To enable IEEE 802.1Q encapsulation on a subinterface, use the "encapsulation dot1q" command along with a VLAN ID. This assigns the subinterface to a VLAN for interconnecting multiple switches and defining VLAN topologies using the IEEE 802.1Q standard protocol. The command is used in subinterface configuration mode to apply a VLAN tag to traffic on that subinterface.

Uploaded by

DennisFiel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
112 views2 pages

Syntax Description: Encapsulation Dot1q

To enable IEEE 802.1Q encapsulation on a subinterface, use the "encapsulation dot1q" command along with a VLAN ID. This assigns the subinterface to a VLAN for interconnecting multiple switches and defining VLAN topologies using the IEEE 802.1Q standard protocol. The command is used in subinterface configuration mode to apply a VLAN tag to traffic on that subinterface.

Uploaded by

DennisFiel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

encapsulation dot1Q

To enable IEEE 802.1Q encapsulation of traffic on a specified subinterface, use the encapsulation dot1q command. To disable encapsulation, use the no form of this command.

encapsulation dot1Q vlan-id

no encapsulation dot1Q vlan-id

Syntax Description

vlan-id VLAN to set when the interface is in access mode; valid values are from 1 to
4093, except for the VLANs reserved for internal switch use.

Command Default
No encapsulation

Command Modes
Subinterface configuration mode

Command History

Release Modification

5.0(3)N1(1) This command was introduced.

Usage Guidelines
IEEE 802.1Q encapsulation is configurable on Ethernet and EtherChannel interfaces. IEEE 802.1Q is a standard protocol for int erconnecting multiple switches and routers and for defining VLAN topologies.

Use the encapsulation dot1q command in subinterface range configuration mode to apply a VLAN ID to the subinterface.

Note This command is not applicable to loopback interfaces.

This command does not require a license.

Examples
This example shows how to enable dot1Q encapsulation on a subinterface for VLAN 30:

switch(config)# interface ethernet 1/5.1

switch(config-subif)# encapsulation dot1q 30

switch(config-subif)#

Related Commands

Command Description
show vlan dot1Q Displays dot1Q encapsulation information for a VLAN.

You might also like