other:hp_procurve_switches_tricks
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
other:hp_procurve_switches_tricks [2016/10/28 21:17] – created - external edit 127.0.0.1 | other:hp_procurve_switches_tricks [2022/11/09 23:06] (current) – rodolico | ||
---|---|---|---|
Line 69: | Line 69: | ||
===== Find which port a particular machine is on (harder way) ===== | ===== Find which port a particular machine is on (harder way) ===== | ||
- | Some things do not have the ability to install lldp daemons. For example, my IPMI connections do not appear to support this. For those, do the following: | + | Some things do not have the ability to install lldp daemons. For example, my IPMI connections do not appear to support this. Note that the arp table only lasts for a while, so if the target has not had any network traffic in a while, you need to generate some traffic. For those, do the following: |
- Get the MAC address of the server' | - Get the MAC address of the server' | ||
- | - Log into the procurve and issue the command //show mac//. If you know what port you need to look at, you can use one of the following to narrow it down | + | |
+ | - Put some activity up to populate the arp table | ||
+ | - If you know the IP address, ping the target. Note that the target does not have to respond, but pinging it will create an arp table entry. | ||
+ | - If you don't know the ip address, but do know the subnet //nmap subnet// will look through all of them. | ||
+ | | ||
- show mac MAC-ADDR | - show mac MAC-ADDR | ||
- it appears the Procurve strips all non-hex characters, so MAC-ADDR can just be all 12 hex digits, or it can have colons, dashes, even periods between groups. Actually, pretty sweet. | - it appears the Procurve strips all non-hex characters, so MAC-ADDR can just be all 12 hex digits, or it can have colons, dashes, even periods between groups. Actually, pretty sweet. |
other/hp_procurve_switches_tricks.1477707440.txt.gz · Last modified: 2016/10/28 21:17 by 127.0.0.1