Which command do I use ?
thank you
"netstat -I <interface>" should do the job
J.Luebbers
--
Jochen Lübbers lueb...@tele-data-electronic.de
Software Development Group I lueb...@tde-online.de
TDE - Tele Data Electronic GmbH s...@tde-online.de
----
"Wer die Freiheit aufgibt, um Sicherheit zu gewinnen,
der wird am Ende beides verlieren" (Benjamin Franklin)
Jochen Lübbers a écrit dans le message <3C10E3F0...@tde-online.de>...
netstat -v will give the "BURNED IN" MAC address for all your adapters.
However, programs like HACMP can do MAC address swapping and thus the
burned in MAC address might not be the one currently in use. Use
netstat -i for the inuse MAC address. The MAC address is the one
displayed in the "Link" line. All values between "."s are 2 digits
even though netstat might show only one. Add a leading 0 if necessary
to get the proper 2 digit value.
- Matt
--
_______________________________________________________________________
Matthew Landt - AIX and HACMP Cert. Specialist - la...@austin.ibm.com
IBM High Speed Interconnect - Fibre Channel I/O Dev/Test/Support
<< Comments, views, and opinions are mine alone, not IBM's. >>
Or you could also use lscfg to display the physical hardware of the
adapter. The Network Address (MAC) should be listed.
lscfg -vl entX
netstat -v
lscfg -v -l entX
shows the burned in address on most adapters (not all)
lsattr -E -l entX
shows the UAA (Universally Administered Address) if used
snaadmin -d query_port | grep mac
Paul Landay
There's a third approach:
# entstat <enet interface>|grep "Hardware Address"|awk '{print $3}'
-Dan