---
title: DCBX
slug: aidc/dcbx
createdAt: 2025-12-01T11:11:08.000Z
---

## <font color="#1d50a2">DCBX View</font>

<font color="#1d05a2">Table 1 DCBX View</font>

| **Command**        | **Purpose**                 |
| ------------------ | --------------------------- |
| **show lldp dcbx** | Display DCBX configuration. |

### <font color="#1d50a2">show lldp dcbx</font>

**\[Command]**
**show lldp dcbx**

**\[Purpose]**
Display DCBX configuration.

**\[View]**
Global Configuration View

**\[Use Cases]**

```plaintext
sonic# show qos roce
Interface    ETS Willing    PFC Willing    ETS Accepted    PFC Accepted
-----------  -------------  -------------  --------------  --------------
0/12         True           False          True            False
```

## <font color="#1d50a2">DCBX Config</font>

<font color="#1d05a2">Table 2 DCBX Config</font>

| **Command**               | **Purpose**                               |
| ------------------------- | ----------------------------------------- |
| **lldp dcbx enable**      | Enable DCBX.                              |
| **lldp dcbx pfc-willing** | Enable PFC configuration synchronization. |
| **lldp dcbx ets-willing** | Enable ETS configuration synchronization. |

### <font color="#1d50a2">lldp dcbx enable</font>

**\[Command]**
**lldp dcbx enable**

**\[Purpose]**
Enable DCBX.

**\[View]**
Interface Configuration View

**\[Notes]**
Run command **no lldp dcbx enable** to disable DCBX.

**\[Use Cases]**

```plaintext
sonic# configure
sonic(config)# interface ethernet 0/12
sonic(config-if-0/12)# lldp dcbx enable
```

### <font color="#1d50a2">lldp dcbx pfc-willing</font>

**\[Command]**
**lldp dcbx pfc-willing**

**\[Purpose]**
Enable PFC configuration synchronization.

**\[View]**
Interface Configuration View

**\[Notes]**
Run command **no lldp dcbx pfc-willing** to disable PFC configuration synchronization.

**\[Use Cases]**

```plaintext
sonic# configure
sonic(config)# interface ethernet 0/12
sonic(config-if-0/12)# lldp dcbx pfc-willing
```

### <font color="#1d50a2">lldp dcbx ets-willing</font>

**\[Command]**
**lldp dcbx ets-willing**

**\[Purpose]**
Enable ETS configuration synchronization.

**\[View]**
Interface Configuration View

**\[Notes]**
Run command **no lldp dcbx ets-willing** to disable ETS configuration synchronization.
The interface with ETS configuration synchronization enabled cannot have a custom ETS configuration, that is, it cannot be bound to a policy-map containing scheduling and priority mapping.

**\[Use Cases]**

```plaintext
sonic# configure
sonic(config)# interface ethernet 0/12
sonic(config-if-0/12)# lldp dcbx ets-willing
```

