lldptool-dcbx(8)
π lldptool-dcbx β the DCBX glow-up guide π
okay so welcome to the lldptool-dcbx(8) page bestie, this is the one about DCBX and how to look at it, poke it, and reset it. it's giving "network admin but make it cute". let's get into it π¦
β¨ NAME β¨
DCBX β Show / manipulate DCBX configuration
like, that's the whole job. showing it and manipulating it. main character energy fr.
πΈ SYNOPSIS πΈ
lldptool -t -i ethx -V IEEE-DCBX -c [mode]
lldptool -T -i ethx -V IEEE-DCBX mode=reset
lldptool -t -i ethx -V <CIN-DCBX|CEE-DCBX> -c [enableTx]
lldptool -T -i ethx -V <CIN-DCBX|CEE-DCBX> enableTx=<yes|no>
look at those four little lines. iconic. that's the whole vibe of this page, everything else is lore π
π§ DESCRIPTION β DCBX MODE π§
so lldpad supports these versions of the DCB capabilities exchange (DCBX) protocol:
- CIN DCBX β
<http://download.intel.com/technology/eedc/dcb_cep_spec.pdf> - CEE DCBX β
<http://www.ieee802.org/1/files/public/docs2008/az-wadekar-dcbx-capability-exchange-discovery-protocol-1108-v1.01.pdf> - IEEE DCBX β See the IEEE 802.1Qaz-2011 specification for details.
IEEE DCBX is the default DCBX mode for a DCB capable interface. so bestie, that means the default and configured IEEE DCBX TLVs get transmitted when the interface comes up. no cap. β¨
lldpad can be globally configured to support one of the legacy DCBX versions (CIN or CEE). and here's the tea π΅: if the remote LLDP agent does not transmit any IEEE DCBX TLVs and does transmit a legacy DCBX TLV which matches the configured legacy DCBX version, then the DCBX mode will drop back to legacy DCBX mode. it will not transition back to IEEE DCBX mode until the next link reset. π
and if lldpad has dropped back to legacy DCBX mode for a given interface and the daemon is stopped and restarted, the legacy DCBX mode for that interface will be used instead of starting out in IEEE DCBX mode. > this behavior only applies to the case where lldpad is restarted and is not persistent across a system reboot. so don't come for me after a reboot, it resets.
the DCBX mode can be queried and configured by using the special tlvid IEEE-DCBX. there is not an actual TLV which corresponds to this tlvid β its whole use is to query and reset the IEEE DCBX mode. when queried, IEEE DCBX mode can take the following values:
autoβ IEEE DCBX will be used (initially) iflldpadis restarted. An exception is if the DCBX mode has been forced to a legacy DCBX mode, then the specified legacy mode will be used. See information about the'dcbx'parameter indcbtool(8)for more information about this exception.CEEβ CEE DCBX will be used iflldpadis restartedCINβ CIN DCBX will be used iflldpadis restarted
the IEEE DCBX mode can be reset to auto by setting the mode argument to the value reset π«
π DESCRIPTION β DCBX CONFIGURATION π
the detailed configuration of the IEEE DCBX TLVs lives in the related lldptool man pages for each IEEE DCBX TLV β go read lldptool-pfc(8), lldptool-ets(8) and lldptool-app(8). iykyk π«Ά
the detailed configuration of the CIN and CEE DCBX TLVs is performed using dcbtool (see dcbtool(8)). however, lldptool can configure the enableTx parameter of the CIN and CEE DCBX TLVs (as it can with most other TLVs). and since lldpad only transmits TLVs for one version of DCBX on any given interface, the enableTx parameter for the CIN and CEE DCBX TLVs (and for the IEEE DCBX feature TLVs) takes effect only when the corresponding DCBX version is active. that's the catch, bestie π
π ARGUMENTS π
mode=resetβ Reset the DCBX mode that will be used iflldpadis restarted, by setting themodeargument toresetusing the special tlvidIEEE-DCBX. like a little factory reset for your mode, but only for restart time πenableTxβ Enable the specified DCBX TLV (CIN-DCBXorCEE-DCBX) to be transmitted in the LLDPDU if that DCBX mode for the specified interface has been selected. so it only actually does anything when the right mode is on, periodt.
π₯ EXAMPLE & USAGE π₯
Query the current DCBX mode that will be used if lldpad is restarted. (this is not a persistent setting π)
lldptool -t -i eth3 -V IEEE-DCBX -c mode
Reset the DCBX mode to be 'auto' (start in IEEE DCBX mode) after the next lldpad restart
lldptool -T -i eth3 -V IEEE-DCBX mode=reset
Enable transmission of the CEE DCBX TLV
lldptool -T -i eth3 -V CEE-DCBX enableTx=yes
Disable transmission of the CIN DCBX TLV
lldptool -T -i eth3 -V CIN-DCBX enableTx=no
Query the configuration of enableTx for the CEE DCBX TLV
lldptool -t -i eth3 -V CEE-DCBX -c enableTx
π NOTES π
literally nothing here bestie. the section is empty. it's giving minimalism. we respect it. π
π SEE ALSO π
dcbtool(8), lldptool(8), lldptool-ets(8), lldptool-pfc(8), lldptool-app(8), lldpad(8)
go read them, they're all part of the same friend group πΈ
π¦ AUTHOR π¦
Eric Multanen
and that's the whole page, bestie!! you slayed it π this was brought to you by open-lldp, dated August 2012 β yes it's been iconic since 2012, we love a timeless queen. mwah π β¨
π¦ where this page comes from
- alpine 3.22: open-lldp-doc 1.1-r2 Β· GPL-2.0-only
- alpine 3.23: open-lldp-doc 1.1-r3 Β· GPL-2.0-only
- alpine 3.24: open-lldp-doc 1.1-r3 Β· GPL-2.0-only
- centos-stream 10: lldpad 1.1.1-4.gitf1dd9eb.el10 Β· GPL-2.0-only
- centos-stream 9: lldpad 1.1.1-5.gitf1dd9eb.el9 Β· GPL-2.0-only
- centos-stream 9: lldpad 1.1.1-5.gitf1dd9eb.el9 Β· GPL-2.0-only
- debian bookworm: lldpad 1.1+git20221028.aa18720-1 Β· GPL-2.0-only
- debian trixie: lldpad 1.1.1-1+b1 Β· GPL-2.0-only
- fedora 43: lldpad 1.1.0-14.git85e5583.fc43 Β· GPL-2.0-only
- fedora 43: lldpad 1.1.0-14.git85e5583.fc43 Β· GPL-2.0-only
- fedora 44: lldpad 1.1.0-16.git85e5583.fc44 Β· GPL-2.0-only
- fedora 44: lldpad 1.1.0-16.git85e5583.fc44 Β· GPL-2.0-only
- opensuse-leap 16.0: open-lldp 1.1+110.f16f944-160000.1.1 Β· GPL-2.0-only
- opensuse-leap 16.0: open-lldp 1.1+110.f16f944-160000.1.1 Β· GPL-2.0-only
- opensuse-leap 16.0: open-lldp 1.1+110.f16f944-160000.1.1 Β· GPL-2.0-only
- opensuse-leap 16.0: open-lldp 1.1+110.f16f944-160000.1.1 Β· GPL-2.0-only
- ubuntu jammy: lldpad 1.1-1 Β· GPL-2.0-only
- ubuntu noble: lldpad 1.1+git20221028.aa18720-2 Β· GPL-2.0-only
- ubuntu questing: lldpad 1.1.1-1build1
- ubuntu resolute: lldpad 1.1.1-1build2 Β· GPL-2.0-only
- ubuntu stonking: lldpad 1.1.1-1build2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms