![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/f/fa/ffa63819-0092-4e25-b43b-b3dd7442913c/ffa63819-0092-4e25-b43b-b3dd7442913c-bg1a8.png)
xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
420
56
LAYER 2 PROTOCOL TUNNELING (L2PT) COMMANDS
Users at different sites connected across a service-provider network need to use various Layer 2 protocols to scale their topologies
to include all remote sites, as well as the local sites. STP must run properly, and every VLAN should build a proper spanning tree
that includes the local site and all remote sites across the service-provider network.
Layer 2 Protocol Tunneling (L2PT), also known as BPDU tunneling, is a feature designed for service providers who carry traffic
of multiple customers across their networks and are required to maintain the Layer 2 protocol configurations of each customer
without impacting the traffic of other customers.
The L2PT commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following
table.
Command Parameters
config bpdu_tunnel ports [ <portlist> | all ] type [tunnel {stp|gvrp}|uplink|none]
show bpdu_tunnel
enable bpdu_tunnel
disable bpdu_tunnel
Each command is listed, in detail, in the following sections.
config bpdu_tunnel ports
Purpose Used to configure L2PT on specified ports.
Syntax
[<portlist> | all ] type [tunnel {stp|gvrp}|uplink|none]
Description This command is used to configure L2PT on ports.
When Q-in-Q is enabled on the Switch, the DA will be replaced by the tunnel multicast
address, and the BPDU will be tagged with the tunnel VLAN based on the Q-in-Q VLAN
configuration and the tunnel/uplink settings.
When Q-in-Q is enabled on the Switch, the BPDU will have its DA replaced by the tunnel
multicast address and be transmitted out based on the VLAN configuration and the
tunnel/uplink settings.
The tunnel multicast address for STP BPDU is 01-05-5d-00-00-00.
The tunnel multicast address for GVRP BPDU is 01-05-5d-00-00-21.
Parameters ports – Specifies the ports on which L2PT will be enabled or disabled.
type – Specifies the type of ports.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To configure L2PT on ports:
DGS-3426:5#config bpdu_tunnel ports 1:1-1:4 type tunnel stp
Command: config bpdu_tunnel ports 1:1-1:4 type tunnel stp
Success.
DGS-3426:5#