Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring LLDP in ACX Series

    You configure LLDP by including the lldp statement and associated parameters at the [edit protocols] hierarchy level. The complete set of LLDP statements follows:

    lldp {
    interface (all | interface-name) {
    }
    interface-name;
    locally-assigned;
    }
    file filename <files number> <size size> <world-readable | no-world-readable>;
    flag flag <flag-modifier> <disable>;
    }
    }

    The following statements have default values:

    • 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) {
    }

    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.

    By default, LLDP generates the SNMP index of the interface for the port ID Type, Length, and Value (TLV). Starting with Junos OS Release 12.3R1, you can generate the interface name as the port ID TLV by including the interface-name statement at the [edit protocols lldp port-id-subtype] hierarchy level. When configure the interface-name, statement on the remote LLDP neighbor, the show lldp neighbors command displays the interface name in the Port ID field rather than the SNMP index of the interface, which is displayed by default. If you change the default behavior of generating the SNMP index of the interface as the Port ID TLV, you can reenable the default behavior by including the locally-assigned statement at the [edit protocols lldp port-id-subtype hierarchy level.

    Modified: 2013-08-21