Telnet to switch
login,
(it would be a good idea to enable logging before running these)
enable
switch#>sh arp
this will give the mac/ip list
switch#>show mac address-table
This will give mac/port
I enabled logging so I had a notepad with all the data.
Manually went in and made it a CSV, there might be a way to do this automatically, but I didn't do it that way...
In the end, after manipulating the data in excel, I ended up with a workable list of IP, MAC, and Port numbers. I figured nslookup is easy enough to find out what the device is via the IP, but I guess you could go to DNS/DHCP also.
No comments:
Post a Comment