ON THIS PAGE
Link Layer Discovery Protocol (LLDP)
Juniper Cloud-Native Router supports LLDP on Layer-3 interfaces to advertise capabilities, identity, and other information onto a LAN.
LLDP Overview
The Link Layer Discovery Protocol (LLDP) is an industry-standard method to enable networked devices to advertise capabilities, identity, and other information onto a LAN. The Juniper Cloud-Native Router supports LLDP on Layer 3 interfaces. LLDP information is sent at a fixed interval as an Ethernet frame. Each frame contains one LLDP protocol data unit (PDU). Each LLDP PDU is a sequence of type-length-value (TLV) elements. Cloud-Native Router transmits the following mandatory and non-mandatory TLVs:
Mandatory |
Non-Mandatory |
---|---|
Chassis ID |
Port Description |
Port ID |
System Name |
Time to Live (TTL) |
System Description |
End TLV |
System Capabilities (MAC/PHY configurations and status) |
Link Aggregation (Type 3 and Type 7) |
|
Max Frame Size |
By default Management-address TLV is not supported. The Management-address TLV is sent out only once the management address or management-interface is configured on Cloud-Native Router.
tlv-filter
and tlv-select
to filter or
select non-mandatory TLVs. Cloud-Native Router will receive all TLVs support by Junos OS. You
can view the received TLVs using the show lldp neighbors
command output.
Please review the LLDP Overview junos documentation for more
details.LLDP Configuration
You can configure the following options for the LLDP protocol in the Cloud-Native Router:
# set protocols lldp ? Possible completions: advertisement-interval Transmit interval for LLDP messages (5..32768 seconds) + apply-groups Groups from which to inherit configuration data + apply-groups-except Don't inherit configuration data from these groups > chassis-id Chassis-id to be used for Chassis ID TLV generation dest-mac-type Destination address to be used disable Disable LLDP fast-rx-processing Start optimised processing of received pdu hold-multiplier Hold timer interval for LLDP messages (2..10) > interface Interface configuration lldp-tx-fast-init Transmission count in fast transmission mode (1..8) management-address LLDP management address management-interface Management interface to be used in LLDP PDUs mau-type Populate mau-type in lldp PDU neighbour-port-info-display Show lldp neighbors to display port-id or port-description port-description-type The Interfaces Group MIB object to be used for Port Description TLV generation port-id-subtype Sub-type to be used for Port ID TLV generation system-description System description to be used in system-description TLV system-name System name to be used in system-name TLV + tlv-filter Filter TLVs to be sent + tlv-select Select TLVs to be sent > traceoptions Trace options for LLDP transmit-delay Transmit delay time interval for LLDP messages (1..8192 seconds)
Please review edit-protocols-lldp topic for more details about the configurable options.
You must perform LLDP configuration using a Configlet. Review Customize JCNR Configuration for more details. A sample configlet is provided below:
apiVersion: configplane.juniper.net/v1 kind: Configlet metadata: name: configlet-sample namespace: jcnr spec: config: |- set protocols lldp enable set protocols lldp management-address 192.168.1.10 set protocols lldp advertisement-interval 5 set protocols lldp transmit-delay 1 set protocols lldp hold-multiplier 2 set protocols lldp chassis-id chassis-id-type mac-address set protocols lldp chassis-id chassis-id-value 2c:6b:f5:15:6b:c0 set protocols lldp interface ens19 set protocols lldp system-name jcnr1.ix.juniper.net crpdSelector: matchLabels: node: worker
LLDP Verification
show
commands: