Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titlePhysical and LLDP, SNMP
collapsetrue
# enable LLDP
#---------------
set protocol lldp interface all

show lldp neighbors
show lldp statistics
show lldp neighbors interface xe-0/0/2

{master:0}
vagrant@vqfx-re> show lldp neighbors
Local Interface    Parent Interface    Chassis Id          Port info          System Name
xe-0/0/0           -                   02:05:86:71:82:00   xe-0/0/0           vqfx-re
xe-0/0/2           -                   08:00:27:f1:b1:b3   eth1               srv12
xe-0/0/1           -                   08:00:27:f1:b1:b3   eth1               srv11





#on the Ubuntu servers:
#----------------------
sudo apt-get update
sudo apt-get install lldpd snmpd -y 
# sudo apt-get install snmp snmp-mibs-downloader -y
sudo service lldpd restart
sudo service snmpd restart

lldpcli show neighbors

snmpwalk -c public -v1 localhost



...