0% found this document useful (0 votes)
58 views18 pages

4 SNMP V2

This document describes SNMP Version 2, including its structure within the OID tree, the definitions of its PDUs (protocol data units), transport mappings over UDP, CLNP, AppleTalk DDP, and IPX, the system and snmp groups implemented, the snmpMIB group, and proxy agent operation. It also lists relevant RFCs such as 1157, 2271-2275.

Uploaded by

Fathan Muhammad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views18 pages

4 SNMP V2

This document describes SNMP Version 2, including its structure within the OID tree, the definitions of its PDUs (protocol data units), transport mappings over UDP, CLNP, AppleTalk DDP, and IPX, the system and snmp groups implemented, the snmpMIB group, and proxy agent operation. It also lists relevant RFCs such as 1157, 2271-2275.

Uploaded by

Fathan Muhammad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 18

SNMP Version 2

Chapter 5

Branch

OID

RFC

snmpV2
snmpDomains

{1.3.6.1.6}
{1.3.6.1.6.1}

1442
1442,1902,1906

snmpProxys

{1.3.6.1.6.2}

1442,1902,1906

snmpModules

{1.3.6.1.6.3}

1442,1902

snmpMIB

{1.3.6.1.6.3.1} 1450, 1907

snmpM2M

{1.3.6.1.6.3.2} 1451

partyMIB

{1.3.6.1.6.3.3} 1447

SNMPv2 elements within


the OID tree

SNMPv2
PDU
structure

SNMPv2 PDU Definitions


For your reference, the following is a list of definitions for the SNMP PDUs, taken from the SNMPv2 Protocol
Operations document [5-6]:
SNMPv2-PDU DEFINITIONS ::= BEGIN
IMPORTS
ObjectName, ObjectSyntax, Integer32
FROM SNMPv2-SMI;
-- protocol data units
PDUs ::=
CHOICE {
get-request
GetRequest-PDU,
get-next-request
GetNextRequest-PDU,
get-bulk-request
GetBulkRequest-PDU,
response
Response-PDU,
set-request
SetRequest-PDU,
inform-request
InformRequest-PDU,
snmpV2-trap
SNMPv2-Trap-PDU,
report
Report-PDU,
}

SNMPv2 PDU Definitions (Cont)


-- PDUs
GetRequest-PDU ::=
[0]
IMPLICIT PDU
GetNextRequest-PDU ::=
[1]
IMPLICIT PDU
Response-PDU ::=
[2]
IMPLICIT PDU
SetRequest-PDU ::=
[3]
IMPLICIT PDU
-- [4] is obsolete
GetBulkRequest-PDU ::=
[5]
IMPLICIT BulkPDU
InformRequest-PDU ::=
[6]
IMPLICIT PDU
SNMPv2-Trap-PDU ::=
[5]

SNMPv2 PDU Definitions (Cont)


IMPLICIT PDU
-- Usage and precise semantics of Report-PDU are not presently
-- defined. Any SNMP administrative framework making use of
-- this PDU must define its usage and semantics.
Report PDU ::=
[8]
IMPLICIT PDU
max-bindings
INTEGER ::= 2147483647
PDU ::=
SEQUENCE {
request-id
Integer32,
error-status
-- sometimes ignored
INTEGER {
noError(0),
tooBig(1),
noSuchName(2),
-- for proxy compatibility
badValue(3),
-- for proxy compatibility
readOnly(4),
-- for proxy compatibility
genErr(5),
noAccess(6),
wrongType(7),
wrongLength(8),
wrongEncoding(9),
7
wrongValue(10),

SNMPv2 PDU Definitions (Cont)


noCreation(11),
inconsistentValue(12),
resourceUnavailable(13),
commitFailed(14),
undoFailed(15),
authorizationError(16),
notWritable(17),
inconsistentName(18)
},
error-index
-- sometimes ignored
INTEGER (0..max-bindings),
variable-bindings
-- values are sometimes
ignored
VarBindList
}
BulkPDU ::=
-- MUST be identical in
SEQUENCE {
-- structure to PDU
request-id
Integer32,
non-repeaters
INTEGER (0..max-bindings),
max-repetitions
INTEGER (0..max-bindings),
variable-bindings
-- values are ignored
8
VarBindList
}

SNMPv2 PDU Definitions (Cont)


-- variable binding
VarBind ::=
SEQUENCE {
name
ObjectName,
CHOICE {
value
ObjectSyntax,
unSpecified
NULL,

-- in retrieval requests
-- exceptions in responses

noSuchObject[0]
IMPLICIT NULL,
noSuchInstance[1]
IMPLICIT NULL,
endOfMibView[2]
IMPLICIT NULL
}

}
-- variable-binding list
VarBindList ::=
SEQUENCE (SIZE (0..max-bindings)) OF
VarBind
END
9

Transport mappings for SNMPv2

10

SNMPv2 over UDP

11

SNMPv2 over
ISO CLNP

12

SNMPv2 over
the AppleTalk
DDP

13

SNMPv2 over
Novell IPX

14

The system
and snmp
groups
implemented
for SNMPv2

15

The snmpMIB
group for
SNMPv2

16

SNMPv1/SNMPv2 proxy agent


operation

17

RFC (SNMP v3)

RFC 1157
RFC 2271
RFC 2272
RFC 2273
RFC 2274
RFC 2275
18

You might also like