Netmap stands for Network Mapper, a tool that maps your inventory of network devices and creates a graph to visualize. Netmap starts collecting LLDP information with a single device credential and recursively lookup to create a graph. At the moment the tool supports only Arista devices.
curl -s https://raw.githubusercontent.com/opennetworktools/netmap/refs/heads/main/install.sh | bash
go install github.com/opennetworktools/[email protected]
- Clone the repo
- Run
go build .
- Run
go install
- Run
make
- Check
dist/
directory
The graph can be created using the command netmap create
,
roopesh:~/ $ netmap create --help
Create topology diagram
Usage:
netmap create
Flags:
-h, --help help for create
-n, --hostname string hostname to connect
-p, --password string password to connect to the host
-u, --username string username to connect to the host
roopesh:~/ $ netmap create -n ok270 -u admin -p password