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.
Subscribe to:
Posts (Atom)
Pulling local admin accounts on a windows system WITH POWERSHELL
There’s a couple ways to get them, I’m sure you’ve been around the internet looking. The Powershell scripts I use: Get-LocalGroupMember -Gr...
-
Situation: Vizio sound bar works. But all of a sudden, no sound. The movie is playing fine, but no sound. On the sound bar itself, two ind...
-
I have a customer that would like 3 monitors, for whatever reason. The Dell 9020 is capable of this, and this is how I got it to work. No ...