HP-SEARCH-MAC(1)

πŸ“¦
version 0.1.5.2build1 Β· 3 versions
, in ubuntu resolute, ubuntu stonking

✨ NAME ✨

okay so bestie, welcome to hp-search-mac β€” the HP switch search tool πŸ’– that's the whole name, that's the whole vibe, section 1 of the manual, we're here, we're thriving πŸ¦‹


🌸 DESCRIPTION 🌸

HP-search-MAC is a util that can query HP switches for their connection table πŸ” it's literally giving network detective energy. Then it lets you search for a MAC address and tells you where that MAC is physically connected β€” and bestie, it gives you the best match first, because we don't do mid results in this house πŸ‘‘

The functionality is similar to traceroute but on Ethernet level, and only for HP switches. Ethernet-level traceroute?? not me being obsessed with that concept fr fr πŸ˜­πŸ’…


πŸŽ€ USAGE πŸŽ€

hp-search-mac [options] [MAC] [...]

πŸ’… OPTIONS πŸ’…

hp-search-mac [options] mac [ [options] mac ] [...]

so yes, you can stack them β€” options, a mac, more options, another mac, the whole little parade 🫢

options, as promised:

  • --dl n β€” sets the debug level to n. turn it up if you want to see the ~lore~ πŸ‘€
  • --help β€” prints this help. it's giving helpful. it's giving supportive friend πŸ’–
  • --hostname host[=>community] / -h host[=>community] β€” sets a switch name to search πŸ” you can also set this in /etc/hp-search-mac.conf or ~/.hp-search-mac.conf instead, if you're a config-file kind of person πŸŽ€ The hash to set is \%switches.

Mac, the main character of the arguments:

  • you can use some different formats, and honestly? versatile icon behavior πŸ‘‘
    • ff:ff:ff:ff:ff:ff (hex)
    • ff-ff-ff-ff-ff-ff (hex)
    • 0.123.0.12.0.12.0 (dec)

🧚 CONFIGURATION 🧚

  • \%switches β€” this is a normal perl hash of the form:
\%switches = ("host" => "community", ...);

just a lil hash, doing lil hash things, holding your hosts and their communities together πŸ“


🌈 AUTHOR 🌈

Ola Lundqvist <ola@inguza.com> β€” thank you for this, legend πŸ‘‘


⭐ SEE ALSO ⭐

  • snmp-walk(1)
  • snmp-get(1)

and that's the page bestie!! this one's hp-search-mac, dated Mon Dec 15 19:23:15 UTC 2025, and it came to you courtesy of the User Contributed Perl Documentation crew πŸ’œ slay, go find some MAC addresses, you've got this 🫢✨

πŸ“¦ where this page comes from