previous | start | next

SNMP Message Example

The following[3] gives the encoded octets in a get-request message for the data item sysDescr (1.3.6.1.2.1.1.1)
  30      29      02     01    00
SEQUENCE len=41 INTEGER len=1 vers=0

   04     06   70  75  62  6C  69  63
string  len=6   p   u   b   l   i   c

A0       1C      02     04   05 AE 56 02
getReq len=28 INTEGER len=4   -req ID-

   02     01    00      02     01   00
INTEGER len=1 status INTEGER len=1 index

   30      0E      30      0C   06   08
SEQUENCE len=14 SEQUENCE len=12 OID len=8

 2B  06  01  02  01  01  01  00
1.3 . 6 . 1 . 2 . 1 . 1 . 1 . 0

 05    00
NULL len=0
[3] Thanks to Comer for this example.
Lecture 23: Network Management #3 Copyright © 2004 P.Scott, La Trobe University Bendigo.



previous | start | next