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:

  1. 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.

  2. Configure the LLDP Linux agent.

    The configuration file lldpagent.conf is located in the conf directory of the LLDP Linux agent installation path.

    The LLDP Linux agent supports both LLDP and CDP. You can enable either of them, but not both. By default, the agent supports LLDP.

    To enable the LLDP agent to support CDP and set the packet sending interval:

    1. Open the lldpagent.conf file in the conf directory.

      vi lldpagent.conf
      
    2. Delete the pound sign (#) from the string #Agent=CDP.

    3. Delete the pound sign (#) from the string #INTERVAL=300, and then set the interval as needed.

      The default setting is 300 seconds.

    4. Save and close the file.

  3. Restart the lldp-agent service.

    service lldp-agent restart