lldpcli command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
lldpcli: command not found
or when using sudo you get the following error message
sudo: lldpcli: command not found
Solutions to lldpcli: command not found
How To Fix lldpcli: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu lldpcli is provided by lldpd package.
lldpd is:
LLDP is an industry standard protocol designed to supplant proprietary Link-Layer protocols such as Extreme’s EDP (Extreme Discovery Protocol) and CDP (Cisco Discovery Protocol). The goal of LLDP is to provide an inter-vendor compatible mechanism to deliver Link-Layer notifications to adjacent network devices.
This implementation provides LLDP sending and reception, supports VLAN and includes an SNMP subagent that can interface to an SNMP agent through AgentX protocol.
This daemon is also able to deal with CDP, SONMP, FDP and EDP protocol. It also handles LLDP-MED extension.
To fix this problem, we can install more using the command below.
sudo apt-get -y install lldpd
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install lldpd.
sudo apt -y install lldpd
Or if you have aptitude installed you can use the following command.
sudo aptitude install lldpd
Summary
In this tutorial we learn how to fix lldpcli command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.