Skip to content

Script uses ssh and telnet to crawl a network and display cdp neighbor information. This information is parsed and the neighbors are connected to and so on.

License

Notifications You must be signed in to change notification settings

bandrel/cdpcrawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

cdpcrawler

Script uses ssh and telnet to crawl a network and display cdp neighbor information. This information is parsed and the neighbors are connected to and so on.

Usage: cdpscanner.py [Options]
  Note: All options are optional.  User is prompted or defaults are used.
  -h or --help:  This help screen
  -i or --inputfile: specifies a file containing hosts to connect to.
  -u or --username: specifies a username to use
  -p or --password: Specifies the password to use
  -v or --verbose: Enables verbose output
  -t or --telnet:  Enables fallback to telnet
  -o or --output:  Prints the inventory of all of the devices at the end
  -H or --hosts:  specifies hosts via comma seperated values
  -T or --threads:  specifices the number of threads (defaults to 8)
  -g or --graph:  enables graphing of the network and specifices the output file

Project dependancies:

netmiko

openpyxl

Graphing function also requires

pydot

Graphviz

About

Script uses ssh and telnet to crawl a network and display cdp neighbor information. This information is parsed and the neighbors are connected to and so on.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages