SNMP Configuration and Management Manual

The NonStop SNMP Environment
SNMP Configuration and Management Manual424777-006
1-7
General SNMP Message Format
General SNMP Message Format
Each PDU is embedded in a message, or packet, beginning with a version number and
a community name. The version number identifies the version of SNMP being
implemented; currently, this value is always 1 for NonStop SNMP messages. The
community name identifies one or more SNMP managers; it is used for access
control. Following the version and community identifiers is one of the five types of
PDUs.
Request PDUs
The three kinds of request PDUs have the same format as the response PDU, but the
error-status and error-index fields are always set to 0. The request-id uniquely
identifies individual requests. Variable-bindings are a list of variable names and
corresponding values.
Figure 1-3. Format of SNMP Messages
version community PDU
PDU type request-id 0 0 variable-bindings
PDU type request-id error-status error-index variable-bindings
PDU type enterprise
agent-
address
generic-
trap
specific-
trap
time-
stamp
variable-bindings
General SNMP Message Format
Format of GetRequest, GetNextRequest, and SetRequest PDUs
Format of GetResponse PDU
Format of Trap PDU
name-1 value-1 name-n value-n
Format of Variable Bindings
VST011.vsd