Background: Know: SEQUENCE, INTEGER, OCTET STRING, plaintext, context, engine, Recognize:
Up | ||
Previous | Next | |
Down |
SNMPv3 Message format[]
The SNMPv3 message consists of messageVersion, messageHeaderData, messageSecurityparameters and messageData. MessageHeaderData consists of messageID, messageMaxSize, messageFlages and messageSecurityModel. MessageData consists of plaintext and encryptedPDU. Messageplaintext consists of contextEngineID, contextName and data. The SNMPv3 message format is described in RFC 3412 and it is shown in figure 1.
Figure 1 : the SNMPv3 message format.
Explanations are given as follows.
Field Name | Syntax | Size(Bytes) | Description | ||||||||||||||||
messageVersion | Integer | 4 | The value of this field is 3. | ||||||||||||||||
messageHeaderData |
More information about messageHeaderData can be found here HeaderData. | ||||||||||||||||||
messageSecurityParameters | variable | This field contains the security parameters that are security model dependent. The contents of this field are specified in each document describing an SNMPv3 security model. For example, the parameters for the user-based model are in RFC 3414. | |||||||||||||||||
messageData | variable | The structure of plaintext is :
Meanwhile, the syntax of encryptedPDU is octet string. There are different types of PDUs, for example, GetRequest-PDU, GetNextRequest-PDU and Trap-PDU. |
Links to other slides:
- The definition of SNMPv3 can be found in xxU8 Protocol: SNMP
- The definition of SNMPv3 message can be found in Outline: SNMPv3 messages.
- The detailed definition of messageHeaderData can be found in HeaderData.
- Different types of SNMP PDU are defined in xxKW SNMP PDU types.
- The general SNMP message format can be found in xxZ6 SNMP message format
- More information about PDU can be found in xx5RStandard PDU header.
References: