---
title: L2PT Configuration
slug: enterprise-v6p1/l2pt-configuration
createdAt: 2025-12-04T06:29:22.501Z
---

## <font color="#1d50a2">L2PT Configuration</font>

###

**\[Command]**
**l2protocol-packet \{stp|lacp} disable**

**\[Purpose]**
Disable punting of STP or LACP packets

**\[View]**
Interface view

**\[Use Cases]**

```plaintext
sonic(config)# interface ethernet 1
sonic(config-if-1)# l2protocol-packet stp disable
```

### <font color="#1d50a2">l2protocol-tunnel</font>

**\[Command]**
**l2protocol-tunnelt \{stp|lacp|pvstp|cdp} enable**

**\[Purpose]**
Enable layer-2-protocol tunneling on the interface

**\[View]**
Interface view

**\[Usage Scenario]**
L2PT (Layer 2 Protocol Transparent Transmission) is a technology used to extend Local Area Network (LAN) connections across Wide Area Networks (WAN). Simply put, it allows Layer 2 protocol packets from user networks in different geographical locations (such as corporate headquarters and branch offices) to be transparently transmitted through the carrier network (or large enterprise backbone network) as if passing through a "dedicated tunnel

**\[Use Cases]**

```plaintext
sonic(config)# interface ethernet 1
sonic(config-if-1)# l2protocol-tunnel stp enable
```

****
