|Abstract: AIX snmpinfo command to report IP addresses on other AIX peers|
|Security and network administrators have expressed concern over the flexibility of virtual networking, and the ease with which an HMC administrator can quickly place an LPAR on different networks. The AIX snmpinfo command can be used to report what IP addresses are on any given AIX peer.
The Management Information Base (MIB) on AIX contains a vast array of variables and attributes that can be queried or set with snmpinfo. With enablement on AIX as listed in the comments of the script below, the entire MIB may be dumped for review:
# snmpinfo -m dump -v -h <hostname> | more
The comments in the script that follows list the enablement required on AIX, specifically changes to the /etc/snmpdv3.conf file. The script also does a series of snmpinfo -m next calls to read ipAdEntAddr values from the AIX peer system. The community name was left to the default public.