MJL85 / natlas

natlas - Network Discovery and Auto-Diagramming
GNU General Public License v2.0
524 stars 114 forks source link

LLDP discovery - Neighbors not discovered. #36

Open LaurentDumont opened 6 years ago

LaurentDumont commented 6 years ago

Hi,

I'm running a QFX stack and a EXT4200 and it doesn't seem like Natlas is able to discover the neighbors when starting at each device. It shows the root device okay but doesn't jump to anything else.

natlas v0.12.1
Michael Laforest <mjlaforest@gmail.com>
Python 3.6.5

     Config file: ./natlas.conf
     Output file: /topology_image/topology-2018-08-30-04-41-42.pdf
Out Catalog file: None
       Root node: 10.0.42.14
  Discover depth: 100
   Diagram title: natlas Diagram

Discovery codes:
    . depth             ! connection error
    + discovering node  > numerating adjacencies
    i include node      L leaf node

Discovering network...
1  [root]  +Switch DI4 (10.0.42.14)
   [root]  >Switch DI4 (10.0.42.14)

Collecting node details...
[1/1]+ Switch DI4 (10.0.42.14) 8.44 sec

Back filling node details...
Created diagram: /topology_image/topology-2018-08-30-04-41-42.pdf

Completed in 0:0:13.33s

The LLDP configuration on each switch looks like the following

set protocols lldp management-address $MANAGEMENT_IP_HERE
set protocols lldp port-id-subtype interface-name
set protocols lldp interface all
set protocols lldp-med interface all

Walking the OIDS that are hard-coded for LLDP does seem to return data but I'm not sure where

.iso.std.iso8802.ieee802dot1.ieee802dot1mibs.lldpMIB.lldpObjects.lldpRemoteSystemsData.lldpRemTable.lldpRemEntry.lldpRemChassisIdSubtype.9271.647.1 = INTEGER: macAddress(4)
.iso.std.iso8802.ieee802dot1.ieee802dot1mibs.lldpMIB.lldpObjects.lldpRemoteSystemsData.lldpRemTable.lldpRemEntry.lldpRemChassisId.9271.647.1 = Hex-STRING: 78 FE 3D 5A 05 3A 
.iso.std.iso8802.ieee802dot1.ieee802dot1mibs.lldpMIB.lldpObjects.lldpRemoteSystemsData.lldpRemTable.lldpRemEntry.lldpRemPortIdSubtype.9271.647.1 = INTEGER: local(7)
.iso.std.iso8802.ieee802dot1.ieee802dot1mibs.lldpMIB.lldpObjects.lldpRemoteSystemsData.lldpRemTable.lldpRemEntry.lldpRemPortId.9271.647.1 = STRING: "578"
.iso.std.iso8802.ieee802dot1.ieee802dot1mibs.lldpMIB.lldpObjects.lldpRemoteSystemsData.lldpRemTable.lldpRemEntry.lldpRemPortDesc.9271.647.1 = STRING: ge-0/0/8
.iso.std.iso8802.ieee802dot1.ieee802dot1mibs.lldpMIB.lldpObjects.lldpRemoteSystemsData.lldpRemTable.lldpRemEntry.lldpRemSysName.9271.647.1 = STRING: core-01
.iso.std.iso8802.ieee802dot1.ieee802dot1mibs.lldpMIB.lldpObjects.lldpRemoteSystemsData.lldpRemTable.lldpRemEntry.lldpRemSysDesc.9271.647.1 = STRING: Juniper Networks, Inc. qfx3500s Ethernet Switch, kernel JUNOS 15.1R7.8, Build date: 2018-04-27 21:10:13 UTC Copyright (c) 1996-2018 Juniper Networks, Inc.
.iso.std.iso8802.ieee802dot1.ieee802dot1mibs.lldpMIB.lldpObjects.lldpRemoteSystemsData.lldpRemTable.lldpRemEntry.lldpRemSysCapSupported.9271.647.1 = BITS: 28 bridge(2) router(4) 
.iso.std.iso8802.ieee802dot1.ieee802dot1mibs.lldpMIB.lldpObjects.lldpRemoteSystemsData.lldpRemTable.lldpRemEntry.lldpRemSysCapEnabled.9271.647.1 = BITS: 28 bridge(2) router(4) 
.iso.std.iso8802.ieee802dot1.ieee802dot1mibs.lldpMIB.lldpObjects.lldpRemoteSystemsData.lldpRemManAddrTable.lldpRemManAddrEntry.lldpRemManAddrIfSubtype.82328459.647.1.ipV4."..*." = INTEGER: unknown(1)
.iso.std.iso8802.ieee802dot1.ieee802dot1mibs.lldpMIB.lldpObjects.lldpRemoteSystemsData.lldpRemManAddrTable.lldpRemManAddrEntry.lldpRemManAddrIfId.82328459.647.1.ipV4."..*." = INTEGER: 0
.iso.std.iso8802.ieee802dot1.ieee802dot1mibs.lldpMIB.lldpObjects.lldpRemoteSystemsData.lldpRemManAddrTable.lldpRemManAddrEntry.lldpRemManAddrOID.82328459.647.1.ipV4."..*." = OID: .iso.org.dod.internet.mgmt.mib-2.ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.0
.iso.std.iso8802.ieee802dot1.ieee802dot1mibs.lldpMIB.lldpObjects.lldpRemoteSystemsData.lldpRemOrgDefInfoTable.lldpRemOrgDefInfoEntry.lldpRemOrgDefInfo.9271.647.1.'...'.1.1 = Hex-STRING: 00 12 0F 01 03 
.iso.std.iso8802.ieee802dot1.ieee802dot1mibs.lldpMIB.lldpObjects.lldpRemoteSystemsData.lldpRemOrgDefInfoTable.lldpRemOrgDefInfoEntry.lldpRemOrgDefInfo.9271.647.1.'...'.1.2 = Hex-STRING: 00 12 0F 03 03 
.iso.std.iso8802.ieee802dot1.ieee802dot1mibs.lldpMIB.lldpObjects.lldpRemoteSystemsData.lldpRemOrgDefInfoTable.lldpRemOrgDefInfoEntry.lldpRemOrgDefInfo.9271.647.1.'...'.1.3 = Hex-STRING: 00 12 
.iso.std.iso8802.ieee802dot1.ieee802dot1mibs.lldpMIB.lldpObjects.lldpRemoteSystemsData.lldpRemOrgDefInfoTable.lldpRemOrgDefInfoEntry.lldpRemOrgDefInfo.9271.647.1.'...'.1.4 = Hex-STRING: 00 90 69 01 50 33 35 
.iso.std.iso8802.ieee802dot1.ieee802dot1mibs.lldpMIB.lldpObjects.lldpRemoteSystemsData.lldpRemOrgDefInfoTable.lldpRemOrgDefInfoEntry.lldpRemOrgDefInfo.9271.647.1.'...'.1.5 = Hex-STRING: 00 80 C2 03 00 2A 07 76 6C 61 
.iso.std.iso8802.ieee802dot1.ieee802dot1mibs.lldpMIB.lldpObjects.lldpRemoteSystemsData.lldpRemOrgDefInfoTable.lldpRemOrgDefInfoEntry.lldpRemOrgDefInfo.9271.647.1.'...'.1.6 = Hex-STRING: 00 80 C2 03 00 60 07 76 6C 61 
.iso.std.iso8802.ieee802dot1.ieee802dot1mibs.lldpMIB.lldpObjects.lldpRemoteSystemsData.lldpRemOrgDefInfoTable.lldpRemOrgDefInfoEntry.lldpRemOrgDefInfo.9271.647.1.'...'.1.7 = Hex-STRING: 00 80 C2 03 00 63 07 76 6C 61 
.iso.std.iso8802.ieee802dot1.ieee802dot1mibs.lldpMIB.lldpObjects.lldpRemoteSystemsData.lldpRemOrgDefInfoTable.lldpRemOrgDefInfoEntry.lldpRemOrgDefInfo.9271.647.1.'...'.1.8 = Hex-STRING: 00 12 BB 

Anything else I can check on my side?

kurt00ar commented 6 years ago

I have the same Issue.

melcher83 commented 5 years ago

Same here, CDP works fine