lldptool(8)

πŸ’– lldptool(8) β€” APP πŸ’–

okay bestie, welcome to the lldptool girlies' guide to the APP TLV ✨ this one lives in the Linux manual pages and it's literally all about showing off and manipulating your APP TLV configuration πŸŽ€


🌸 NAME 🌸

APP β€” show / manipulate APP TLV configuration πŸ¦‹


✨ SYNOPSIS ✨

lldptool -t -i ethx -V APP [-c app]

lldptool -T -i ethx -V APP [-d] app=prio,sel,pid

like. that's the whole vibe. two modes, that's it πŸ’…


πŸ’… DESCRIPTION πŸ’…

okay so the APP TLV is an informational TLV β€” it's giving "just here to share the news", no cap. It advertises the current configured application table πŸ“’

and here's the tea: if the peer APP TLV and a local APP TLV both match on the same selector and protocol field, then the local parameter is used. local wins, periodt. πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • app β€” sets up a local application data field using three lil parameters: priority (prio), selector (sel), and protocol (pid). and if you pass the -d option too? it removes the entry that matches all three of those parameters πŸ—‘οΈβœ¨

🧚 Theory of Operations 🧚

so for most end stations, the APP TLV is an informational TLV. it is not expected that setting APP data should be required β€” like, chill, you probably don't need to touch it 🫢

by default, peer data gets processed and added to the application data table automatically, assuming there isn't already a local entry with matching selector and priority fields. (key word: assuming πŸ‘€)

and why do we even care? because once APP data is in the application table, it's available for applications β€” eg iscsid β€” to query πŸ” those applications query for a specific protocol and selector, and they can use that data to map traffic to the corresponding traffic class. it's giving matchmaker energy honestly πŸ’˜


🌈 EXAMPLE & USAGE 🌈

Configure ISCSI application for priority 4 on eth2

lldptool -T -i eth2 -V APP app=4,2,3260

Configure FCoE application for priority 3 on eth2

lldptool -T -i eth2 -V APP app=3,1,35078

Remove FCoE application for priority 3 on eth2

lldptool -T -i eth2 -V APP -d app=3,1,35078

Display locally configured application table on eth2

lldptool -t -i eth2 -V APP -c app

Display last transmitted APP TLV on eth2

lldptool -t -i eth2 -V APP

see? iconic. ate and left no crumbs πŸ“


⭐ SOURCE ⭐


πŸ‘‘ SEE ALSO πŸ‘‘

lldptool(8), lldpad(8)


πŸ’œ AUTHOR πŸ’œ

John Fastabend


fr fr, that's the whole page. go configure some application tables, bestie, you've got this πŸ’ͺπŸ¦‹

open-lldp Β· February 2010 β€” yeah she's vintage, but she's still serving πŸ’… mwah 😘