lldp
Syntax
lldp { advertisement-interval seconds; (disable | enable); hold-multiplier number; { chassis-id (chassis-id-type | chassis-id-value) } interface (all | [interface-name]) { (disable | enable); power-negotiation <(disable | enable)>; tlv-filter; tlv-select; trap-notification (disable | enable); } lldp-configuration-notification-interval seconds; management-address ip-management-address;; mau-type; netbios-snooping; no-tagging; neighbour-port-info-display (port-description | port-id); port-description-type (interface-alias | interface-description); port-id-subtype (interface-name | locally-assigned); ptopo-configuration-maximum-hold-time seconds; ptopo-configuration-trap-interval seconds; tlv-filter; tlv-select; traceoptions { file filename <files number> <size maximum-file-size> <world-readable | no-world-readable>; flag flag <disable>; } transmit-delay (LLDP) seconds; vlan-name-tlv-option (name | vlan-id); }
Hierarchy Level
[edit protocols], [edit routing-instances routing-instance-name protocols]
Description
Configure Link Layer Discovery Protocol (LLDP). The switch uses LLDP to advertise its identity and capabilities on a LAN, as well as to receive information about other network devices. LLDP is defined in the IEEE standard 802.1AB-2005.
The transmit-delay and netbios-snooping options are not available on QFabric systems.
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:
error: name: 'me0': Invalid interface error: statement creation failed: interface
Issuing the command set protocols lldp interface vme
generates
the following error message:
error: name: 'vme': Invalid interface error: statement creation failed: interface
Default
LLDP is disabled. If you configure LLDP for all interfaces, you can later disable a particular interface.
The interface-name
must be the physical interface and not a
logical interface (unit).
Options
advertisement-interval seconds |
Specify the frequency at which LLDP advertisements are sent. This value is also used in combination with the hold-multiplier value to determine the length of time LLDP information is held before it is discarded. The Note:
The default value of
|
disable | enable |
Disable or enable LLDP on the device.
|
hold-multiplier number |
Specify the multiplier used in combination with the advertisement-interval value to determine the length of time LLDP information is held before it is discarded.
|
lldp-configuration-notification-interval seconds |
Specify how often SNMP trap notifications are generated as a result of LLDP database changes.
|
management-address ip-management-address; |
Specify the management address to be used in LLDP Management Address type, length, and value (TLV) messages. The Management Address TLV typically contains the IPv4 or IPv6 management addresses of the local system. Only out-of-band management addresses can be used for the management-address. Other remote managers can use this address to obtain information related to the local device.
|
mau-type |
(EX4300, EX9200, and EX9250 switches only) Configure the switch to advertise information about the medium attachment unit (MAU) type. The MAU is a transceiver that interconnects the attachment unit interface (AUI) port on an attached host computer to an Ethernet cable. MAU types are defined in the IEEE 802.3 standard. The MAU type is included in the MAC/PHY Configuration Status type, length, and value (TLV) message. TLVs are used by LLDP-capable devices to transmit information to neighbor devices. The MAC/PHY Configuration Status TLV is an organizationally defined TLV that advertises information about the physical interface. In addition to the MAU type, the MAC/PHY Configuration Status TLV also includes information such as autonegotiation status, support, and advertised capabilities. The MAU type cannot be changed by configuration; however, you must
configure the
|
netbios-snooping |
(EX2200, EX3200, EX3300, EX4200, EX4500, EX4550, EX6210, EX8208, and EX8216 switches only) Enable NetBIOS snooping to learn information about NetBIOS hosts that are connected to the switch. |
no-tagging |
(EX2200, EX3200, EX3300, EX4200, EX4500, EX4550, EX6210, EX8208, and EX8216 switches only) Configure the switch to send LLDPDUs without including VLAN tags on the interfaces on which VLAN tagging is enabled (tagged interfaces).
|
neighbour-port-info-display (port-description | port-id) |
Configure the type of LLDP neighbor port information that the device
displays in the Devices in a network use LLDP to learn about and identify neighbor devices. LLDP-capable devices transmit information in type, length, and value (TLV) messages to neighbor devices. The
|
port-description-type (interface-alias | interface-description) |
Configure the value to be used to generate the Port Description TLV that the device advertises to neighbors.
|
The remaining statements are explained separately. See CLI Explorer.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 9.0.
management-address
introduced in Junos OS Release 9.5.
netbios-snooping
introduced in Junos OS Release 11.1 for
EX2200, EX3200, EX3300, EX4200, EX4500, EX4550, EX6210, EX8208, and EX8216
switches.
port-description-type
introduced in Junos OS Release 13.3R5, 14.2R2,
14.1R4, and 12.3R9.
no-tagging
introduced in Junos OS Release 14.1X53-D10 for
EX2200, EX3200, EX3300, EX4200, EX4500, EX4550, EX6210, EX8208, and EX8216
switches.
neighbour-port-info-display
introduced in Junos OS Release
14.1X53-D40 and Release 15.1R5 and Release 16.1R3.
mau-type
introduced in Junos OS Release 15.1 for EX4300,
EX9200, and EX9250 switches.
chassis-id
introduced in Junos OS Evolved, Release 23.3R1.