HP Interface Manager and Command View for Tape Libraries 3.7 User Guide

a network. The Interface Manager card has a built-in SNMP agent that supports
queries to MIB-II in addition to SNMP traps/alerts.
Syntax set network snmpcommunity [read] | [write] | [read6] |
[write6] string
Availability All users and modes
Operands Specify whether this command will
define the read or write community
[read] | [write] | [read6]
| [write6]
string. Read and Write will set the
strings for IPV4. Read6 and Write6 will
set the strings for IPV6.
string Specify the plain-text community string
or password required by SNMP clients
to read or write SNMP MIB values. This
operand is required.
Examples To set the SNMP write community string to mycommunity:
/>set network snmpcommunity write mycommunity
To set the SNMP read community string to public:
/>set network snmpcommunity read public
See also show network snmpcommunity
set network snmptrap
Description Creates a SNMP trap. SNMP traps allow the Interface Manager to send
asynchronous notifications of internal events.
Syntax set network snmptrap [[add]] | [[remove]]ip_add
trap_string severity snmp_ver mib_type
Availability All users and modes
Operands Specifies whether this operation will add a new
trap destination or remove an existing one. ip_addr
specifies the IP address of the trap receiver.
[add] | [remove]
ip_addr Specifies the IP address of the trap receiver.
trap_string Specifies the string that will be sent by the Interface Module.
Check the application that will be receiving the traps to
determine what this string should be. severity specifies the
level of event that will generate the trap. It is a combination
of one or more of the letters 'c', 'w', and 'i'; the letters
correspond to severity levels of Critical, Warning, and
Informational.
snmp_ver Specifies the version of SNMP being used. It can be 1 or 2. Set
this to 1 unless the network environment requires 2. mib_type
Specifies the type of SNMP MIB. It can be semi or isee. Set this
to semi unless the network environment requires isee.
mib_type Specifies the type of SNMP MIB. It can be semi or isee. Set this
to semi unless the network environment requires isee.
NOTE: When removing a trap destination, only the IP address needs to be
specified.
Examples set network snmptrap add 10.0.0.10 public cwi 1 semi
set network snmptrap remove 10.0.0.50
set network snmptrap 217