Tuesday, April 14, 2009

MAC adress using AIX command

To locate the MAC (Media Access Control) address (in the form ff:ff:ff:ff:ff:ff) using AIX use the command:

netstat -v |pg

Look for the section starting ETHERNET STATISTICS (interface) - underneath this will be the Hardware Address. This netstat command may return more than one entry - to identify the appropriate interface use the command:

netstat -i

This command will list the interface name, network, and address. The interface name should match the one presented above.