FW V06.XX/HAFM SW V08.02.00 HP StorageWorks SNMP Reference for Directors and Edge Switches (AA-RQ7BE-TE, July 2004)
SNMP Support
23SNMP Reference for Directors and Edge Switches
There are different formats for the SNMP protocol data units (PDUs), including
trap PDUs, for SNMPv1 and SNMPv2. These are summarized here:
SNMPv1 Trap PDU:
[ Enterprise | Agent address | Generic trap type |
Specific trap code | Time stamp | Object/Value 1 |
Object/Value 2…. ]
The following descriptions summarize these fields:
■ Enterprise—Identifies the type of managed object generating the trap.
■ Agent address—Provides the address of the managed object generating the
trap.
■ Generic trap type—Indicates one of a number of generic trap types.
■ Specific trap code—Indicates one of a number of specific trap codes.
■ Time stamp—Provides the amount of time that has elapsed between the last
network reinitialization and generation of the trap.
■ Variable bindings—The data field of the SNMPv1 Trap PDU. Each variable
binding associates a particular object instance with its current value.
The following descriptions summarize the fields illustrated below for the
SNMPv2 PDU format:
■ PDU type—Identifies the type of PDU transmitted (Get, GetNext, Inform,
Response, Set, or Trap).
■ Request ID—Associates SNMP requests with responses.
■ Error status—Indicates one of a number of errors and error types. Only the
response operation sets this field. Other operations set this field to zero.
■ Error index—Associates an error with a particular object instance. Only the
response operation sets this field. Other operations set this field to zero.
■ Variable bindings—Serves as the data field of the SNMPv2 PDU. Each
variable binding associates a particular object instance with its current value
(with the exception of Get and GetNext requests, for which the value is
ignored).
Get, GetNext, Inform, Response, Set, and Trap PDUs Contain the Same Fields:
[PDU type | Request ID | Error status | Error index |
Object/Value 1 | Object/Value 2]