6.1 HP IBRIX X9000 Network Storage System CLI Reference (TA768-96057, June 2012)

ibrix_snmpagent
Updates the configuration properties for the SNMP agent.
NOTE: When Phone Home is enabled, you cannot edit or change the configuration of the X9000
SNMP agent with ibrix_snmpagent. However, you can add trapsink IPs with ibrix_snmtrap
and can associate events to the trapsink IP with ibrix_event.
Description
The SNMP agent is created automatically. It is configured initially as an SNMPv2 agent and is off
by default.
Certain SNMP parameters and the SNMP default port are the same regardless of SNMP version.
The agent port is 161 by default. SYSCONTACT, SYSNAME, and SYSLOCATION are optional MIB-II
agent parameters that have no default values.
NOTE: The default SNMP agent port was changed from 5061 to 161 in the X9000 6.1 release.
This port number cannot be changed.
The -c and -s options are also common to all SNMP versions. The -c option turns the encryption
of community names and passwords on or off. (Encryption is off by default.) The -s option toggles
the agent on and off; it turns the agent on by starting a listener on the SNMP port, and turns it off
by shutting off the listener. The default is off.
Two agent parameters are set at creation and cannot be updated:
SysDescr (description of agent host system): Fusion Manager
SysObjectID (object id of the X9000 software private MIB): .1.3.6.1.4.1.18997
Synopsis
Update SNMPv1 and v2:
ibrix_snmpagent -u v {1|2} [-p PORT] [-r READCOMMUNITY] [-w
WRITECOMMUNITY] [-t SYSCONTACT] [-n SYSNAME] [-o SYSLOCATION] [-c
{yes|no}] [-s {on|off}]
The command takes optional community names. The default READCOMMUNITY name assigned to
the agent is public. No default WRITECOMMUNITY name is set (although the name private is
often used).
Lists SNMP agent properties:
ibrix_snmpagent -l
The information includes SNMP version in use; port in use; values for system contact, name and
location; system description (always Fusion Manager); SysObjectID (the X9000 software vendor
MIB, 1.3.6.1.4.1.18997); whether encryption is in effect; the names of the read and write
communities; and whether the agent is turned on or off.
Options
DescriptionOption
Indicates whether community names or passwords are encrypted in the configuration file.
Default: no encryption. When this option is set to yes, unencrypted community strings and
-c yes|no
passwords are encrypted and saved to a file when the agent starts. To make changes,
replace the entry in the file with a new, unencrypted value. This value will automatically
be encrypted when the agent restarts. If the option is set to “no, the values will not be
changed even if they are in encrypted format; however, they will be decrypted by the
agent.
Lists summary information about the SNMP agent.-l
ibrix_snmpagent 135