rfc1850.txt

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

TXT
2,074
字号
2.5.  Default Configuration   OSPF is a powerful routing protocol, equipped with features to handle   virtually any configuration requirement that might reasonably be   found within an Autonomous System.  With this power comes a fair   degree of complexity, which the sheer number of objects in the MIB   will attest to.  Care has therefore been taken, in constructing this   MIB, to define default values for virtually every object, to minimize   the amount of parameterization required in the typical case.  That   default configuration is as follows:   Given the following assumptions:   -    IP has already been configured   -    The ifTable has already been configured   -    ifSpeed is estimated by the interface drivers   -    The OSPF Process automatically discovers all IP        Interfaces and creates corresponding OSPF Interfaces   -    The TOS 0 metrics are autonomously derived from ifSpeed   -    The OSPF Process automatically creates the Areas required        for the Interfaces   The simplest configuration of an OSPF process requires that:   -    The OSPF Process be Enabled.Baker & Coltun              Standards Track                     [Page 8]RFC 1850                        OSPF MIB                   November 1995   This can be accomplished with a single SET:                  ospfAdminStat := enabled.   The configured system will have the following attributes:   -    The RouterID will be one of the IP addresses of the        device   -    The device will be neither an Area Border Router nor an        Autonomous System Border Router.   -    Every IP Interface, with or without an address, will be        an OSPF Interface.   -    The AreaID of each interface will be 0.0.0.0, the        Backbone.   -    Authentication will be disabled   -    All Broadcast and Point to Point interfaces will be        operational.  NBMA Interfaces require the configuration        of at least one neighbor.   -    Timers on all direct interfaces will be:          Hello Interval:        10 seconds          Dead Timeout:          40 Seconds          Retransmission:         5 Seconds          Transit Delay:          1 Second          Poll Interval:        120 Seconds   -    no direct links to hosts will be configured.   -    no addresses will be summarized   -    Metrics, being a measure of bit duration, are unambiguous        and intelligent.   -    No Virtual Links will be configured.Baker & Coltun              Standards Track                     [Page 9]RFC 1850                        OSPF MIB                   November 19953.  DefinitionsOSPF-MIB DEFINITIONS ::= BEGIN    IMPORTS            MODULE-IDENTITY, OBJECT-TYPE, Counter32, Gauge32,            Integer32, IpAddress                FROM SNMPv2-SMI            TEXTUAL-CONVENTION, TruthValue, 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].ospf MODULE-IDENTITY        LAST-UPDATED "9501201225Z" -- Fri Jan 20 12:25:50 PST 1995        ORGANIZATION "IETF OSPF Working Group"        CONTACT-INFO       "       Fred Baker       Postal: Cisco Systems               519 Lado Drive               Santa Barbara, California 93111       Tel:    +1 805 681 0115       E-Mail: fred@cisco.com               Rob Coltun       Postal: RainbowBridge Communications       Tel:    (301) 340-9416       E-Mail: rcoltun@rainbow-bridge.com"    DESCRIPTION       "The MIB module to describe the OSPF Version 2       Protocol"    ::= { mib-2 14 }--  The Area ID, in OSPF, has the same format as an IP Address,--  but has the function of defining a summarization point for--  Link State AdvertisementsAreaID ::= TEXTUAL-CONVENTION    STATUS      current    DESCRIPTION       "An OSPF Area Identifier."    SYNTAX      IpAddress--  The Router ID, in OSPF, has the same format as an IP Address,Baker & Coltun              Standards Track                    [Page 10]RFC 1850                        OSPF MIB                   November 1995--  but identifies the router independent of its IP Address.RouterID ::= TEXTUAL-CONVENTION    STATUS      current    DESCRIPTION       "A OSPF Router Identifier."    SYNTAX      IpAddress--  The OSPF Metric is defined as an unsigned value in the rangeMetric ::= TEXTUAL-CONVENTION    STATUS      current    DESCRIPTION       "The OSPF Internal Metric."    SYNTAX      Integer32 (0..'FFFF'h)BigMetric ::= TEXTUAL-CONVENTION    STATUS      current    DESCRIPTION       "The OSPF External Metric."    SYNTAX      Integer32 (0..'FFFFFF'h)--  Status ValuesStatus ::= TEXTUAL-CONVENTION    STATUS      current    DESCRIPTION       "The status of an interface: 'enabled' indicates that       it is willing to communicate with other OSPF Routers,       while 'disabled' indicates that it is not."    SYNTAX      INTEGER { enabled (1), disabled (2) }--  Time Durations measured in secondsPositiveInteger ::= TEXTUAL-CONVENTION    STATUS      current    DESCRIPTION       "A positive integer. Values in excess are precluded as       unnecessary and prone to interoperability issues."    SYNTAX      Integer32 (0..'7FFFFFFF'h)HelloRange ::= TEXTUAL-CONVENTION    STATUS      current    DESCRIPTION       "The range of intervals on which hello messages are       exchanged."    SYNTAX      Integer32 (1..'FFFF'h)Baker & Coltun              Standards Track                    [Page 11]RFC 1850                        OSPF MIB                   November 1995UpToMaxAge ::= TEXTUAL-CONVENTION    STATUS      current    DESCRIPTION       "The values that one might find or configure for       variables bounded by the maximum age of an LSA."    SYNTAX      Integer32 (0..3600)--  The range of ifIndexInterfaceIndex ::= TEXTUAL-CONVENTION    STATUS      current    DESCRIPTION       "The range of ifIndex."    SYNTAX      Integer32--  Potential Priorities for the Designated Router ElectionDesignatedRouterPriority ::= TEXTUAL-CONVENTION    STATUS      current    DESCRIPTION       "The values defined for the priority of a system for       becoming the designated router."    SYNTAX      Integer32 (0..'FF'h)TOSType ::= TEXTUAL-CONVENTION    STATUS      current    DESCRIPTION       "Type of Service is defined as a mapping to the IP Type of       Service Flags as defined in the IP Forwarding Table MIB       +-----+-----+-----+-----+-----+-----+-----+-----+       |                 |                       |     |       |   PRECEDENCE    |    TYPE OF SERVICE    |  0  |       |                 |                       |     |       +-----+-----+-----+-----+-----+-----+-----+-----+                IP TOS                IP TOS           Field     Policy      Field     Policy           Contents    Code      Contents    Code           0 0 0 0  ==>   0      0 0 0 1  ==>   2           0 0 1 0  ==>   4      0 0 1 1  ==>   6           0 1 0 0  ==>   8      0 1 0 1  ==>  10           0 1 1 0  ==>  12      0 1 1 1  ==>  14           1 0 0 0  ==>  16      1 0 0 1  ==>  18           1 0 1 0  ==>  20      1 0 1 1  ==>  22Baker & Coltun              Standards Track                    [Page 12]RFC 1850                        OSPF MIB                   November 1995           1 1 0 0  ==>  24      1 1 0 1  ==>  26           1 1 1 0  ==>  28      1 1 1 1  ==>  30       The remaining values are left for future definition."    SYNTAX      Integer32 (0..30)--  OSPF General Variables--      These parameters apply globally to the Router's--      OSPF Process.ospfGeneralGroup OBJECT IDENTIFIER ::= { ospf 1 }    ospfRouterId OBJECT-TYPE        SYNTAX   RouterID        MAX-ACCESS   read-write        STATUS   current        DESCRIPTION           "A  32-bit  integer  uniquely  identifying  the           router in the Autonomous System.           By  convention,  to  ensure  uniqueness,   this           should  default  to  the  value  of  one of the           router's IP interface addresses."       REFERENCE          "OSPF Version 2, C.1 Global parameters"      ::= { ospfGeneralGroup 1 }    ospfAdminStat OBJECT-TYPE        SYNTAX   Status        MAX-ACCESS   read-write        STATUS   current        DESCRIPTION           "The  administrative  status  of  OSPF  in  the           router.   The  value 'enabled' denotes that the           OSPF Process is active on at least  one  inter-           face;  'disabled'  disables  it  on  all inter-           faces."       ::= { ospfGeneralGroup 2 }    ospfVersionNumber OBJECT-TYPE        SYNTAX   INTEGER    { version2 (2) }        MAX-ACCESS   read-only        STATUS   current        DESCRIPTIONBaker & Coltun              Standards Track                    [Page 13]RFC 1850                        OSPF MIB                   November 1995           "The current version number of the OSPF  proto-           col is 2."       REFERENCE          "OSPF Version 2, Title"      ::= { ospfGeneralGroup 3 }    ospfAreaBdrRtrStatus OBJECT-TYPE        SYNTAX   TruthValue        MAX-ACCESS   read-only        STATUS   current        DESCRIPTION           "A flag to note whether this router is an  area           border router."       REFERENCE          "OSPF Version 2, Section 3 Splitting the AS into          Areas"      ::= { ospfGeneralGroup 4 }    ospfASBdrRtrStatus OBJECT-TYPE        SYNTAX   TruthValue        MAX-ACCESS   read-write        STATUS   current        DESCRIPTION           "A flag to note whether this router is  config-           ured as an Autonomous System border router."       REFERENCE          "OSPF Version 2, Section 3.3  Classification  of          routers"      ::= { ospfGeneralGroup 5 }    ospfExternLsaCount OBJECT-TYPE        SYNTAX   Gauge32        MAX-ACCESS   read-only        STATUS   current        DESCRIPTION           "The number of external (LS type 5)  link-state           advertisements in the link-state database."       REFERENCE          "OSPF Version 2, Appendix A.4.5 AS external link          advertisements"      ::= { ospfGeneralGroup 6 }    ospfExternLsaCksumSum OBJECT-TYPE        SYNTAX   Integer32        MAX-ACCESS   read-onlyBaker & Coltun              Standards Track                    [Page 14]RFC 1850                        OSPF MIB                   November 1995        STATUS   current        DESCRIPTION           "The 32-bit unsigned sum of the LS checksums of           the  external  link-state  advertisements  con-           tained in the link-state  database.   This  sum           can  be  used  to determine if there has been a           change in a router's link state  database,  and           to  compare  the  link-state  database  of  two           routers."       ::= { ospfGeneralGroup 7 }    ospfTOSSupport OBJECT-TYPE        SYNTAX   TruthValue        MAX-ACCESS   read-write        STATUS   current        DESCRIPTION           "The router's support for type-of-service rout-           ing."       REFERENCE          "OSPF Version 2,  Appendix  F.1.2  Optional  TOS          support"      ::= { ospfGeneralGroup 8 }    ospfOriginateNewLsas OBJECT-TYPE        SYNTAX   Counter32        MAX-ACCESS   read-only        STATUS   current        DESCRIPTION           "The number of  new  link-state  advertisements           that  have been originated.  This number is in-           cremented each time the router originates a new           LSA."       ::= { ospfGeneralGroup 9 }    ospfRxNewLsas OBJECT-TYPE        SYNTAX   Counter32        MAX-ACCESS   read-only        STATUS   current

⌨️ 快捷键说明

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