User Tools

Site Tools


other:hp_procurve_switches_tricks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
other:hp_procurve_switches_tricks [2016/10/28 21:17] – created - external edit 127.0.0.1other: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's NIC in question   - Get the MAC address of the server's NIC in question
-  - 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+  - If you have vlan's, ensure the one which the machine on has an IP, otherwise you can not ping it. This can be temporary 
 +  - 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. 
 +  - Log into the procurve and issue the command //show mac// or //show arp//. If you know what port you need to look at, you can use one of the following to narrow it down
      - 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