HP-UX lacks the -a flag for the ifconfig command which I have used on all other UNIX and Linux variants. An alternative is to create an alias for the following command which outputs the equivalent.
for i in `netstat -rn |grep lan |cut -c55-59 |sort |uniq`; do ifconfig $i; done
Or another alternative using lanscan.
for i in `lanscan -i | awk '{print $1}'` ; do ifconfig $i ; done