JRA Posted February 1, 2022 Posted February 1, 2022 Afternoon all, Back in the day I used to have the old HP ProCurve manager. With that I could find the switch and port a device (PC printer etc) was on by searching for it's MAC address. Is there anything around now that can do that? Thanks all.
psydii Posted February 1, 2022 Posted February 1, 2022 If you have nothing then doing it by hand works. start at the root bridge sh mac-address MACADDRESS gives you the port by which packets leave the core switch to head off to the AP. - probably at this point there is a switch on the other end of this cable. then sh lldp in re to confirm the details of what is on the port then ssh into the next device along and repeat until you find the device/port you are looking for. We have a NM tool that does it for us, but if I'm up to my eyeballs in cli, I'll often do it the long way to avoid breaking my flow. 1
Davit2005 Posted February 1, 2022 Posted February 1, 2022 We use a switch management tool to but I rarely use it, mostly use the cli We trace the MAC address from the core switch all the way through mostly. 750 switches it can be laborious but if we get an idea of the location we can normally find in a few steps. From a core switch running the ProVision software (similar to the old ProCurve). The show mac-address can also be run on an individual switch too. You can execute sh mac-address as @psydii mentioned or sh mac-a most of the time for short. On a core switch that the device has it's gateway on, in Provision you can also do things like a sh arp search to see an IP from a MAC or MAC address from an IP which can also be handy. sh arp | include MACADDRESS sh arp | include IPADDRESS 2
JRA Posted February 1, 2022 Author Posted February 1, 2022 Thanks for that. Oddly tried the menu way by scouring the VLAN on all three of the switches the device could be plugged into but not a sausage. In fact, that didn't seem to show any devices at all in ANY VLANs, so I'd wondered if that'd been a new thing HP retired from the cli terminal login "menu". show mac-address brings up the arp-something as per usual, but scouring it not seeing the address I'm after. And not seeing any obvious way to export or ctrl+f that. Cheers again though.
Davit2005 Posted February 1, 2022 Posted February 1, 2022 Thanks for that. Oddly tried the menu way by scouring the VLAN on all three of the switches the device could be plugged into but not a sausage. In fact, that didn't seem to show any devices at all in ANY VLANs, so I'd wondered if that'd been a new thing HP retired from the cli terminal login "menu". show mac-address brings up the arp-something as per usual, but scouring it not seeing the address I'm after. And not seeing any obvious way to export or ctrl+f that. Cheers again though. If you use putty you can set the log output to a file. If you cannot find the MAC address there is going to be an issue that is for sure. It could be device has gone to sleep, not plugged in or even an issue with the individual switch (i.e. I've had issues with certain firmware on older switches after enabling DHCP snooping) 1
JRA Posted February 1, 2022 Author Posted February 1, 2022 If you use putty you can set the log output to a file. If you cannot find the MAC address there is going to be an issue that is for sure. It could be device has gone to sleep, not plugged in or even an issue with the individual switch (i.e. I've had issues with certain firmware on older switches after enabling DHCP snooping) Oh man didn't even know you could do that in putty! Super useful thank you. It's not in there. And TBH it's an external PoE camera so I'm assuming a magpie or a rugby ball has interfered with it and I need to get the ladder out. Thanks much everyone.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now