l2protocol tunnel
To enable Layer 2 protocol tunneling, use the l2protocol tunnel command. To disable protocol tunneling, use the no form of this command.
l2protocol tunnel [cdp | stp | vtp]
no l2protocol tunnel [cdp | stp | vtp]
Syntax Description
cdp |
(Optional) Enables Cisco Discovery Protocol (CDP) tunneling. |
stp |
(Optional) Enables Spanning Tree Protocol (STP) tunneling. |
vtp |
(Optional) Enables VLAN Trunking Protocol (VTP) tunneling. |
Command Default
Layer 2 protocol tunneling is disabled.
Command Modes
Interface configuration mode
Command History
Release |
Modification |
---|---|
5.0(2) |
This command was introduced. |
Usage Guidelines
This command does not require a license.
Examples
This example shows how to enable Layer 2 protocol tunneling:
switch(config-if)# l2protocol tunnel cdp