|
SNMP Version 2 (SNMPv2) Message Formats
(Page 3 of 6)
Community-Based SNMP Version 2 (SNMPv2c) Message Format
This version of SNMPv2 was intended
to keep the new protocol enhancements introduced by SNMPv2p but go back
to the simple SNMPv1 security model. As such, the defining document
for SNMPv2c, RFC 1901, specifies that its overall message format is
the same as that of SNMPv1, except that the version number is changed.
This is shown in Table 216
and Figure 281.
Table 216: Community-Based SNMP Version 2 (SNMPv2c) General Message Format
Field
Name
|
Syntax
|
Size (bytes)
|
Description
|
Version
|
Integer
|
4
|
Version Number:
Describes the SNMP version number of this message; used for ensuring
compatibility between versions. For SNMPv2c, this value is 1.
|
Community
|
Octet
String
|
Variable
|
Community
String: Identifies the SNMP community in which the sender and
recipient of this message are located.
|
PDU
|
|
Variable
|
Protocol Data Unit:
The PDU being communicated as the body of the message.
|
|