Operations Manual
119
MIB 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 the following Table.
User Functions
SNMP primitives may be used to accomplish the following functions:
1.
Obtain the current value of certain parameters - the NMS uses the
GetRequest or GetNextRequest PDU and the switch responds with a
GetResponse PDU. If the NMS issues a GetRequest for an unsupported
parameter, the switch sends a GetResponse with a noSuchName
ErrorStatus. If the NMS issues a GetNextRequest for an unsupported
parameter, the switch skips to the next object.
2.
Change the value of certain parameters - the NMS uses the SetRequest
PDU, and the switch responds with a GetResponse PDU. The switch
will change both its current value and its local default to be used when
the switch reboots, unless noted otherwise.
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 X1 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 X1 byte
Array of bytes
PhysAddress
n X1 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)