Solarwinds used to have a product. I think it was called LANSurveyor that was free and could create network diagrams directly in Visio. I don't know if they still have it or not. Most switch vendors have a tool (ie: Cisco's is Cisco Network Assistant) that you can download and use for free to create network documentation. Python script to help map a network connected to Cisco switches. Every time a cable is connected to (or disconnected from) a supported Cisco switch, a message is displayed over SSH, similar to the following. Data is stored using a SQL database for scalability and speed. Layer-2 topology protocols such as CDP (Cisco Discovery Protocol) optionally provides automatic discovery of the network topology. The network is inventoried by both device model and operating system (like IOS). Understand your network so you can defend it better 10 Free Or Low-Cost Network Discovery And Mapping Tools. 10 Free Or Low-Cost Network Discovery And Mapping Tools. I ran into this 'work in progress' Network mapper. Up to now only CLI and still rudimentary but doing the discovery via CDP and OSPF. I think this thing has lots of potential and may be nice for playing around in the lab environment. Corel painter 2019 serial number mac. TcL Network Interface Mapper Is there a way to run a a TcL script that checks the MAC Address table, compares it to the ARP table, does an NSLookup for each entry, and gives a list of interfaces with the hostname of the device that's attached? Benefits Cisco’s software-defined wide area network (SD-WAN) solution allows user to quickly.
Python script to help map a network connected to Cisco switches.
Every time a cable is connected to (or disconnected from) a supported Cisco switch, a message is displayed over SSH, similar to the following:
This script aggregates these messages from multiple switches. By unplugging and plugging in devices at each network hop, a map of the network can slowly be formed. This is useful in situations where the network ports and patch panels have not been proplerly labeled. When first started, the script will create a CSV file (if it doesn't already exist) with all the necessary information. It will then ask the user where they are, ie. what hop of the network they are at. The user then needs to connect and disconnect each network cable and tell the script the name of the plug.
Each entry is checked against the current entry in the CSV file, and the new entry is saved. If the location is at the 'Wall Plug' then an additional description can be added.
![]() Requirements
Instructions
Variables at the top of the file:
username - Log in name for the switch.
password - Log in password for the switch.
switches - The list of switches, formatted: [Switch Number/Name, IP Address, Number of ports]. Note: Switch Number/Name can also be text.
locations - Locations with patch panels and sockets, formatted: [Location Number, Location name].
header - Main header that appears at the top of every file, including the Switch Name, Port Number, and Port Name.
description_loc - Determines which location will trigger the request for a description. By default it's the Wall Plug.
file_name - The name of the file that will be generated and then used.
For debugging purposes, the line at the top of the script that calls logging.basicConfig can be uncommented to view SSH debug info:
Cisco Networking Academy
Additionally, the main program can be run with just one switch to troubleshoot any connection issues:
Network Mapping ToolsRead more reviews >Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |