Line 1... |
Line 1... |
1 |
v1.1
|
1 |
v2.0.0
|
2 |
|
2 |
|
3 |
This script polls network switch ports to see which MAC addresses are assigned to them, then polls the arp table
|
3 |
This script polls network switch ports to see which MAC addresses are assigned to them, then polls the arp table
|
4 |
on one or more routers to determine the IP address. It then uses reverse DNS to look up the name of the device
|
4 |
on one or more routers to determine the IP address. It then uses reverse DNS to look up the name of the device
|
5 |
|
5 |
|
6 |
The script requires snmp to be installed (no MIB files required), and uses the perl module YAML::Tiny. On a Debian based
|
6 |
The script requires snmp to be installed (no MIB files required), and uses the perl module YAML::Tiny. On a Debian based
|
Line 41... |
Line 41... |
41 |
Script does not need any special permissions so can be run as any user.
|
41 |
Script does not need any special permissions so can be run as any user.
|
42 |
|
42 |
|
43 |
mapSwitchesCSV.pl accepts two positional parameters. The first is the delimiter for the output, the second is a character to
|
43 |
mapSwitchesCSV.pl accepts two positional parameters. The first is the delimiter for the output, the second is a character to
|
44 |
encapsulate the columns. Default is a tab for delimiter and no encapsulation.
|
44 |
encapsulate the columns. Default is a tab for delimiter and no encapsulation.
|
45 |
|
45 |
|
46 |
Tested under Devuan Jessie, connecting to HP Procurve and OpnSense router
|
46 |
Tested under Devuan Jessie, connecting to HP Procurve and OpnSense router, and on HP A5120 with IPFire router
|