Installing an LLDP Linux agent
The installation procedures for packages lldp-agent-redhat.zip and lldp-agent-ubuntu.zip are the same. The following information describes the installation procedure for the lldp-agent-redhat.zip package.
An LLDP Linux agent must be installed on 64-bit Linux, including Red Hat 5.5, Ubuntu 11.0, and their later versions.
To install and configure an LLDP Linux agent:
Set the executable permission to the install.sh script and run the script in the LLDP Linux agent installation path.
The LLDP Linux agent is installed.
Configure the LLDP Linux agent.
The LLDP Linux agent supports either LLDP or CDP, but not both at the same time. By default, the agent supports LLDP.
To enable the LLDP agent to support CDP and set the packet sending interval:
Open the lldpagent.conf file in the conf directory.
vi lldpagent.conf
Delete the pound sign (#) from the string #Agent=CDP.
Delete the pound sign (#) from the string #INTERVAL=10 and set the interval as needed.
The default setting is 300 seconds.
Save and close the file.
Restart the lldp-agent service.
service lldp-agent restart