6.5 HP StoreAll OS CLI Reference Guide

Table Of Contents
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 StoreAll
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 StoreAll 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 StoreAll 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 Fusion Manager); SysObjectID (the StoreAll 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.
ibrix_snmpagent 185