rfc1065.txt

来自「著名的RFC文档,其中有一些文档是已经翻译成中文的的.」· 文本 代码 · 共 1,179 行 · 第 1/3 页

TXT
1,179
字号
RFC 1065                          SMI                        August 1988                          SYNTAX  INTEGER                          ACCESS  read-write                          STATUS  mandatory                          ::= { atEntry 1 }                  atPhysAddress OBJECT-TYPE                          SYNTAX  OCTET STRING                          ACCESS  read-write                          STATUS  mandatory                          ::= { atEntry 2 }                  atNetAddress OBJECT-TYPE                          SYNTAX  NetworkAddress                          ACCESS  read-write                          STATUS  mandatory                          ::= { atEntry 3 }                  atEntry OBJECT-TYPE                          SYNTAX  AtEntry                          ACCESS  read-write                          STATUS  mandatory                          ::= { atTable 1 }                  atTable OBJECT-TYPE                          SYNTAX  SEQUENCE OF AtEntry                          ACCESS  read-write                          STATUS  mandatory                          ::= { at 1 }                  AtEntry ::= SEQUENCE {                      atIndex                          INTEGER,                      atPhysAddress                          OCTET STRING,                      atNetAddress                          NetworkAddress                  }   The first five definitions describe object types, relating, for   example, the OBJECT DESCRIPTOR atIndex to the OBJECT IDENTIFIER {   atEntry 1 }.  In addition, the syntax of this object is defined   (INTEGER) along with the access permitted (read-write) and status   (mandatory).  The sixth definition describes an ASN.1 type called   AtEntry.Rose & McCloghrie                                              [Page 15]RFC 1065                          SMI                        August 19885.  Extensions to the MIB   Every Internet-standard MIB document obsoletes all previous such   documents.  The portion of a name, termed the tail, following the   OBJECT IDENTIFIER      { mgmt version-number }   used to name objects shall remain unchanged between versions.  New   versions may:      (1) declare old object types obsolete (if necessary), but not      delete their names;      (2) augment the definition of an object type corresponding to a      list by appending non-aggregate object types to the object types      in the list; or,      (3) define entirely new object types.   New versions may not:      (1) change the semantics of any previously defined object without      changing the name of that object.   These rules are important because they admit easier support for   multiple versions of the Internet-standard MIB.  In particular, the   semantics associated with the tail of a name remain constant   throughout different versions of the MIB.  Because multiple versions   of the MIB may thus coincide in "tail-space," implementations   supporting multiple versions of the MIB can be vastly simplified.   However, as a consequence, a management agent might return an   instance corresponding to a superset of the expected object type.   Following the principle of robustness, in this exceptional case, a   manager should ignore any additional information beyond the   definition of the expected object type.  However, the robustness   principle requires that one exercise care with respect to control   actions: if an instance does not have the same syntax as its expected   object type, then those control actions must fail.  In both the   monitoring and control cases, the name of an object returned by an   operation must be identical to the name requested by an operation.Rose & McCloghrie                                              [Page 16]RFC 1065                          SMI                        August 19886.  Definitions           RFC1065-SMI DEFINITIONS ::= BEGIN           EXPORTS -- EVERYTHING                   internet, directory, mgmt,                   experimental, private, enterprises,                   OBJECT-TYPE, ObjectName, ObjectSyntax, SimpleSyntax,                   ApplicationSyntax, NetworkAddress, IpAddress,                   Counter, Gauge, TimeTicks, Opaque;            -- the path to the root            internet      OBJECT IDENTIFIER ::= { iso org(3) dod(6) 1 }            directory     OBJECT IDENTIFIER ::= { internet 1 }            mgmt          OBJECT IDENTIFIER ::= { internet 2 }            experimental  OBJECT IDENTIFIER ::= { internet 3 }            private       OBJECT IDENTIFIER ::= { internet 4 }            enterprises   OBJECT IDENTIFIER ::= { private 1 }            -- definition of object types            OBJECT-TYPE MACRO ::=            BEGIN                TYPE NOTATION ::= "SYNTAX" type (TYPE ObjectSyntax)                                  "ACCESS" Access                                  "STATUS" Status                VALUE NOTATION ::= value (VALUE ObjectName)                Access ::= "read-only"                                | "read-write"                                | "write-only"                                | "not-accessible"                Status ::= "mandatory"                                | "optional"                                | "obsolete"            END               -- names of objects in the MIB               ObjectName ::=                   OBJECT IDENTIFIERRose & McCloghrie                                              [Page 17]RFC 1065                          SMI                        August 1988               -- syntax of objects in the MIB               ObjectSyntax ::=                   CHOICE {                       simple                           SimpleSyntax,               -- note that simple SEQUENCEs are not directly               -- mentioned here to keep things simple (i.e.,               -- prevent mis-use).  However, application-wide               -- types which are IMPLICITly encoded simple               -- SEQUENCEs may appear in the following CHOICE                          application-wide                              ApplicationSyntax                      }                  SimpleSyntax ::=                      CHOICE {                          number                              INTEGER,                          string                              OCTET STRING,                          object                              OBJECT IDENTIFIER,                          empty                              NULL                      }                  ApplicationSyntax ::=                      CHOICE {                          address                              NetworkAddress,                          counter                              Counter,                          gauge                              Gauge,                          ticks                              TimeTicks,                          arbitrary                              OpaqueRose & McCloghrie                                              [Page 18]RFC 1065                          SMI                        August 1988                  -- other application-wide types, as they are                  -- defined, will be added here                      }                  -- application-wide types                  NetworkAddress ::=                      CHOICE {                          internet                              IpAddress                      }                  IpAddress ::=                      [APPLICATION 0]          -- in network-byte order                          IMPLICIT OCTET STRING (SIZE (4))                  Counter ::=                      [APPLICATION 1]                          IMPLICIT INTEGER (0..4294967295)                  Gauge ::=                      [APPLICATION 2]                          IMPLICIT INTEGER (0..4294967295)                  TimeTicks ::=                      [APPLICATION 3]                          IMPLICIT INTEGER                  Opaque ::=                      [APPLICATION 4]          -- arbitrary ASN.1 value,                          IMPLICIT OCTET STRING   --   "double-wrapped"                  ENDRose & McCloghrie                                              [Page 19]RFC 1065                          SMI                        August 19887.  Acknowledgements   This memo was influenced by three sets of contributors:   First, Lee Labarre of the MITRE Corporation, who as author of the   NETMAN SMI [4], presented the basic roadmap for the SMI.   Second, several individuals who provided valuable comments on this   memo prior to its initial distribution:         James Davin, Proteon         Mark S. Fedor, NYSERNet         Craig Partridge, BBN Laboratories         Martin Lee Schoffstall, Rensselaer Polytechnic Institute         Wengyik Yeong, NYSERNet   Third, the IETF MIB working group:         Karl Auerbach, Epilogue Technology         K. Ramesh Babu, Excelan         Lawrence Besaw, Hewlett-Packard         Jeffrey D. Case, University of Tennessee at Knoxville         James R. Davin, Proteon         Mark S. Fedor, NYSERNet         Robb Foster, BBN         Phill Gross, The MITRE Corporation         Bent Torp Jensen, Convergent Technology         Lee Labarre, The MITRE Corporation         Dan Lynch, Advanced Computing Environments         Keith McCloghrie, The Wollongong Group         Dave Mackie, 3Com/Bridge         Craig Partridge, BBN (chair)         Jim Robertson, 3Com/Bridge         Marshall T. Rose, The Wollongong Group         Greg Satz, cisco         Martin Lee Schoffstall, Rensselaer Polytechnic Institute         Lou Steinberg, IBM         Dean Throop, Data General         Unni Warrier, UnisysRose & McCloghrie                                              [Page 20]RFC 1065                          SMI                        August 19888.  References   [1] Information processing systems - Open Systems Interconnection,       "Specification of Abstract Syntax Notation One (ASN.1)",       International Organization for Standardization, International       Standard 8824, December 1987.   [2] McCloghrie K., and M. Rose, "Management Information Base for       Network Management of TCP/IP-based internets", RFC 1066, TWG,       August 1988.   [3] Case, J., M. Fedor, M. Schoffstall, and J. Davin, The Simple       Network Management Protocol", RFC 1067, University of Tennessee       at Knoxville, NYSERNet, Rensselaer Polytechnic, Proteon, August       1988.   [4] LaBarre, L., "Structure and Identification of Management       Information for the Internet", Internet Engineering Task Force       working note, Network Information Center, SRI International,       Menlo Park, California, April 1988.   [5] Cerf, V., "IAB Recommendations for the Development of Internet       Network Management Standards", RFC 1052, IAB, April 1988.   [6] Information processing systems - Open Systems Interconnection,       "Specification of Basic Encoding Rules for Abstract Notation One       (ASN.1)", International Organization for Standardization,       International Standard 8825, December 1987.Rose & McCloghrie                                              [Page 21]

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?