Configuring the LLDP parameters (Optional)

The following steps are optional and non-sequential.
  1. Enter global configuration mode.
    device# configure terminal
  2. (Optional) Specify the maximum number of LLDP neighbors per device
    device(config)#lldp max-total-neighbors 26
    The above example changes the maximum number of LLDP neighbors for the entire device to 26.
  3. (Optional) Specify the maximum number of LLDP neighbors per port
    device(config)#lldp max-neighbors-per-port 6
    The above example changes the maximum number of LLDP neighbors per port to six.
  4. (Optional) Enable LLDP SNMP notifications and Syslog messages
    device(config)#lldp enable snmp notifications ports e 1/4/2 to 1/4/6
    The above example enables SNMP notifications and corresponding Syslog messages on ports 1/4/2 through 1/4/6.
  5. (Optional) Specify the minimum time between SNMP traps and Syslog messages
    device(config)#lldp snmp-notification-interval 60

    When the above example is applied, the LLDP agent will send no more than one SNMP notification and Syslog message every 60 seconds.

  6. (Optional) Change the minimum time between LLDP transmissions
    Note: The LLDP transmit delay timer must not be greater than one quarter of the LLDP transmission interval (CLI command lldp transmit-interval ).
    device(config)#lldp transmit-delay 7

    The above example causes the LLDP agent to wait a minimum of seven seconds after transmitting an LLDP frame and before sending another LLDP frame.

  7. (Optional) Change the interval between regular LLDP transmissions
    device(config)#lldp transmit-interval 40
    The above example causes the LLDP agent to transmit LLDP frames every 40 seconds.
  8. (Optional) Change the holdtime multiplier for transmit TTL
    device(config)#lldp transmit-hold 6

    The above example changes the holdtime multiplier to 6.

  9. (Optional) Change the minimum time between port reinitializations
    device(config)#lldp reinit-delay 5

    The above example causes the device to wait five seconds after LLDP is disabled, before attempting to honor a request to reenable it.