MJL85 / natlas

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

mnet not discovering network #23

Open MadPAM opened 6 years ago

MadPAM commented 6 years ago

Hi, I'm trying to discover part of our network. I start at that sites core switch and it gets discovered without issues. But the scripts says that it found 0 links. The core is a pair of 6506 running VSS and bootdisk:/s2t54-adventerprisek9_npe-mz.SPA.152-1.SY3.bin (from the devices file). Here is the output of mnet.py: Config file: network.txt Root node: 10.18.224.1 Output file: network.png Crawl depth: 10 Diagram title: MNet Network Diagram Out Catalog file: devices.txt

  +***SW01 (10.18.224.1)
  >***SW01 (10.18.224.1)

----- DEVICES


  Name: ***SW01
    IP: 10.18.224.1

Platform: None IOS Ver: None Routing: yes OSPF ID: 10.255.224.1 BGP LAS: 65100 HSRP Pri: None HSRP VIP: None VSS Mode: 1 VSS Domain: 50 VSS Slot 0: IOS: None Serial: None Platform: None VSS Slot 1: IOS: None Serial: None Platform: None Stack Cnt: 0 Loopbacks: Not configured. SVIs: Not configured. Links: Discovered devices: 1 Discovered links: 0 Created graph: network.png

I have the subnet included in the settings file: "subnets" : [ "10.18.224.0/24"

There are currently 9 switches connected to this main switch and all of them have cdp enable. Walking 1.3.6.1.4.1.9.9.23 shows them just fine. Not sure how the script discovers them.

Anybody have a hint what could be happening?

I'm using Python 2.7 on Windows Server 2012 R2.

MadPAM commented 6 years ago

as an FYI - if I run the same script from Linux it works! This is using the same settings and devices to discover...