C
HAPTER
36
| VLAN Commands
Configuring L2CP Tunneling
– 1150 –
EXAMPLE
Console(config)#dot1q-tunnel system-tunnel-control
Console(config)#l2protocol-tunnel tunnel-dmac 01-80-C2-00-00-01
Console(config-)#
switchport
l2protocol-tunnel
This command enables Layer 2 Protocol Tunneling (L2PT) for the specified
protocol. Use the no form to disable L2PT for the specified protocol.
SYNTAX
switchport l2protocol-tunnel {cdp | lldp | pvst+ | spanning-tree
| vtp}
cdp - Cisco Discovery Protocol
lldp - Link Layer Discovery Protocol
pvst+ - Cisco Per VLAN Spanning Tree Plus
spanning-tree - Spanning Tree (STP, RSTP, MSTP)
vtp - Cisco VLAN Trunking Protocol
DEFAULT SETTING
Disabled for all protocols
COMMAND MODE
Interface Configuration (Ethernet, Port Channel)
COMMAND USAGE
â—† Refer to the Command Usage section for the l2protocol-tunnel
tunnel-dmac command.
â—† For L2PT to function properly, QinQ must be enabled on the switch
using the dot1q-tunnel system-tunnel-control command, and the
interface configured to 802.1Q tunnel mode using the switchport
dot1q-tunnel mode command.
EXAMPLE
Console(config)#dot1q-tunnel system-tunnel-control
Console(config)#interface ethernet 1/1
Console(config-if)#switchport dot1q-tunnel mode access
Console(config-if)#switchport l2protocol-tunnel spanning-tree
Console(config-if)#