lldptool(8)
๐ lldptool(8) โ PFC ๐
okay bestie, this one's the lldptool page for PFC, and yes it lives on Linux. pull up a chair, we're doing TLV stuff โจ
๐ NAME ๐
PFC โ show / manipulate PFC TLV configuration. that's it, that's the name, short and iconic ๐
โจ SYNOPSIS โจ
lldptool -t -i ethx -V PFC [ -c [ enableTx | willing | enabled | delay ]
]
lldptool -T -i ethx -V PFC <CONFIG_ARG=value ...>
CONFIG_ARG:=
enableTx=<yes|no>
willing=<yes|no|0|1>
enabled=<none|[0..7],[0..7],...>
delay=<integer value>
like, first form is the read vibe, second form is the write vibe, and CONFIG_ARG is the little menu of things you can set ๐
๐ธ DESCRIPTION ๐ธ
the PFC TLV is used to display and set current PFC TLV attributes. display AND set. both. versatile queen ๐
๐ ARGUMENTS ๐
enableTxโ turns on the PFC TLV so it gets transmitted in the LLDP PDU for the interface you picked. put it in the mail, fr fr ๐ฌwillingโ display or set the willing attribute. if you set it toyesand a peer TLV shows up, then the peer's PFC attributes get used. if you set it tono, then the locally configured attributes are the ones that count. basically: are you flexible or are you set in your ways ๐enabledโ display or set the priorities that have PFC enabled. when you're setting it, it takes a comma separated list of priorities to enable, or the stringnoneto disable all priorities.none= the "i'm not doing this today" option ๐delayโ display or set the delay attribute, which is what configures PFC thresholds in hardware buffers. here's the tea: if PFC is enabled and frames keep getting dropped because the hardware buffers are full, then bumping this value up may help. may. no promises, that's literally what it says ๐ซถ
๐ฎ Theory of Operations ๐ฎ
so the PFC TLV uses the Symmetric attribute passing state machine defined in IEEE 802.1Qaz. what that means for you, bestie, is that which attributes get used depends on the willing bit:
- if the willing bit is set to
1and a peer TLV is received, then the peer's attributes get used - if the willing bit is set to
0, the local attributes get used - and when both the peer and the local configuration are willing? tie breaking scheme, baby. someone has to win โ๏ธ
for the detailed coverage, go read the specification. this page is giving you the highlights, not the whole novel ๐
๐ EXAMPLE & USAGE ๐
enable PFC for priorities 1, 2, and 4 on eth2
lldptool -T -i eth2 -V PFC enabled=1,2,4
disable PFC for all priorities on eth2
lldptool -T -i eth2 -V PFC enabled=none
display configuration of PFC enabled priorities for eth2
lldptool -t -i eth2 -V PFC -c enabled
display last transmitted PFC TLV on eth2
lldptool -t -i eth2 -V PFC
see how it's the same command with -t vs -T? lowercase t is "tell me", capital T is "do the thing". iykyk ๐
๐ SOURCE ๐
IEEE 802.1Qaz(http://www.ieee802.org/1/pages/dcbridges.html)
๐ฆ NOTES ๐ฆ
(nothing here, she's empty, we respect that ๐ธ)
๐ SEE ALSO ๐
๐ AUTHOR ๐
John Fastabend
okay that's the whole page!! this came from open-lldp, dated August 2012 โ yes she's an elder but she's still slaying, and honestly? iconic. go configure your priorities, bestie, i believe in you ๐ โจ๐
๐ฆ 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