previous | start | next

SNMP Basic Data Types

The SNMP MIB is defined in terms of only a few basic (ie, their tag types is UNIVERSAL) ASN.1 object types: the OBJECT IDENTIFIER, its associated Object Descriptor, the INTEGER and the OCTET STRING
 
SNMP additionally defines some new data types for use in the management framework:
IpAddress
A data type representing an IP address:
IpAddress ::=
    [APPLICATION 0]
    IMPLICIT OCTET STRING (SIZE (4))
Counter
A data type representing a non-negative integer which monotonically increases until it reaches a maximum value when it wraps to zero.
Counter ::=
    [APPLICATION 1]
    IMPLICIT INTEGER (0..4292967295)
Gauge
A data type representing a non-negative integer which may increase or decrease, but which latches at a maximum value.
Gauge ::=
    [APPLICATION 2]
    IMPLICIT INTEGER (0..4292967295)
TimeTicks
hundredths of a second
Opaque
arbitrary encoding

 
Lecture 22: Network Management #2 Copyright © 2002 P.Scott, La Trobe University Bendigo.



previous | start | next