Switchport L2Protocol-Tunnel - Edge-Core AS6700-32X Cli Reference Manual

10g/40g top-of-rack switches
Hide thumbs Also See for AS6700-32X:
Table of Contents

Advertisement

Chapter 18
| VLAN Commands
Configuring L2CP Tunneling
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 | custom-pdu index | lldp | pvst+ |
spanning-tree | vtp}
cdp - Cisco Discovery Protocol
custom-pdu - User defined PDU
index - Identifies a custom PDU defined with the
pdu
command. (Range: 1-16)
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
command.
For L2PT to function properly, QinQ must be enabled on the switch using the
dot1q-tunnel system-tunnel-control
802.1Q uplink mode using the
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)#
Related Commands
l2protocol-tunnel custom-pdu (492)
command, and the interface configured to
switchport dot1q-tunnel mode
– 496 –
l2protocol-tunnel custom-
l2protocol-tunnel tunnel-dmac
command.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

As5700-54x

Table of Contents