CLI Reference Guide-R04

Table Of Contents
Chapter 22
| VLAN Commands
Configuring L2PT Tunneling
– 607 –
recognized as a Generic Bridge PDU Tunneling (GBPT) protocol packet (i.e.,
having the destination address 01-00-0C-CD-CD-D0), it is forwarded to the
following ports in the same S-VLAN:
other access ports for which L2PT is enabled after decapsulating the
packet and restoring the proper protocol and MAC address
information.
all uplink ports.
When a Cisco-compatible L2PT packet is received on an access port, and
recognized as a CDP/VTP/STP/PVST+ protocol packet, and
L2PT is enabled on this port, it is forwarded to the following ports in the
same S-VLAN: (a) other access ports for which L2PT is enabled, and
(b) uplink ports after rewriting the destination address to make it a
GBPT protocol packet (i.e., setting the destination address to 01-00-0C-
CD-CD-D0).
L2PT is disabled on this port, it is forwarded to the following ports in
the same S-VLAN: (a) other access ports for which L2PT is disabled, and
(b) all uplink ports.
recognized as a GBPT protocol packet (i.e., having the destination address
01-00-0C-CD-CD-D0), and
L2PT is enabled on this port, it is forwarded to other access ports in the
same S-VLAN for which L2PT is enabled
L2PT is disabled on this port, it is forwarded to the following ports in
the same S-VLAN: (a) other access ports for which L2PT is disabled, and
(b) all uplink ports.
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 dot1q-tunnel tpid command.
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
[no] switchport l2protocol-tunnel {cdp | lldp | pvst+ | spanning-tree | vtp}
cdp - Cisco Discovery Protocol
lldp - Link Layer Discovery Protocol