6.0 HP StorageWorks X9000 File Serving Software CLI Reference (TA768-96040, October 2011)

ibrix_snmpagent
Updates the configuration properties for the SNMP agent.
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 5061 by default. SYSCONTACT, SYSNAME, and SYSLOCATION are optional
MIB-II agent parameters that have no default values.
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): management console
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).
Update SNMPv3:
ibrix_snmpagent -u v 3 [-e engineId] [-p PORT] [-r READCOMMUNITY] [-w
WRITECOMMUNITY] [-t SYSCONTACT] [-n SYSNAME] [-o SYSLOCATION] [-y
{yes|no] [-z {yes|no}] [-c {yes|no}] [-s {on|off}]
The command includes an optional engine ID that overrides the default, which is the agent’s host
name. Because SNMPv3 employs different access methods from v1 and v2, the -y and -z options
are used to determine if a v3 agent can process non-v3 read and write requests from the NMS.
Processing is disabled by default. If processing will be enabled, the -r and -w options are required.
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 management console); 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
ibrix_snmpagent 119