⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rfc1724.txt

📁 xorp源码hg
💻 TXT
📖 第 1 页 / 共 2 页
字号:
Network Working Group                                         G. MalkinRequest for Comments: 1724                               Xylogics, Inc.Obsoletes: 1389                                                F. BakerCategory: Standards Track                                 Cisco Systems                                                          November 1994                      RIP Version 2 MIB ExtensionStatus of this Memo   This document specifies an Internet standards track protocol for the   Internet community, and requests discussion and suggestions for   improvements.  Please refer to the current edition of the "Internet   Official Protocol Standards" (STD 1) for the standardization state   and status of this protocol.  Distribution of this memo is unlimited.Abstract   This memo defines a portion of the Management Information Base (MIB)   for use with network management protocols in TCP/IP-based internets.   In particular, it defines objects for managing RIP Version 2.Acknowledgements   The authors would like to thank the IETF ripv2 Working Group for   their help in improving the RIP-2 MIB extension.Table of Contents   1. The Network Management Framework ......................    2   2. Objects ...............................................    2   2.1 Format of Definitions ................................    3   3. Overview ..............................................    3   3.1 Textual Conventions ..................................    3   3.2 Structure of MIB .....................................    3   3.3 Modifications from RFC 1389 ..........................    3   4. Definitions ...........................................    5   4.1 Global Counters ......................................    6   4.2 RIP Interface Tables .................................    6   4.3 Peer Table ...........................................   12   5. References ............................................   17   6. Security Considerations ...............................   18   7. Authors' Addresses ....................................   18Malkin & Baker                                                  [Page 1]RFC 1724                  RIP-2 MIB Extension              November 19941. The Network Management Framework   The Internet-standard Network Management Framework consists of three   components.  They are:      STD 16/RFC 1155 which defines the SMI, the mechanisms used for         describing and naming objects for the purpose of management.      STD 16/RFC 1212 defines a more concise description mechanism,         which is wholly consistent with the SMI.      RFC 1156 which defines MIB-I, the core set of managed objects for         the Internet suite of protocols.  STD 17/RFC 1213 defines MIB-         II, an evolution of MIB-I based on implementation experience         and new operational requirements.      STD 15/RFC 1157 which defines the SNMP, the protocol used for         network access to managed objects.   The Framework permits new objects to be defined for the purpose of   experimentation and evaluation.2. Objects   Managed objects are accessed via a virtual information store, termed   the Management Information Base or MIB.  Objects in the MIB are   defined using the subset of Abstract Syntax Notation One (ASN.1) [7]   defined in the SMI.  In particular, each object has a name, a syntax,   and an encoding.  The name is an object identifier, an   administratively assigned name, which specifies an object type.  The   object type together with an object instance serves to uniquely   identify a specific instantiation of the object.  For human   convenience, we often use a textual string, termed the OBJECT   DESCRIPTOR, to also refer to the object type.   The syntax of an object type defines the abstract data structure   corresponding to that object type.  The ASN.1 language is used for   this purpose.  However, the SMI [3] purposely restricts the ASN.1   constructs which may be used.  These restrictions are explicitly made   for simplicity.   The encoding of an object type is simply how that object type is   represented using the object type's syntax.  Implicitly tied to the   notion of an object type's syntax and encoding is how the object type   is represented when being transmitted on the network.   The SMI specifies the use of the basic encoding rules of ASN.1 [8],   subject to the additional requirements imposed by the SNMP.Malkin & Baker                                                  [Page 2]RFC 1724                  RIP-2 MIB Extension              November 19942.1 Format of Definitions   Section 4 contains the specification of all object types contained in   this MIB module.  The object types are defined using the conventions   defined in the SMI, as amended by the extensions specified in [9].3. Overview3.1 Textual Conventions   Several new data types are introduced as a textual convention in this   MIB document.  These textual conventions enhance the readability of   the specification and can ease comparison with other specifications   if appropriate.  It should be noted that the introduction of the   these textual conventions has no effect on either the syntax nor the   semantics of any managed objects.  The use of these is merely an   artifact of the explanatory method used.  Objects defined in terms of   one of these methods are always encoded by means of the rules that   define the primitive type.  Hence, no changes to the SMI or the SNMP   are necessary to accommodate these textual conventions which are   adopted merely for the convenience of readers and writers in pursuit   of the elusive goal of clear, concise, and unambiguous MIB documents.   The new data type is RouteTag. The RouteTag type represents the   contents of the Route Domain field in the packet header or route   entry.3.2 Structure of MIB   The RIP-2 MIB contains global counters, useful for detecting the   deleterious effects of RIP incompatibilities; two "interfaces"   tables, which contains interface-specific statistics and   configuration information; and an optional "peer" table, containing   information that may be helpful in debugging neighbor relationships.   Like the protocol itself, this MIB takes great care to preserve   compatibility with RIP-1 systems and controls for monitoring and   controlling system interactions.3.3 Modifications from RFC 1389   The RIP-2 MIB was originally published in RFC 1389.  It encoded the   concept of a Routing Domain, and did not address unnumbered   interfaces.   In the current version of the protocol, Route Domains are deprecated;   therefore, they are deprecated in the MIB as well.  This means that   the object rip2IfConfDomain is deprecated, and the object   rip2PeerDomain (which cannot be deprecated, being an instance object)Malkin & Baker                                                  [Page 3]RFC 1724                  RIP-2 MIB Extension              November 1994   must always be zero.   Unnumbered interfaces are supported in this version.  Since the IP   Address that the neighbor uses may be unknown to the system, a   pseudo-address is used to identify these interfaces.  The pseudo-   address is in the class A network 0.0.0.0, and the host number (the   least significant 24 bits of the address) are the ifIndex value of   the relevant IP Interface.  This is an additional new meaning of the   objects rip2IfStatAddress and rip2IfConfAddress, backward compatible   with the RFC 1389 usage.  The object rip2IfConfSrcAddress is added,   to permit the configuration of the source address on an unnumbered   interface, and the meaning of the object rip2PeerAddress is broadened   to remain relevant on unnumbered interfaces.   rip2IfConfSend is augmented with two values for the use of Demand RIP   under RIP-I and RIP-II rules.  This avoids the necessity of a Demand   RIP MIB.   MD5 Authentication is supported.Malkin & Baker                                                  [Page 4]RFC 1724                  RIP-2 MIB Extension              November 19944. Definitions   RIPv2-MIB DEFINITIONS ::= BEGIN   IMPORTS       MODULE-IDENTITY, OBJECT-TYPE, Counter32,       TimeTicks, IpAddress                     FROM SNMPv2-SMI       TEXTUAL-CONVENTION, RowStatus            FROM SNMPv2-TC       MODULE-COMPLIANCE, OBJECT-GROUP          FROM SNMPv2-CONF       mib-2                                    FROM RFC1213-MIB;   --  This MIB module uses the extended OBJECT-TYPE macro as   --  defined in [9].   rip2  MODULE-IDENTITY           LAST-UPDATED "9407272253Z"      -- Wed Jul 27 22:53:04 PDT 1994           ORGANIZATION "IETF RIP-II Working Group"           CONTACT-INFO          "       Fred Baker          Postal: Cisco Systems                  519 Lado Drive                  Santa Barbara, California 93111          Tel:    +1 805 681 0115          E-Mail: fbaker@cisco.com          Postal: Gary Malkin                  Xylogics, Inc.                  53 Third Avenue                  Burlington, MA  01803          Phone:  (617) 272-8140          EMail:  gmalkin@Xylogics.COM"      DESCRIPTION         "The MIB module to describe the RIP2 Version 2 Protocol"     ::= { mib-2 23 } --  RIP-2 Management Information Base -- the RouteTag type represents the contents of the -- Route Domain field in the packet header or route entry. -- The use of the Route Domain is deprecated. RouteTag ::= TEXTUAL-CONVENTION     STATUS      current     DESCRIPTION        "the RouteTag type represents the contents of the Route Domain        field in the packet header or route entry"    SYNTAX      OCTET STRING (SIZE (2))Malkin & Baker                                                  [Page 5]RFC 1724                  RIP-2 MIB Extension              November 1994--4.1 Global Counters--      The RIP-2 Globals Group.--      Implementation of this group is mandatory for systems--      which implement RIP-2.-- These counters are intended to facilitate debugging quickly-- changing routes or failing neighborsrip2Globals OBJECT IDENTIFIER ::= { rip2 1 }    rip2GlobalRouteChanges OBJECT-TYPE        SYNTAX   Counter32        MAX-ACCESS   read-only        STATUS   current        DESCRIPTION           "The number of route changes made to the IP Route           Database by RIP.  This does not include the refresh           of a route's age."       ::= { rip2Globals 1 }    rip2GlobalQueries OBJECT-TYPE        SYNTAX   Counter32        MAX-ACCESS   read-only        STATUS   current        DESCRIPTION           "The number of responses sent to RIP queries           from other systems."       ::= { rip2Globals 2 }--4.2 RIP Interface Tables--  RIP Interfaces Groups--  Implementation of these Groups is mandatory for systems--  which implement RIP-2.-- The RIP Interface Status Table.    rip2IfStatTable OBJECT-TYPE        SYNTAX   SEQUENCE OF Rip2IfStatEntry        MAX-ACCESS   not-accessible        STATUS   current        DESCRIPTION           "A list of subnets which require separate           status monitoring in RIP."       ::= { rip2 2 }   rip2IfStatEntry OBJECT-TYPEMalkin & Baker                                                  [Page 6]RFC 1724                  RIP-2 MIB Extension              November 1994       SYNTAX   Rip2IfStatEntry       MAX-ACCESS   not-accessible       STATUS   current       DESCRIPTION          "A Single Routing Domain in a single Subnet."      INDEX { rip2IfStatAddress }      ::= { rip2IfStatTable 1 }    Rip2IfStatEntry ::=        SEQUENCE {            rip2IfStatAddress                IpAddress,            rip2IfStatRcvBadPackets                Counter32,            rip2IfStatRcvBadRoutes                Counter32,            rip2IfStatSentUpdates                Counter32,            rip2IfStatStatus                RowStatus    }    rip2IfStatAddress OBJECT-TYPE        SYNTAX   IpAddress        MAX-ACCESS   read-only        STATUS   current        DESCRIPTION           "The IP Address of this system on the indicated           subnet. For unnumbered interfaces, the value 0.0.0.N,           where the least significant 24 bits (N) is the ifIndex           for the IP Interface in network byte order."       ::= { rip2IfStatEntry 1 }    rip2IfStatRcvBadPackets OBJECT-TYPE        SYNTAX   Counter32        MAX-ACCESS   read-only        STATUS   current        DESCRIPTION           "The number of RIP response packets received by           the RIP process which were subsequently discarded           for any reason (e.g. a version 0 packet, or an           unknown command type)."       ::= { rip2IfStatEntry 2 }    rip2IfStatRcvBadRoutes OBJECT-TYPE        SYNTAX   Counter32        MAX-ACCESS   read-only        STATUS   currentMalkin & Baker                                                  [Page 7]RFC 1724                  RIP-2 MIB Extension              November 1994        DESCRIPTION           "The number of routes, in valid RIP packets,           which were ignored for any reason (e.g. unknown           address family, or invalid metric)."       ::= { rip2IfStatEntry 3 }    rip2IfStatSentUpdates OBJECT-TYPE        SYNTAX   Counter32        MAX-ACCESS   read-only        STATUS   current        DESCRIPTION           "The number of triggered RIP updates actually           sent on this interface.  This explicitly does           NOT include full updates sent containing new           information."       ::= { rip2IfStatEntry 4 }    rip2IfStatStatus OBJECT-TYPE        SYNTAX   RowStatus        MAX-ACCESS   read-create        STATUS   current        DESCRIPTION           "Writing invalid has the effect of deleting           this interface."       ::= { rip2IfStatEntry 5 }-- The RIP Interface Configuration Table.    rip2IfConfTable OBJECT-TYPE        SYNTAX   SEQUENCE OF Rip2IfConfEntry        MAX-ACCESS   not-accessible        STATUS   current        DESCRIPTION           "A list of subnets which require separate           configuration in RIP."       ::= { rip2 3 }   rip2IfConfEntry OBJECT-TYPE       SYNTAX   Rip2IfConfEntry       MAX-ACCESS   not-accessible       STATUS   current       DESCRIPTION          "A Single Routing Domain in a single Subnet."      INDEX { rip2IfConfAddress }      ::= { rip2IfConfTable 1 }    Rip2IfConfEntry ::=        SEQUENCE {Malkin & Baker                                                  [Page 8]RFC 1724                  RIP-2 MIB Extension              November 1994            rip2IfConfAddress                IpAddress,            rip2IfConfDomain                RouteTag,            rip2IfConfAuthType                INTEGER,            rip2IfConfAuthKey                OCTET STRING (SIZE(0..16)),            rip2IfConfSend                INTEGER,            rip2IfConfReceive                INTEGER,            rip2IfConfDefaultMetric                INTEGER,            rip2IfConfStatus                RowStatus,            rip2IfConfSrcAddress                IpAddress    }    rip2IfConfAddress OBJECT-TYPE        SYNTAX   IpAddress        MAX-ACCESS   read-only        STATUS   current        DESCRIPTION           "The IP Address of this system on the indicated           subnet.  For unnumbered interfaces, the value 0.0.0.N,           where the least significant 24 bits (N) is the ifIndex           for the IP Interface in network byte order."       ::= { rip2IfConfEntry 1 }    rip2IfConfDomain OBJECT-TYPE        SYNTAX   RouteTag        MAX-ACCESS   read-create        STATUS   obsolete        DESCRIPTION           "Value inserted into the Routing Domain field           of all RIP packets sent on this interface."       DEFVAL { '0000'h }       ::= { rip2IfConfEntry 2 }    rip2IfConfAuthType OBJECT-TYPE        SYNTAX   INTEGER {                    noAuthentication (1),                    simplePassword (2),                    md5 (3)                 }        MAX-ACCESS   read-createMalkin & Baker                                                  [Page 9]

⌨️ 快捷键说明

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