Tag Archives: lldp

Enable LLDP on JUNOS

By default LLDP is not running on JUNOS, but it is trivially easy to enable. To activate LLDP on all interfaces:

[edit]
root@svalinn# set protocols lldp interface all

And to get information on both the local lldp status, and the neighbours:

root@svalinn# run show lldp local-information

LLDP Local Information details

Chassis ID   : 78:19:f7:aa:5e:40
System name  : svalinn
System descr : Juniper Networks, Inc. srx210b , version 12.1X44-D30.4 Build date: 2014-01-11 05:25:31 UTC

System Capabilities
Supported       : Bridge Router
Enabled         : Bridge Router

Interface name    Parent Interface  SNMP Index      Interface description    Status    Tunneling
fe-0/0/7.0        -                 527             fe-0/0/7.0               Up        Disabled

root@svalinn# run show lldp detail

LLDP                   : Enabled
Advertisement interval : 30 seconds
Transmit delay         : 2 seconds
Hold timer             : 4 seconds
Notification interval  : 0 Second(s)
Config Trap Interval   : 0 seconds
Connection Hold timer  : 300 seconds

LLDP MED               : Disabled

Interface      Parent Interface    LLDP        LLDP-MED    Neighbor count
all            -                   Enabled     -           1

Interface      Parent Interface    Vlan-id     Vlan-name
fe-0/0/7.0     -                   5           vlan-oam
LLDP basic TLVs supported:
Chassis identifier, Port identifier, Port description, System name, System
description, System capabilities, Management address.

Supported LLDP 802 TLVs:
MAC/PHY configuration/status, Power via MDI, Link aggregation, Maximum frame
size, Port VLAN tag, Port VLAN name.

root@svalinn# run show lldp neighbors
Local Interface    Parent Interface    Chassis Id          Port info          System Name
fe-0/0/7.0         -                   00:1c:73:61:ae:d7   Ethernet47         tm214.ire.aristanetworks.com

[edit]