hp-search-mac -- HP switch search tool.
HP-search-MAC is an util that can query HP switches for their
connection table. It then allow you to search for a MAC address and tell you
where it is physically connected (best match first).
The functionality is similar to traceroute but on Ethernet level and only
for HP switches.
hp-search-mac [options] [MAC] [...]
hp-search-mac [options] mac [ [options] mac ] [...]
--dl n Set debug level to n.
--help Print this help.
--hostname host[=>community] | -h host[=>community] Set a
switch name to search. You can also set this in
/etc/hp-search-mac.conf or ~/.hp-search-mac.conf.
The hash to set is \%switches.
You can use some different formats: ff:ff:ff:ff:ff:ff (hex)
\%switches: This is a normal perl hash of the form \%switches
= (\"host\" => \"community\", ...);
Ola Lundqvist <email@example.com>
hp-search-mac Sun May 4 11:15:49 UTC 2008