Configuration Guide Vol. 2


24.2.2 Configuring LLDP

<Structure of this section>

(1) LLDP function settings

Points to note

Configuration of LLDP requires enabling of LLDP for the entire device, and then enabling of LLDP for the port for which it will be used.

The example below enables LLDP for port 1/0/1.

Command examples

  1. (config)# lldp run

    Enables LLDP for the entire device.

  2. (config)# interface gigabitethernet 1/0/1

    Switches to the Ethernet interface configuration mode for port 1/0/1.

  3. (config-if)# lldp enable

    Starts operation of LLDP functionality at port 1/0/1.

(2) Setting LLDP Frame Transmit Interval/Hold Time

Points to note

How often neighboring device information is updated can be adjusted by changing the interval for sending LLDP frames. If the interval is decreased, the information is updated more often.If the interval is increased, the information is updated less often.

Command examples

  1. (config)# lldp interval-time 60

    Sets 60 seconds as the interval for sending LLDP frames.

  2. (config)# lldp hold-count 3

    Sets the retention time during which the destination-neighboring device will retain the information it received from the Switch.The sending interval time multiplied by the number of sending intervals specified here creates the retention time. In this example, the retention time is 180 seconds (60 seconds x 3).

(3) Setting the management address to be sent

Points to note

When you configure a management address, the neighboring devices are notified of the configured IP address. IP address that can be configured is not limited to IP address configured on the interface.

Command examples

  1. (config)# lldp management-address ip 192.168.1.20

    Set the administrative address of Management Address TLV to be sent to 192.168.1.20.