LLDPCLI(8) System Manager's Manual LLDPCLI(8) (NAME) lldpcli, lldpctl - LLDP (SYNOPSIS) lldpcli [-dv] [-u socket] [-f format] [-c file] [command ...] lldpctl [-dv] [-u socket] [-f format] [interfaces ...] (DESCRIPTION) lldpcli lldpd(8) . lldpcli . . : -d . . -u socket lldpd(8). -v lldpcli. . -f format . plain, xml, json, json0 keyvalue . plain . json0 json JSON . -c file . . .conf . . lldpctl lldpcli . . lldpcli . . show neighbors ports eth0 summary sh neigh p eth0 sum . exit lldpcli. help [...] . ? . lldpcli readline help . show neighbors [ports ethX [,...]] [details | summary] [hidden] lldpd(8). summary . details . hidden . . show interfaces [ports ethX [,...]] [details | summary] [hidden] lldpd(8). summary . details . hidden . . show chassis [details | summary] . summary . details . watch [ports ethX [,...]] [details | summary] [hidden] [limit X] . . hidden summary details . limit lldpcli . show configuration lldpd(8). show statistics [ports ethX [,...]] [summary] LLDP LLDPDU . . summary . update lldpd(8) PDU LLDP . configure system hostname name . FQDN uname -n . "." () FQDN . unconfigure system hostname . configure system description description . unconfigure system description . configure system chassisid description MAC . unconfigure system chassisid MAC ( ) . configure system platform description . CDP . unconfigure system platform . . configure system capabilities enabled capabilities . . . : bridge docsis other repeater router station telephone wlan : configure system capabilities enabled bridge,router unconfigure system capabilities enabled . . configure system interface pattern pattern LLDPDU (CSV). lldpd . . . . . . eth*,!eth1,!eth2 lldpd eth eth1 eth2. *,!eth*,!!eth1 lldpcli eth eth1. . eth0.12 VLAN . unconfigure system interface pattern . . configure system interface permanent pattern lldpd . lldpd ( ). . . eth*,eno*,enp* . unconfigure system interface permanent . . . configure system interface description . lldpd ( ) . unconfigure system interface description . . configure system interface promiscuous . ( lldpd) . Cisco 2960 VLAN . LLDP . VLAN ( VLAN 1) VLAN . . VLAN 1 . . VLAN VLAN 1 . unconfigure system interface promiscuous . . configure system ip management pattern pattern (CSV). ( ) . IPv4 IPv6 . IP . IPv4 IPv6 . IPv6 !*:* . IPv4 IPv6 . unconfigure system ip management pattern . . configure system bond-slave-src-mac-type value MAC LLDP . : real MAC zero MAC fixed (00:60:08:69:97:ef) local MAC . MAC . bond-slave-src-mac-type local . ( 00:00:00:00:00:00 MAC MAC ). local MAC ( ). configure system max-neighbors neighbors ( ) . . . . configure lldp agent-type nearest-bridge | nearest-non-tpmr-bridge | nearest-customer-bridge MAC LLDPDU LLDPDU . MAC 01:80:c2:00:00:0e LLDPDU (nearest-bridge). lldpd MAC 01:80:c2:00:00:03 nearest-nontpmr-bridge . MAC 01:80:c2:00:00:00 nearest-customer-bridge . configure lldp capabilities-advertisements TLV . . unconfigure lldp capabilities-advertisements TLV . configure lldp management-addresses-advertisements TLV . . unconfigure lldp management-addresses-advertisements TLV . configure lldp portidsubtype ifname | macaddress configure [ports ethX [,...]] lldp portidsubtype local value . lldpd MAC . . ( ifname) MAC ( macaddress) ( value) . . configure lldp portdescription-source auto | ifname | alias TLV . ( portidsubtype local ). : auto macaddress . . . ifname . alias . . configure [ports ethX [,...]] lldp portdescription description . configure lldp tx-interval interval . LLDP PDU . . . : lldpd . tx-interval . interval "ms" ( "configure lldp tx-interval 1500ms" ). TTL LLDP . : . configure lldp tx-hold hold . TTL . . TTL . configure [ports ethX [,...]] lldp status rx-and-tx | rx-only | tx-only | disabled . rx-and-tx . LLDP ( ) . rx-only tx-only . disabled . ( -r) . configure [ports ethX [,...]] lldp vlan-tx vlan_id [prio priority [dei dei]] LLDP VLAN . VLAN (VID) vlan_id (PCP) priority (DEI) dei. lldpd LLDP VLAN . configure [ports ethX [,...]] lldp custom-tlv [add | replace] oui oui subtype subtype [oui-info content] TLV OUI oui subtype content. oui content . oui . add TLV . . replace TLV oui subtype . unconfigure [ports ethX [,...]] lldp custom-tlv [oui oui] [subtype subtype] oui TLV . OUI oui subtype TLV . configure [ports ethX [,...]] lldp vlan-advertisements pattern pattern VLAN (CSV). ( ) . lldpd VLAN . unconfigure [ports ethX [,...]] lldp vlan-advertisements pattern VLAN . configure lldp fast-start enable | tx-interval interval LLDP. LLDP lldpd LLDPDU . enable LLDP tx-interval LLDPDU . . . LLDPDU . unconfigure lldp fast-start LLDP. configure [ports ethX [,...]] med location coordinate latitude latitude longitude longitude altitude altitude unit datum datum ( ). latitude N S . longitude E W . altitude m f . . datum : o WGS84 o NAD83 o NAD83/MLLW : configure ports eth0 med location coordinate latitude 48.85667N longitude 2.2014E altitude 117.47 m datum WGS84 configure [ports ethX [,...]] med location address country country [type value [...]] ( ). country . . . : o language o country-subdivision o county o city o city-division o block o street o direction o trailing-street-suffix o street-suffix o number o number-suffix o landmark o additional o name o zip o building o unit o floor o room o place-type o script : configure ports eth1 med location address country US street "Commercial Road" city "Roseville" configure [ports ethX [,...]] med location elin number ELIN. . 0 . : configure ports eth2 med location elin 911 configure [ports ethX [,...]] med policy application application [unknown] [tagged] [vlan vlan] [priority priority] [dscp dscp] ( ). . application : o voice o voice-signaling o guest-voice o guest-voice-signaling o softphone-voice o video-conferencing o streaming-video o video-signaling unknown . (Endpoint Devices) (Network Connectivity Devices). . VLAN vlan 802.1q VLAN . . tagged VLAN . priority IEEE 802.1d / IEEE 802.1p (CoS) . VLAN . 802.1D-2004 ( G-2) . . . : 1 background 0 best-effort 2 excellent-effort 3 critical-applications 4 video 5 voice 6 internetwork-control 7 network-control dscp DSCP . DiffServ/Differentiated Services Code Point (DSCP) IETF RFC 2474 . : ( RFC 2475) . : DSCP IP (ToS) . ( RFC ) : configure med policy application voice vlan 500 priority voice dscp 46 configure inventory hardware-revision value . /sys/class/dmi . unconfigure inventory hardware-revision /sys/class/dmi. configure inventory software-revision value . uname . unconfigure inventory software-revision uname. configure inventory firmware-revision value . /sys/class/dmi . unconfigure inventory firmware-revision /sys/class/dmi. configure inventory serial-number value . /sys/class/dmi . unconfigure inventory serial-number /sys/class/dmi. configure inventory manufacturer value . /sys/class/dmi . unconfigure inventory manufacturer /sys/class/dmi. configure inventory model value . /sys/class/dmi . unconfigure inventory model /sys/class/dmi. configure inventory asset value . /sys/class/dmi . unconfigure inventory asset /sys/class/dmi. configure [ports ethX [,...]] med power pse | pd source source priority priority value value TLV LLDP-MED POE-MDI . PD ( ) PSE ( ) . LLDP-MED : o PD 802.3af . o PD PSE . o PSE PD . o PSE . o PSE PD . lldpcli : PD PSE . LLDP-MED PSE ( ) . lldpcli . . PD . MIB LLDP-MED . : pse (Power Sourcing Entity) pd (Power Device) : unknown primary PSE . backup PSE ( PSE UPS ). pse PD PSE . local PD . both PD PSE . : unknown critical high low value PD PSE . : configure med power pd source pse priority high value 5000 configure [ports ethX [,...]] dot3 power pse | pd [supported] [enabled] [paircontrol] powerpairs powerpairs [class class] [type type source source priority priority requested requested allocated allocated] Dot3 POE-MDI TLV . PD ( ) PSE ( ) . LLDP-MED POE-MDI TLV . supported MDI enabled MDI . paircontrol . powerpairs : signal . spare . class class- . class-0 class-1 class-2 class-3 class-4. 802.3at : 0 () PD PSE 1 PD PSE 2 PD PSE 3 PD PSE 4 (PoE+) PD PSE 802.3at . type 802.3at 802.3at . source priority LLDP-MED POE-MDI TLV . requested allocated . : configure ports eth3 dot3 power pse supported enabled paircontrol powerpairs spare class class-3 configure dot3 power pd supported enabled powerpairs spare class class-3 type 1 source pse priority low requested 10000 allocated 15000 pause lldpd. lldpd . resume . lldpd lldpcli . resume lldpd. lldpd . pause . (FILES) /run/lldpd/socket lldpd(8). (SEE ALSO) lldpd(8) (AUTHORS) lldpcli Vincent Bernat . Linux 6.12.107+deb13-amd64 July 16, 2008 Linux 6.12.107+deb13-amd64