---
title: L2PT
slug: aidc/l2pt
createdAt: 2026-01-27T11:10:14.288Z
---

## L2PT Config

<font color="#1d05a2">Table 1 L2PT Config</font>****

| **Command**                                                 | **Purpose**                                        |
| ----------------------------------------------------------- | -------------------------------------------------- |
| **l2protocol-tunnel \{stp\|pvstp\|cdp\|lacp\|lldp} enable** | Enable STP\|PVSTP\|CDP\|LACP\|LLDP protocol tunnel |

### <font color="#1d50a2">**l2protocol-tunnel \{stp|pvstp|cdp|lacp|lldp\} enable**</font>

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

**\[Purpose]**
Enable STP|PVSTP|CDP|LACP|LLDP protocol tunnel

**\[View]**
Interface Configuration View

**\[Notes]**
Currently, only CX308P-48Y-NF ,CX532P-NF and CX732Q-N-V2devices support this feature.
Execute the**no l2protocol-tunnel \{stp|pvstp|cdp|lacp|lldp} enable**command to disable STP|PVSTP|CDP|LACP|LLDP protocol tunnel.

**\[Use Cases]**

```plaintext
sonic# configure
sonic(config)# interface ethernet 0/8
sonic(config-if-0/8)# l2protocol-tunnel stp enable
```



