[an error occurred while processing this directive][an error occurred while processing this directive]

Configuring LLDP

You configure LLDP by including the lldp statement and associated parameters at the [edit protocols] hierarchy level. By default, LLDP is not enabled on interfaces. Minimally, include the enable statement at the [edit protocols lldp] hierarchy level to enable LLDP on the device. Several enabled features have default values, while others must be configured explicitly. The complete set of LLDP statements follows:

lldp {advertisement-interval seconds;disable;hold-multiplier number;interface (all | interface-name) {disable;}lldp-configuration-notification-interval seconds;ptopo-configuration-maximum-hold-time seconds;ptopo-configuration-trap-interval seconds;traceoptions {file filename <files number> <size size> <world-readable | no-world-readable>;flag flag <flag-modifier> <disable>;}transmit-delay seconds}

The following statements have default values that are applied when LLDP is enabled:

  • advertisement-interval—The default value is 30 seconds. The allowable range is from 5 through 32768 seconds.
  • hold-multiplier—The default values is 4. The allowable range is from 2 through 10.
  • ptopo-configuration-maximum-hold-time—The default value is 300 seconds. The allowable range is from 1 through 2147483647 seconds.
  • transmit-delay—The default values is 2 seconds. The allowable range is from 1 through 8192 seconds.

The following statements must be explicitly configured:

  • lldp-configuration-notification-interval—The allowable range is from 0 through 3600 seconds. There is no default value.
  • ptopo-configuration-trap-interval—The allowable range is from 1 through 2147483647 seconds. There is no default value.

To disable LLDP on all or a particular interface, include the interfaces statement at the [edit protocols lldp] hierarchy level:

interface (all | interface-name) {disable;}

To disable LLDP on all interfaces, use the all option. To disable LLDP on a particular interface, include the disable statement with the interface name.

Note: The interface-name must be the physical interface (for example, ge-1/0/0) and not a logical interface (unit).

The advertisement interval determines the frequency that an LLDP interface sends LLDP advertisement frames. The default value is 30 seconds. The allowable range is from 5 through 32768 seconds. You adjust this parameter by including the advertisement-interval statement at the [edit protocols lldp] hierarchy level.

The hold multiplier determines the multiplier to apply to the advertisement interval. The resulting value in seconds is used to cache learned LLDP information before discard. The default value is 4. When used with the default advertisement interval value of 30 seconds, this makes the default cache lifetime 120 seconds. The allowable range of the hold multiplier is from 2 through 10. You adjust this parameter by including the hold-multiplier statement at the [edit protocols lldp] hierarchy level.

The transmit delay determines the delay between any two consecutive LLDP advertisement frames. The default value is 2 seconds. The allowable range is from 1 through 8192 seconds. You adjust this parameter by including the transmit-delay statement at the [edit protocols lldp] hierarchy level.

The physical topology configuration maximum hold time determines the time interval for which an agent device maintains physical topology database entries. The default value is 300 seconds. The allowable range is from 1 through 2147483647 seconds. You adjust this parameter by including the ptopo-configuration-maximum-hold-time statement at the [edit protocols lldp] hierarchy level.

The LLDP configuration notification interval determines the period for which trap notifications are sent to the SNMP Master Agent when changes occur in the database of LLDP information. This capability is disabled by default. The allowable range is from 0 (disabled) through 3600 seconds. You adjust this parameter by including the lldp-configuration-notification-interval statement at the [edit protocols lldp] hierarchy level.

The physical topology configuration trap interval determines the period for which trap notifications are sent to the SNMP Master Agent when changes occur in the global physical topology statistics. This capability is disabled by default. The allowable range is from 0 (disabled) through 3600 seconds. The LLDP agent sends traps to the SNMP Master Agent if this interval has a value greater than 0 and there is any change during the lldp-configuration-notification-interval trap interval. You adjust this parameter by including the ptopo-configuration-trap-interval statement at the [edit protocols lldp] hierarchy level.


Published: 2010-05-11

[an error occurred while processing this directive]