1-6
Introduction
1.5 MIB PRIMITIVE TYPES
The MIB definitions in this document may reference the primitive
types that are described in the Structure and Identification of
Management Information for TCP/IP-based Internets, RFC 1155.
RFC 1155 is based on the Specification of Abstract Syntax Notation
One, ASN.1. The primitive types are described in Table 1-1.
Table 1-1 Primitive Descriptions
Primitive Size Description
Boolean 1 byte
Enumerated Integer with possible true (1)
or false (2) values; note that the ASN.1
BOOLEAN primitive type is not used
BridgeID 8 bytes
Priority and MAC address used to identify
a spanning tree bridge
Counter 4 bytes max Unsigned value
DisplayString n X 1 byte Array of printable ascii characters
Gauge 4 bytes Non-negative integer
Integer 4 bytes max Signed value
IpAddress 4 bytes Internet address
MacAddress 6 bytes Ethernet address
OctetString n X 1 byte Array of bytes
PhysAddress n X 1 byte
Array of bytes, using the same as a MAC
Address
PortID 2 bytes
Priority and port number used to identify a
spanning tree port
TimeTicks 4 bytes
Max time counter with a granularity of
1/100th of a second (also known as
centiseconds)
Commentaires sur ces manuels