Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

interface (LLDP)

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 9.0 for EX Series switches.

Statement introduced in Junos OS Release 9.6 for MX Series.

Statement introduced in Junos OS Release 11.1 for the QFX Series.

power-negotiation introduced in Junos OS Release 12.2 for EX and QFX Series switches.

Statement introduced in Junos OS Release 14.1X53-D20 for OCX Series switches.

trap-notification introduced in Junos OS Release 15.1R7-S3 for EX3300, EX4200, EX4500, EX4550, EX6200, EX8200 switches.

Description

Configure Link Layer Discovery Protocol (LLDP) on all interfaces or on a particular interface.

Note

On MX Series and T Series routers, you run LLDP on a physical interface, such as ge-1/0/0, and not at the logical interface (unit) level.

Starting with Junos OS Release 14.2, on MX Series devices, you can also configure LLDP on management interfaces, such as fxp or me.

For information about interface names, see Interface Naming Overview. For information about interface names for TX Matrix routers, see TX Matrix Router Chassis and Interface Names. For information about FPC numbering on TX Matrix routers, see Routing Matrix with a TX Matrix Router FPC Numbering.

For information about extended port names in the Junos Fusion technology, see Understanding Junos Fusion Ports .

Note

On EX4300 switches, LLDP cannot be configured on the me0 or vme interface. Issuing the command set protocols lldp interface me0 generates the following error message:

Issuing the command set protocols lldp interface vme generates the following error message:

Options

(all | [interface-name-list])Configure LLDP on all interfaces or on one or more interfaces.
(disable | enable)Disable or enable LLDP on all interfaces or on the specified interfaces.

Default: Disable

power-negotiation <(disable | enable)>(EX, QFX Series only) Configure LLDP power negotiation, which negotiates with Power over Ethernet (PoE) powered devices to allocate power.

You must also configure the management class statement at the [edit poe] hierarchy level to activate LLDP power negotiation.

Values: Configure one of the following:

  • disable—Disable LLDP power negotiation.

  • enable—Enable LLDP power negotiation.

trap-notification (disable | enable)Disables or enables the LLDP and physical topology SNMP traps for the specific interface or all the interfaces.

Values: Configure one of the following:

  • disable—Disable the LLDP and physical topology SNMP trap notifications.

  • enable—Enable the LLDP and physical topology SNMP trap notifications.

Default: disable

The remaining statements are explained separately. Search for a statement in CLI Explorer or click a linked statement in the Syntax section for details.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.