SNMPv2-SMI DEFINITIONS ::= BEGIN
org OBJECT IDENTIFIER ::= { iso 3 } -- "iso" = 1
dod OBJECT IDENTIFIER ::= { org 6 }
internet OBJECT IDENTIFIER ::= { dod 1 }
directory OBJECT IDENTIFIER ::= { internet 1 }
mgmt OBJECT IDENTIFIER ::= { internet 2 }
mib-2 OBJECT IDENTIFIER ::= { mgmt 1 }
transmission OBJECT IDENTIFIER ::= { mib-2 10 }
experimental OBJECT IDENTIFIER ::= { internet 3 }
private OBJECT IDENTIFIER ::= { internet 4 }
enterprises OBJECT IDENTIFIER ::= { private 1 }
security OBJECT IDENTIFIER ::= { internet 5 }
snmpV2 OBJECT IDENTIFIER ::= { internet 6 }
snmpDomains OBJECT IDENTIFIER ::= { snmpV2 1 }
snmpProxys OBJECT IDENTIFIER ::= { snmpV2 2 }
snmpModules OBJECT IDENTIFIER ::= { snmpV2 3 }
-- Extended UTCTime, to allow dates with four-digit years
-- (Note that this definition of ExtUTCTime is not to be IMPORTed
ExtUTCTime ::= OCTET STRING(SIZE(11 | 13))
-- format is YYMMDDHHMMZ or YYYYMMDDHHMMZ
-- where: YY - last two digits of year (only years
-- YYYY - last four digits of the year (any year)
-- MM - month (01 through 12)
-- DD - day of month (01 through 31)
-- HH - hours (00 through 23)
-- MM - minutes (00 through 59)
-- Z - denotes GMT (the ASCII character Z)
-- For example, "9502192015Z" and "199502192015Z" represent
-- 8:15pm GMT on 19 February 1995. Years after 1999 must use
-- the four digit year format. Years 1900-1999 may use the
-- two or four digit format.
-- definitions for information modules
MODULE-IDENTITY MACRO ::=
"LAST-UPDATED" value(Update ExtUTCTime)
value(VALUE OBJECT IDENTIFIER)
"REVISION" value(Update ExtUTCTime)
-- a character string as defined in section 3.1.1
Text ::= value(IA5String)
OBJECT-IDENTITY MACRO ::=
value(VALUE OBJECT IDENTIFIER)
-- a character string as defined in section 3.1.1
Text ::= value(IA5String)
-- (Note that these definitions of ObjectName and NotificationName
-- are not to be IMPORTed by MIB modules.)
-- the "base types" defined here are:
-- 3 built-in ASN.1 types: INTEGER, OCTET STRING, OBJECT IDENTIFIER
-- 8 application-defined types: Integer32, IpAddress, Counter32,
-- Gauge32, Unsigned32, TimeTicks, Opaque, and Counter64
-- note that SEQUENCEs for conceptual tables and
-- rows are not mentioned here...
-- INTEGERs with a more restrictive range
integer-value -- includes Integer32
INTEGER (-2147483648..2147483647),
-- OCTET STRINGs with a more restrictive size
OCTET STRING (SIZE (0..65535)),
-- indistinguishable from INTEGER, but never needs more than
-- 32-bits for a two's complement representation
INTEGER (-2147483648..2147483647)
-- application-wide types
unsigned-integer-value -- includes Gauge32
-- (this is a tagged type for historical reasons)
IMPLICIT OCTET STRING (SIZE (4))
IMPLICIT INTEGER (0..4294967295)
IMPLICIT INTEGER (0..4294967295)
-- an unsigned 32-bit quantity
-- indistinguishable from Gauge32
IMPLICIT INTEGER (0..4294967295)
-- hundredths of seconds since an epoch
IMPLICIT INTEGER (0..4294967295)
-- for backward-compatibility only
-- for counters that wrap in less than one hour with only 32 bits
IMPLICIT INTEGER (0..18446744073709551615)
-- definition for objects
Syntax ::= -- Must be one of the following:
-- a base type (or its refinement),
-- a textual convention (or its refinement), or
| "BITS" "{" NamedBits "}"
NamedBit ::= identifier "(" number ")" -- number is nonnegative
| "accessible-for-notify"
"INDEX" "{" IndexTypes "}"
| "AUGMENTS" "{" Entry "}"
| IndexTypes "," IndexType
-- use the SYNTAX value of the
-- correspondent OBJECT-TYPE invocation
-- use the INDEX value of the
-- correspondent OBJECT-TYPE invocation
DefValPart ::= "DEFVAL" "{" Defvalue "}"
Defvalue ::= -- must be valid for the type specified in
-- SYNTAX clause of same OBJECT-TYPE macro
-- a character string as defined in section 3.1.1
Text ::= value(IA5String)
-- definitions for notifications
NOTIFICATION-TYPE MACRO ::=
value(VALUE NotificationName)
"OBJECTS" "{" Objects "}"
-- a character string as defined in section 3.1.1
Text ::= value(IA5String)
-- definitions of administrative identifiers
zeroDotZero OBJECT-IDENTITY
"A value used for null identifiers."