Import Upstream version 1.2.2
[quagga-debian.git] / ospfd / OSPF-MIB.txt
1 OSPF-MIB DEFINITIONS ::= BEGIN
2
3     IMPORTS
4             MODULE-IDENTITY, OBJECT-TYPE, Counter32, Gauge32,
5             Integer32, IpAddress
6                 FROM SNMPv2-SMI
7             TEXTUAL-CONVENTION, TruthValue, RowStatus
8                 FROM SNMPv2-TC
9             MODULE-COMPLIANCE, OBJECT-GROUP          FROM SNMPv2-CONF
10             mib-2                                    FROM RFC1213-MIB;
11
12 --  This MIB module uses the extended OBJECT-TYPE macro as
13 --  defined in [9].
14
15 ospf MODULE-IDENTITY
16         LAST-UPDATED "9501201225Z" -- Fri Jan 20 12:25:50 PST 1995
17         ORGANIZATION "IETF OSPF Working Group"
18         CONTACT-INFO
19        "       Fred Baker
20        Postal: Cisco Systems
21                519 Lado Drive
22                Santa Barbara, California 93111
23        Tel:    +1 805 681 0115
24        E-Mail: fred@cisco.com
25
26                Rob Coltun
27        Postal: RainbowBridge Communications
28        Tel:    (301) 340-9416
29        E-Mail: rcoltun@rainbow-bridge.com"
30     DESCRIPTION
31        "The MIB module to describe the OSPF Version 2
32        Protocol"
33     ::= { mib-2 14 }
34
35 --  The Area ID, in OSPF, has the same format as an IP Address,
36 --  but has the function of defining a summarization point for
37 --  Link State Advertisements
38
39 AreaID ::= TEXTUAL-CONVENTION
40     STATUS      current
41     DESCRIPTION
42        "An OSPF Area Identifier."
43     SYNTAX      IpAddress
44
45
46 --  The Router ID, in OSPF, has the same format as an IP Address,
47 --  but identifies the router independent of its IP Address.
48
49 RouterID ::= TEXTUAL-CONVENTION
50     STATUS      current
51     DESCRIPTION
52        "A OSPF Router Identifier."
53     SYNTAX      IpAddress
54
55
56 --  The OSPF Metric is defined as an unsigned value in the range
57
58 Metric ::= TEXTUAL-CONVENTION
59     STATUS      current
60     DESCRIPTION
61        "The OSPF Internal Metric."
62     SYNTAX      Integer32 (0..'FFFF'h)
63
64 BigMetric ::= TEXTUAL-CONVENTION
65     STATUS      current
66     DESCRIPTION
67        "The OSPF External Metric."
68     SYNTAX      Integer32 (0..'FFFFFF'h)
69
70 --  Status Values
71
72 Status ::= TEXTUAL-CONVENTION
73     STATUS      current
74     DESCRIPTION
75        "The status of an interface: 'enabled' indicates that
76        it is willing to communicate with other OSPF Routers,
77        while 'disabled' indicates that it is not."
78     SYNTAX      INTEGER { enabled (1), disabled (2) }
79
80 --  Time Durations measured in seconds
81
82 PositiveInteger ::= TEXTUAL-CONVENTION
83     STATUS      current
84     DESCRIPTION
85        "A positive integer. Values in excess are precluded as
86        unnecessary and prone to interoperability issues."
87     SYNTAX      Integer32 (0..'7FFFFFFF'h)
88
89 HelloRange ::= TEXTUAL-CONVENTION
90     STATUS      current
91     DESCRIPTION
92        "The range of intervals on which hello messages are
93        exchanged."
94     SYNTAX      Integer32 (1..'FFFF'h)
95
96 UpToMaxAge ::= TEXTUAL-CONVENTION
97     STATUS      current
98     DESCRIPTION
99        "The values that one might find or configure for
100        variables bounded by the maximum age of an LSA."
101     SYNTAX      Integer32 (0..3600)
102
103
104 --  The range of ifIndex
105
106 InterfaceIndex ::= TEXTUAL-CONVENTION
107     STATUS      current
108     DESCRIPTION
109        "The range of ifIndex."
110     SYNTAX      Integer32
111
112
113 --  Potential Priorities for the Designated Router Election
114
115 DesignatedRouterPriority ::= TEXTUAL-CONVENTION
116     STATUS      current
117     DESCRIPTION
118        "The values defined for the priority of a system for
119        becoming the designated router."
120     SYNTAX      Integer32 (0..'FF'h)
121
122 TOSType ::= TEXTUAL-CONVENTION
123     STATUS      current
124     DESCRIPTION
125        "Type of Service is defined as a mapping to the IP Type of
126        Service Flags as defined in the IP Forwarding Table MIB
127
128        +-----+-----+-----+-----+-----+-----+-----+-----+
129        |                 |                       |     |
130        |   PRECEDENCE    |    TYPE OF SERVICE    |  0  |
131        |                 |                       |     |
132        +-----+-----+-----+-----+-----+-----+-----+-----+
133
134                 IP TOS                IP TOS
135            Field     Policy      Field     Policy
136
137            Contents    Code      Contents    Code
138            0 0 0 0  ==>   0      0 0 0 1  ==>   2
139            0 0 1 0  ==>   4      0 0 1 1  ==>   6
140            0 1 0 0  ==>   8      0 1 0 1  ==>  10
141            0 1 1 0  ==>  12      0 1 1 1  ==>  14
142            1 0 0 0  ==>  16      1 0 0 1  ==>  18
143            1 0 1 0  ==>  20      1 0 1 1  ==>  22
144            1 1 0 0  ==>  24      1 1 0 1  ==>  26
145            1 1 1 0  ==>  28      1 1 1 1  ==>  30
146
147        The remaining values are left for future definition."
148     SYNTAX      Integer32 (0..30)
149
150
151 --  OSPF General Variables
152
153 --      These parameters apply globally to the Router's
154 --      OSPF Process.
155
156 ospfGeneralGroup OBJECT IDENTIFIER ::= { ospf 1 }
157
158
159     ospfRouterId OBJECT-TYPE
160         SYNTAX   RouterID
161         MAX-ACCESS   read-write
162         STATUS   current
163         DESCRIPTION
164            "A  32-bit  integer  uniquely  identifying  the
165            router in the Autonomous System.
166
167            By  convention,  to  ensure  uniqueness,   this
168            should  default  to  the  value  of  one of the
169            router's IP interface addresses."
170        REFERENCE
171           "OSPF Version 2, C.1 Global parameters"
172       ::= { ospfGeneralGroup 1 }
173
174
175     ospfAdminStat OBJECT-TYPE
176         SYNTAX   Status
177         MAX-ACCESS   read-write
178         STATUS   current
179         DESCRIPTION
180            "The  administrative  status  of  OSPF  in  the
181            router.   The  value 'enabled' denotes that the
182            OSPF Process is active on at least  one  inter-
183            face;  'disabled'  disables  it  on  all inter-
184            faces."
185        ::= { ospfGeneralGroup 2 }
186
187     ospfVersionNumber OBJECT-TYPE
188         SYNTAX   INTEGER    { version2 (2) }
189         MAX-ACCESS   read-only
190         STATUS   current
191         DESCRIPTION
192            "The current version number of the OSPF  proto-
193            col is 2."
194        REFERENCE
195           "OSPF Version 2, Title"
196       ::= { ospfGeneralGroup 3 }
197
198
199     ospfAreaBdrRtrStatus OBJECT-TYPE
200         SYNTAX   TruthValue
201         MAX-ACCESS   read-only
202         STATUS   current
203         DESCRIPTION
204            "A flag to note whether this router is an  area
205            border router."
206        REFERENCE
207           "OSPF Version 2, Section 3 Splitting the AS into
208           Areas"
209       ::= { ospfGeneralGroup 4 }
210
211
212     ospfASBdrRtrStatus OBJECT-TYPE
213         SYNTAX   TruthValue
214         MAX-ACCESS   read-write
215         STATUS   current
216         DESCRIPTION
217            "A flag to note whether this router is  config-
218            ured as an Autonomous System border router."
219        REFERENCE
220           "OSPF Version 2, Section 3.3  Classification  of
221           routers"
222       ::= { ospfGeneralGroup 5 }
223
224     ospfExternLsaCount OBJECT-TYPE
225         SYNTAX   Gauge32
226         MAX-ACCESS   read-only
227         STATUS   current
228         DESCRIPTION
229            "The number of external (LS type 5)  link-state
230            advertisements in the link-state database."
231        REFERENCE
232           "OSPF Version 2, Appendix A.4.5 AS external link
233           advertisements"
234       ::= { ospfGeneralGroup 6 }
235
236
237     ospfExternLsaCksumSum OBJECT-TYPE
238         SYNTAX   Integer32
239         MAX-ACCESS   read-only
240         STATUS   current
241         DESCRIPTION
242            "The 32-bit unsigned sum of the LS checksums of
243            the  external  link-state  advertisements  con-
244            tained in the link-state  database.   This  sum
245            can  be  used  to determine if there has been a
246            change in a router's link state  database,  and
247            to  compare  the  link-state  database  of  two
248            routers."
249        ::= { ospfGeneralGroup 7 }
250
251
252     ospfTOSSupport OBJECT-TYPE
253         SYNTAX   TruthValue
254         MAX-ACCESS   read-write
255         STATUS   current
256         DESCRIPTION
257            "The router's support for type-of-service rout-
258            ing."
259        REFERENCE
260           "OSPF Version 2,  Appendix  F.1.2  Optional  TOS
261           support"
262       ::= { ospfGeneralGroup 8 }
263
264     ospfOriginateNewLsas OBJECT-TYPE
265         SYNTAX   Counter32
266         MAX-ACCESS   read-only
267         STATUS   current
268         DESCRIPTION
269            "The number of  new  link-state  advertisements
270            that  have been originated.  This number is in-
271            cremented each time the router originates a new
272            LSA."
273        ::= { ospfGeneralGroup 9 }
274
275
276     ospfRxNewLsas OBJECT-TYPE
277         SYNTAX   Counter32
278         MAX-ACCESS   read-only
279         STATUS   current
280         DESCRIPTION
281            "The number of  link-state  advertisements  re-
282            ceived  determined  to  be  new instantiations.
283            This number does not include  newer  instantia-
284            tions  of self-originated link-state advertise-
285            ments."
286        ::= { ospfGeneralGroup 10 }
287
288     ospfExtLsdbLimit OBJECT-TYPE
289         SYNTAX   Integer32 (-1..'7FFFFFFF'h)
290         MAX-ACCESS   read-write
291         STATUS   current
292         DESCRIPTION
293            "The  maximum   number   of   non-default   AS-
294            external-LSAs entries that can be stored in the
295            link-state database.  If the value is -1,  then
296            there is no limit.
297
298            When the number of non-default AS-external-LSAs
299            in   a  router's  link-state  database  reaches
300            ospfExtLsdbLimit, the router  enters  Overflow-
301            State.   The   router  never  holds  more  than
302            ospfExtLsdbLimit  non-default  AS-external-LSAs
303            in  its  database. OspfExtLsdbLimit MUST be set
304            identically in all routers attached to the OSPF
305            backbone  and/or  any regular OSPF area. (i.e.,
306            OSPF stub areas and NSSAs are excluded)."
307        DEFVAL { -1 }
308        ::= { ospfGeneralGroup 11 }
309
310     ospfMulticastExtensions OBJECT-TYPE
311         SYNTAX   Integer32
312         MAX-ACCESS   read-write
313         STATUS   current
314         DESCRIPTION
315            "A Bit Mask indicating whether  the  router  is
316            forwarding  IP  multicast  (Class  D) datagrams
317            based on the algorithms defined in  the  Multi-
318            cast Extensions to OSPF.
319
320            Bit 0, if set, indicates that  the  router  can
321            forward  IP multicast datagrams in the router's
322            directly attached areas (called intra-area mul-
323            ticast routing).
324
325            Bit 1, if set, indicates that  the  router  can
326            forward  IP  multicast  datagrams  between OSPF
327            areas (called inter-area multicast routing).
328
329            Bit 2, if set, indicates that  the  router  can
330            forward  IP  multicast  datagrams between Auto-
331            nomous Systems (called inter-AS multicast rout-
332            ing).
333
334            Only certain combinations of bit  settings  are
335            allowed,  namely: 0 (no multicast forwarding is
336            enabled), 1 (intra-area multicasting  only),  3
337            (intra-area  and  inter-area  multicasting),  5
338            (intra-area and inter-AS  multicasting)  and  7
339            (multicasting  everywhere). By default, no mul-
340            ticast forwarding is enabled."
341        DEFVAL { 0 }
342        ::= { ospfGeneralGroup 12 }
343
344     ospfExitOverflowInterval OBJECT-TYPE
345         SYNTAX   PositiveInteger
346         MAX-ACCESS   read-write
347         STATUS   current
348         DESCRIPTION
349            "The number of  seconds  that,  after  entering
350            OverflowState,  a  router will attempt to leave
351            OverflowState. This allows the router to  again
352            originate  non-default  AS-external-LSAs.  When
353            set to 0, the router will not  leave  Overflow-
354            State until restarted."
355        DEFVAL { 0 }
356        ::= { ospfGeneralGroup 13 }
357
358
359     ospfDemandExtensions OBJECT-TYPE
360         SYNTAX   TruthValue
361         MAX-ACCESS   read-write
362         STATUS   current
363         DESCRIPTION
364            "The router's support for demand routing."
365        REFERENCE
366           "OSPF Version 2, Appendix on Demand Routing"
367       ::= { ospfGeneralGroup 14 }
368
369
370 --      The OSPF Area Data Structure contains information
371 --      regarding the various areas. The interfaces and
372 --      virtual links are configured as part of these areas.
373 --      Area 0.0.0.0, by definition, is the Backbone Area
374
375
376     ospfAreaTable OBJECT-TYPE
377         SYNTAX   SEQUENCE OF OspfAreaEntry
378         MAX-ACCESS   not-accessible
379         STATUS   current
380         DESCRIPTION
381            "Information describing the configured  parame-
382            ters  and cumulative statistics of the router's
383            attached areas."
384        REFERENCE
385           "OSPF Version 2, Section 6  The Area Data Struc-
386           ture"
387       ::= { ospf 2 }
388
389
390     ospfAreaEntry OBJECT-TYPE
391         SYNTAX   OspfAreaEntry
392         MAX-ACCESS   not-accessible
393         STATUS   current
394         DESCRIPTION
395            "Information describing the configured  parame-
396            ters  and  cumulative  statistics of one of the
397            router's attached areas."
398        INDEX { ospfAreaId }
399        ::= { ospfAreaTable 1 }
400
401 OspfAreaEntry ::=
402     SEQUENCE {
403         ospfAreaId
404             AreaID,
405         ospfAuthType
406             Integer32,
407         ospfImportAsExtern
408             INTEGER,
409         ospfSpfRuns
410             Counter32,
411         ospfAreaBdrRtrCount
412             Gauge32,
413         ospfAsBdrRtrCount
414             Gauge32,
415         ospfAreaLsaCount
416             Gauge32,
417         ospfAreaLsaCksumSum
418             Integer32,
419         ospfAreaSummary
420             INTEGER,
421         ospfAreaStatus
422             RowStatus
423               }
424
425     ospfAreaId OBJECT-TYPE
426         SYNTAX   AreaID
427         MAX-ACCESS   read-only
428         STATUS   current
429         DESCRIPTION
430            "A 32-bit integer uniquely identifying an area.
431            Area ID 0.0.0.0 is used for the OSPF backbone."
432        REFERENCE
433           "OSPF Version 2, Appendix C.2 Area parameters"
434       ::= { ospfAreaEntry 1 }
435
436
437     ospfAuthType OBJECT-TYPE
438         SYNTAX   Integer32
439                     -- none (0),
440                     -- simplePassword (1)
441                     -- md5 (2)
442                     -- reserved for specification by IANA (> 2)
443         MAX-ACCESS   read-create
444         STATUS   obsolete
445         DESCRIPTION
446            "The authentication type specified for an area.
447            Additional authentication types may be assigned
448            locally on a per Area basis."
449        REFERENCE
450           "OSPF Version 2, Appendix E Authentication"
451       DEFVAL { 0 }        -- no authentication, by default
452       ::= { ospfAreaEntry 2 }
453
454     ospfImportAsExtern OBJECT-TYPE
455         SYNTAX   INTEGER    {
456                     importExternal (1),
457                     importNoExternal (2),
458                     importNssa (3)
459                   }
460         MAX-ACCESS   read-create
461         STATUS   current
462         DESCRIPTION
463            "The area's support for importing  AS  external
464            link- state advertisements."
465        REFERENCE
466           "OSPF Version 2, Appendix C.2 Area parameters"
467       DEFVAL { importExternal }
468       ::= { ospfAreaEntry 3 }
469
470
471     ospfSpfRuns OBJECT-TYPE
472         SYNTAX   Counter32
473         MAX-ACCESS   read-only
474         STATUS   current
475         DESCRIPTION
476            "The number of times that the intra-area  route
477            table  has  been  calculated  using this area's
478            link-state database.  This  is  typically  done
479            using Dijkstra's algorithm."
480        ::= { ospfAreaEntry 4 }
481
482
483     ospfAreaBdrRtrCount OBJECT-TYPE
484         SYNTAX   Gauge32
485         MAX-ACCESS   read-only
486         STATUS   current
487         DESCRIPTION
488            "The total number of area border routers reach-
489            able within this area.  This is initially zero,
490            and is calculated in each SPF Pass."
491        ::= { ospfAreaEntry 5 }
492
493     ospfAsBdrRtrCount OBJECT-TYPE
494         SYNTAX   Gauge32
495         MAX-ACCESS   read-only
496         STATUS   current
497         DESCRIPTION
498            "The total number of Autonomous  System  border
499            routers  reachable  within  this area.  This is
500            initially zero, and is calculated in  each  SPF
501            Pass."
502        ::= { ospfAreaEntry 6 }
503
504
505     ospfAreaLsaCount OBJECT-TYPE
506         SYNTAX   Gauge32
507         MAX-ACCESS   read-only
508         STATUS   current
509         DESCRIPTION
510            "The total number of link-state  advertisements
511            in  this  area's link-state database, excluding
512            AS External LSA's."
513        ::= { ospfAreaEntry 7 }
514
515
516     ospfAreaLsaCksumSum OBJECT-TYPE
517         SYNTAX   Integer32
518         MAX-ACCESS   read-only
519         STATUS   current
520         DESCRIPTION
521            "The 32-bit unsigned sum of the link-state  ad-
522            vertisements'  LS  checksums  contained in this
523            area's link-state database.  This sum  excludes
524            external (LS type 5) link-state advertisements.
525            The sum can be used to determine if  there  has
526            been  a  change  in a router's link state data-
527            base, and to compare the link-state database of
528            two routers."
529        DEFVAL   { 0 }
530        ::= { ospfAreaEntry 8 }
531
532     ospfAreaSummary OBJECT-TYPE
533         SYNTAX   INTEGER    {
534                     noAreaSummary (1),
535                     sendAreaSummary (2)
536                   }
537         MAX-ACCESS   read-create
538         STATUS   current
539         DESCRIPTION
540            "The variable ospfAreaSummary controls the  im-
541            port  of  summary LSAs into stub areas.  It has
542            no effect on other areas.
543
544            If it is noAreaSummary, the router will neither
545            originate  nor  propagate summary LSAs into the
546            stub area.  It will rely entirely  on  its  de-
547            fault route.
548
549            If it is sendAreaSummary, the router will  both
550            summarize and propagate summary LSAs."
551        DEFVAL   { noAreaSummary }
552        ::= { ospfAreaEntry 9 }
553
554
555     ospfAreaStatus OBJECT-TYPE
556         SYNTAX   RowStatus
557         MAX-ACCESS   read-create
558         STATUS   current
559         DESCRIPTION
560            "This variable displays the status of  the  en-
561            try.  Setting it to 'invalid' has the effect of
562            rendering it inoperative.  The internal  effect
563            (row removal) is implementation dependent."
564        ::= { ospfAreaEntry 10 }
565
566
567 --  OSPF Area Default Metric Table
568
569 --      The OSPF Area Default Metric Table describes the metrics
570 --      that a default Area Border Router will advertise into a
571 --      Stub area.
572
573
574     ospfStubAreaTable OBJECT-TYPE
575         SYNTAX   SEQUENCE OF OspfStubAreaEntry
576         MAX-ACCESS   not-accessible
577         STATUS   current
578         DESCRIPTION
579            "The set of metrics that will be advertised  by
580            a default Area Border Router into a stub area."
581        REFERENCE
582           "OSPF Version 2, Appendix C.2, Area Parameters"
583       ::= { ospf 3 }
584
585
586     ospfStubAreaEntry OBJECT-TYPE
587         SYNTAX   OspfStubAreaEntry
588         MAX-ACCESS   not-accessible
589         STATUS   current
590         DESCRIPTION
591            "The metric for a given Type  of  Service  that
592            will  be  advertised  by  a default Area Border
593            Router into a stub area."
594        REFERENCE
595           "OSPF Version 2, Appendix C.2, Area Parameters"
596       INDEX { ospfStubAreaId, ospfStubTOS }
597       ::= { ospfStubAreaTable 1 }
598
599 OspfStubAreaEntry ::=
600     SEQUENCE {
601         ospfStubAreaId
602             AreaID,
603         ospfStubTOS
604             TOSType,
605         ospfStubMetric
606             BigMetric,
607         ospfStubStatus
608             RowStatus,
609         ospfStubMetricType
610             INTEGER
611               }
612
613     ospfStubAreaId OBJECT-TYPE
614         SYNTAX   AreaID
615         MAX-ACCESS   read-only
616         STATUS   current
617         DESCRIPTION
618            "The 32 bit identifier for the Stub  Area.   On
619            creation,  this  can  be  derived  from the in-
620            stance."
621        ::= { ospfStubAreaEntry 1 }
622
623
624     ospfStubTOS OBJECT-TYPE
625         SYNTAX   TOSType
626         MAX-ACCESS   read-only
627         STATUS   current
628         DESCRIPTION
629            "The  Type  of  Service  associated  with   the
630            metric.   On creation, this can be derived from
631            the instance."
632        ::= { ospfStubAreaEntry 2 }
633
634
635     ospfStubMetric OBJECT-TYPE
636         SYNTAX   BigMetric
637         MAX-ACCESS   read-create
638         STATUS   current
639         DESCRIPTION
640            "The metric value applied at the indicated type
641            of  service.  By default, this equals the least
642            metric at the type of service among the  inter-
643            faces to other areas."
644        ::= { ospfStubAreaEntry 3 }
645
646
647     ospfStubStatus OBJECT-TYPE
648         SYNTAX   RowStatus
649         MAX-ACCESS   read-create
650         STATUS   current
651         DESCRIPTION
652            "This variable displays the status of  the  en-
653            try.  Setting it to 'invalid' has the effect of
654            rendering it inoperative.  The internal  effect
655            (row removal) is implementation dependent."
656        ::= { ospfStubAreaEntry 4 }
657
658     ospfStubMetricType OBJECT-TYPE
659         SYNTAX   INTEGER    {
660                     ospfMetric (1),                -- OSPF Metric
661                     comparableCost (2),        -- external type 1
662                     nonComparable  (3)        -- external type 2
663                   }
664         MAX-ACCESS   read-create
665         STATUS   current
666         DESCRIPTION
667            "This variable displays the type of metric  ad-
668            vertised as a default route."
669        DEFVAL   { ospfMetric }
670        ::= { ospfStubAreaEntry 5 }
671
672 --  OSPF Link State Database
673
674 --      The Link State Database contains the Link State
675 --      Advertisements from throughout the areas that the
676 --      device is attached to.
677
678
679     ospfLsdbTable OBJECT-TYPE
680         SYNTAX   SEQUENCE OF OspfLsdbEntry
681         MAX-ACCESS   not-accessible
682         STATUS   current
683         DESCRIPTION
684            "The OSPF Process's Link State Database."
685        REFERENCE
686           "OSPF Version 2, Section 12  Link  State  Adver-
687           tisements"
688       ::= { ospf 4 }
689
690
691     ospfLsdbEntry OBJECT-TYPE
692         SYNTAX   OspfLsdbEntry
693         MAX-ACCESS   not-accessible
694         STATUS   current
695         DESCRIPTION
696            "A single Link State Advertisement."
697        INDEX { ospfLsdbAreaId, ospfLsdbType,
698                ospfLsdbLsid, ospfLsdbRouterId }
699        ::= { ospfLsdbTable 1 }
700
701 OspfLsdbEntry ::=
702     SEQUENCE {
703         ospfLsdbAreaId
704             AreaID,
705         ospfLsdbType
706             INTEGER,
707         ospfLsdbLsid
708             IpAddress,
709         ospfLsdbRouterId
710             RouterID,
711         ospfLsdbSequence
712             Integer32,
713         ospfLsdbAge
714             Integer32,
715         ospfLsdbChecksum
716             Integer32,
717         ospfLsdbAdvertisement
718             OCTET STRING
719               }
720     ospfLsdbAreaId OBJECT-TYPE
721         SYNTAX   AreaID
722         MAX-ACCESS   read-only
723         STATUS   current
724         DESCRIPTION
725            "The 32 bit identifier of the Area  from  which
726            the LSA was received."
727        REFERENCE
728           "OSPF Version 2, Appendix C.2 Area parameters"
729       ::= { ospfLsdbEntry 1 }
730
731 -- External Link State Advertisements are permitted
732 -- for backward compatibility, but should be displayed in
733 -- the ospfExtLsdbTable rather than here.
734
735     ospfLsdbType OBJECT-TYPE
736         SYNTAX   INTEGER    {
737                     routerLink (1),
738                     networkLink (2),
739                     summaryLink (3),
740                     asSummaryLink (4),
741                     asExternalLink (5), -- but see ospfExtLsdbTable
742                     multicastLink (6),
743                     nssaExternalLink (7)
744                   }
745         MAX-ACCESS   read-only
746         STATUS   current
747         DESCRIPTION
748            "The type  of  the  link  state  advertisement.
749            Each  link state type has a separate advertise-
750            ment format."
751        REFERENCE
752           "OSPF Version 2, Appendix A.4.1 The  Link  State
753           Advertisement header"
754       ::= { ospfLsdbEntry 2 }
755
756     ospfLsdbLsid OBJECT-TYPE
757         SYNTAX   IpAddress
758         MAX-ACCESS   read-only
759         STATUS   current
760         DESCRIPTION
761            "The Link State ID is an LS Type Specific field
762            containing either a Router ID or an IP Address;
763            it identifies the piece of the  routing  domain
764            that is being described by the advertisement."
765        REFERENCE
766           "OSPF Version 2, Section 12.1.4 Link State ID"
767       ::= { ospfLsdbEntry 3 }
768     ospfLsdbRouterId OBJECT-TYPE
769         SYNTAX   RouterID
770         MAX-ACCESS   read-only
771         STATUS   current
772         DESCRIPTION
773            "The 32 bit number that uniquely identifies the
774            originating router in the Autonomous System."
775        REFERENCE
776           "OSPF Version 2, Appendix C.1 Global parameters"
777       ::= { ospfLsdbEntry 4 }
778
779 --  Note that the OSPF Sequence Number is a 32 bit signed
780 --  integer.  It starts with the value '80000001'h,
781 --  or -'7FFFFFFF'h, and increments until '7FFFFFFF'h
782 --  Thus, a typical sequence number will be very negative.
783
784     ospfLsdbSequence OBJECT-TYPE
785         SYNTAX   Integer32
786         MAX-ACCESS   read-only
787         STATUS   current
788         DESCRIPTION
789            "The sequence number field is a  signed  32-bit
790            integer.   It  is used to detect old and dupli-
791            cate link state advertisements.  The  space  of
792            sequence  numbers  is  linearly  ordered.   The
793            larger the sequence number the more recent  the
794            advertisement."
795        REFERENCE
796           "OSPF Version  2,  Section  12.1.6  LS  sequence
797           number"
798       ::= { ospfLsdbEntry 5 }
799
800
801     ospfLsdbAge OBJECT-TYPE
802         SYNTAX   Integer32    -- Should be 0..MaxAge
803         MAX-ACCESS   read-only
804         STATUS   current
805         DESCRIPTION
806            "This field is the age of the link state adver-
807            tisement in seconds."
808        REFERENCE
809           "OSPF Version 2, Section 12.1.1 LS age"
810       ::= { ospfLsdbEntry 6 }
811
812     ospfLsdbChecksum OBJECT-TYPE
813         SYNTAX   Integer32
814         MAX-ACCESS   read-only
815         STATUS   current
816         DESCRIPTION
817            "This field is the  checksum  of  the  complete
818            contents  of  the  advertisement, excepting the
819            age field.  The age field is excepted  so  that
820            an   advertisement's  age  can  be  incremented
821            without updating the  checksum.   The  checksum
822            used  is  the same that is used for ISO connec-
823            tionless datagrams; it is commonly referred  to
824            as the Fletcher checksum."
825        REFERENCE
826           "OSPF Version 2, Section 12.1.7 LS checksum"
827       ::= { ospfLsdbEntry 7 }
828
829
830     ospfLsdbAdvertisement OBJECT-TYPE
831         SYNTAX   OCTET STRING (SIZE (1..65535))
832         MAX-ACCESS   read-only
833         STATUS   current
834         DESCRIPTION
835            "The entire Link State Advertisement, including
836            its header."
837        REFERENCE
838           "OSPF Version 2, Section 12  Link  State  Adver-
839           tisements"
840       ::= { ospfLsdbEntry 8 }
841
842
843 --  Address Range Table
844
845 --      The Address Range Table acts as an adjunct to the Area
846 --      Table; It describes those Address Range Summaries that
847 --      are configured to be propagated from an Area to reduce
848 --      the amount of information about it which is known beyond
849 --      its borders.
850
851     ospfAreaRangeTable OBJECT-TYPE
852         SYNTAX   SEQUENCE OF OspfAreaRangeEntry
853         MAX-ACCESS   not-accessible
854         STATUS   obsolete
855         DESCRIPTION
856            "A range if IP addresses  specified  by  an  IP
857            address/IP  network  mask  pair.   For example,
858            class B address range of X.X.X.X with a network
859            mask  of  255.255.0.0 includes all IP addresses
860            from X.X.0.0 to X.X.255.255"
861        REFERENCE
862           "OSPF Version 2, Appendix C.2  Area parameters"
863       ::= { ospf 5 }
864     ospfAreaRangeEntry OBJECT-TYPE
865         SYNTAX   OspfAreaRangeEntry
866         MAX-ACCESS   not-accessible
867         STATUS   obsolete
868         DESCRIPTION
869            "A range if IP addresses  specified  by  an  IP
870            address/IP  network  mask  pair.   For example,
871            class B address range of X.X.X.X with a network
872            mask  of  255.255.0.0 includes all IP addresses
873            from X.X.0.0 to X.X.255.255"
874        REFERENCE
875           "OSPF Version 2, Appendix C.2  Area parameters"
876       INDEX { ospfAreaRangeAreaId, ospfAreaRangeNet }
877       ::= { ospfAreaRangeTable 1 }
878
879 OspfAreaRangeEntry ::=
880     SEQUENCE {
881         ospfAreaRangeAreaId
882             AreaID,
883         ospfAreaRangeNet
884             IpAddress,
885         ospfAreaRangeMask
886             IpAddress,
887         ospfAreaRangeStatus
888             RowStatus,
889         ospfAreaRangeEffect
890             INTEGER
891               }
892
893     ospfAreaRangeAreaId OBJECT-TYPE
894         SYNTAX   AreaID
895         MAX-ACCESS   read-only
896         STATUS   obsolete
897         DESCRIPTION
898            "The Area the Address  Range  is  to  be  found
899            within."
900        REFERENCE
901           "OSPF Version 2, Appendix C.2 Area parameters"
902       ::= { ospfAreaRangeEntry 1 }
903
904
905     ospfAreaRangeNet OBJECT-TYPE
906         SYNTAX   IpAddress
907         MAX-ACCESS   read-only
908         STATUS   obsolete
909         DESCRIPTION
910            "The IP Address of the Net or Subnet  indicated
911            by the range."
912        REFERENCE
913           "OSPF Version 2, Appendix C.2 Area parameters"
914       ::= { ospfAreaRangeEntry 2 }
915
916
917     ospfAreaRangeMask OBJECT-TYPE
918         SYNTAX   IpAddress
919         MAX-ACCESS   read-create
920         STATUS   obsolete
921         DESCRIPTION
922            "The Subnet Mask that pertains to  the  Net  or
923            Subnet."
924        REFERENCE
925           "OSPF Version 2, Appendix C.2 Area parameters"
926       ::= { ospfAreaRangeEntry 3 }
927
928     ospfAreaRangeStatus OBJECT-TYPE
929         SYNTAX   RowStatus
930         MAX-ACCESS   read-create
931         STATUS   obsolete
932         DESCRIPTION
933            "This variable displays the status of  the  en-
934            try.  Setting it to 'invalid' has the effect of
935            rendering it inoperative.  The internal  effect
936            (row removal) is implementation dependent."
937        ::= { ospfAreaRangeEntry 4 }
938
939
940     ospfAreaRangeEffect OBJECT-TYPE
941         SYNTAX   INTEGER    {
942                     advertiseMatching (1),
943                     doNotAdvertiseMatching (2)
944                   }
945         MAX-ACCESS   read-create
946         STATUS   obsolete
947         DESCRIPTION
948            "Subnets subsumed by ranges either trigger  the
949            advertisement  of the indicated summary (adver-
950            tiseMatching), or result in  the  subnet's  not
951            being advertised at all outside the area."
952        DEFVAL   { advertiseMatching }
953        ::= { ospfAreaRangeEntry 5 }
954
955
956
957 --  OSPF Host Table
958
959 --      The Host/Metric Table indicates what hosts are directly
960 --      attached to the Router, and what metrics and types of
961 --      service should be advertised for them.
962
963     ospfHostTable OBJECT-TYPE
964         SYNTAX   SEQUENCE OF OspfHostEntry
965         MAX-ACCESS   not-accessible
966         STATUS   current
967         DESCRIPTION
968            "The list of Hosts, and their metrics, that the
969            router will advertise as host routes."
970        REFERENCE
971           "OSPF Version 2, Appendix C.6  Host route param-
972           eters"
973       ::= { ospf 6 }
974
975
976     ospfHostEntry OBJECT-TYPE
977         SYNTAX   OspfHostEntry
978         MAX-ACCESS   not-accessible
979         STATUS   current
980         DESCRIPTION
981            "A metric to be advertised, for a given type of
982            service, when a given host is reachable."
983        INDEX { ospfHostIpAddress, ospfHostTOS }
984        ::= { ospfHostTable 1 }
985
986 OspfHostEntry ::=
987     SEQUENCE {
988         ospfHostIpAddress
989             IpAddress,
990         ospfHostTOS
991             TOSType,
992         ospfHostMetric
993             Metric,
994         ospfHostStatus
995             RowStatus,
996         ospfHostAreaID
997             AreaID
998               }
999
1000     ospfHostIpAddress OBJECT-TYPE
1001         SYNTAX   IpAddress
1002         MAX-ACCESS   read-only
1003         STATUS   current
1004         DESCRIPTION
1005            "The IP Address of the Host."
1006        REFERENCE
1007           "OSPF Version 2, Appendix C.6 Host route parame-
1008           ters"
1009       ::= { ospfHostEntry 1 }
1010
1011
1012     ospfHostTOS OBJECT-TYPE
1013         SYNTAX   TOSType
1014         MAX-ACCESS   read-only
1015         STATUS   current
1016         DESCRIPTION
1017            "The Type of Service of the route being config-
1018            ured."
1019        REFERENCE
1020           "OSPF Version 2, Appendix C.6 Host route parame-
1021           ters"
1022       ::= { ospfHostEntry 2 }
1023
1024
1025     ospfHostMetric OBJECT-TYPE
1026         SYNTAX   Metric
1027         MAX-ACCESS   read-create
1028         STATUS   current
1029         DESCRIPTION
1030            "The Metric to be advertised."
1031        REFERENCE
1032           "OSPF Version 2, Appendix C.6 Host route parame-
1033           ters"
1034       ::= { ospfHostEntry 3 }
1035
1036     ospfHostStatus OBJECT-TYPE
1037         SYNTAX   RowStatus
1038         MAX-ACCESS   read-create
1039         STATUS   current
1040         DESCRIPTION
1041            "This variable displays the status of  the  en-
1042            try.  Setting it to 'invalid' has the effect of
1043            rendering it inoperative.  The internal  effect
1044            (row removal) is implementation dependent."
1045        ::= { ospfHostEntry 4 }
1046
1047
1048     ospfHostAreaID OBJECT-TYPE
1049         SYNTAX   AreaID
1050         MAX-ACCESS   read-only
1051         STATUS   current
1052         DESCRIPTION
1053            "The Area the Host Entry is to be found within.
1054            By  default, the area that a subsuming OSPF in-
1055            terface is in, or 0.0.0.0"
1056        REFERENCE
1057           "OSPF Version 2, Appendix C.2 Area parameters"
1058       ::= { ospfHostEntry 5 }
1059
1060
1061 --  OSPF Interface Table
1062
1063 --      The OSPF Interface Table augments the ipAddrTable
1064 --             with OSPF specific information.
1065
1066     ospfIfTable OBJECT-TYPE
1067         SYNTAX   SEQUENCE OF OspfIfEntry
1068         MAX-ACCESS   not-accessible
1069         STATUS   current
1070         DESCRIPTION
1071            "The OSPF Interface Table describes the  inter-
1072            faces from the viewpoint of OSPF."
1073        REFERENCE
1074           "OSPF Version 2, Appendix C.3  Router  interface
1075           parameters"
1076       ::= { ospf 7 }
1077
1078
1079     ospfIfEntry OBJECT-TYPE
1080         SYNTAX   OspfIfEntry
1081         MAX-ACCESS   not-accessible
1082         STATUS   current
1083         DESCRIPTION
1084            "The OSPF Interface Entry describes one  inter-
1085            face from the viewpoint of OSPF."
1086        INDEX { ospfIfIpAddress, ospfAddressLessIf }
1087        ::= { ospfIfTable 1 }
1088
1089 OspfIfEntry ::=
1090     SEQUENCE {
1091         ospfIfIpAddress
1092             IpAddress,
1093         ospfAddressLessIf
1094             Integer32,
1095         ospfIfAreaId
1096             AreaID,
1097         ospfIfType
1098             INTEGER,
1099         ospfIfAdminStat
1100             Status,
1101         ospfIfRtrPriority
1102             DesignatedRouterPriority,
1103         ospfIfTransitDelay
1104             UpToMaxAge,
1105         ospfIfRetransInterval
1106             UpToMaxAge,
1107         ospfIfHelloInterval
1108             HelloRange,
1109         ospfIfRtrDeadInterval
1110             PositiveInteger,
1111         ospfIfPollInterval
1112             PositiveInteger,
1113         ospfIfState
1114             INTEGER,
1115         ospfIfDesignatedRouter
1116             IpAddress,
1117         ospfIfBackupDesignatedRouter
1118             IpAddress,
1119         ospfIfEvents
1120             Counter32,
1121         ospfIfAuthType
1122             INTEGER,
1123         ospfIfAuthKey
1124             OCTET STRING,
1125         ospfIfStatus
1126             RowStatus,
1127         ospfIfMulticastForwarding
1128             INTEGER,
1129         ospfIfDemand
1130             TruthValue
1131               }
1132
1133     ospfIfIpAddress OBJECT-TYPE
1134         SYNTAX   IpAddress
1135         MAX-ACCESS   read-only
1136         STATUS   current
1137         DESCRIPTION
1138            "The IP address of this OSPF interface."
1139        ::= { ospfIfEntry 1 }
1140
1141     ospfAddressLessIf OBJECT-TYPE
1142         SYNTAX   Integer32
1143         MAX-ACCESS   read-only
1144         STATUS   current
1145         DESCRIPTION
1146            "For the purpose of easing  the  instancing  of
1147            addressed   and  addressless  interfaces;  This
1148            variable takes the value 0 on  interfaces  with
1149            IP  Addresses,  and  the corresponding value of
1150            ifIndex for interfaces having no IP Address."
1151        ::= { ospfIfEntry 2 }
1152     ospfIfAreaId OBJECT-TYPE
1153         SYNTAX   AreaID
1154         MAX-ACCESS   read-create
1155         STATUS   current
1156         DESCRIPTION
1157            "A 32-bit integer uniquely identifying the area
1158            to  which  the  interface  connects.   Area  ID
1159            0.0.0.0 is used for the OSPF backbone."
1160        DEFVAL   { '00000000'H }    -- 0.0.0.0
1161        ::= { ospfIfEntry 3 }
1162
1163     ospfIfType OBJECT-TYPE
1164         SYNTAX   INTEGER    {
1165                     broadcast (1),
1166                     nbma (2),
1167                     pointToPoint (3),
1168                     pointToMultipoint (5)
1169                   }
1170         MAX-ACCESS   read-create
1171         STATUS   current
1172         DESCRIPTION
1173            "The OSPF interface type.
1174
1175            By way of a default, this field may be intuited
1176            from the corresponding value of ifType.  Broad-
1177            cast LANs, such as  Ethernet  and  IEEE  802.5,
1178            take  the  value  'broadcast', X.25 and similar
1179            technologies take the value 'nbma',  and  links
1180            that  are  definitively point to point take the
1181            value 'pointToPoint'."
1182        ::= { ospfIfEntry 4 }
1183
1184
1185     ospfIfAdminStat OBJECT-TYPE
1186         SYNTAX   Status
1187         MAX-ACCESS   read-create
1188         STATUS   current
1189         DESCRIPTION
1190            "The OSPF  interface's  administrative  status.
1191            The  value formed on the interface, and the in-
1192            terface will be advertised as an internal route
1193            to  some  area.   The  value 'disabled' denotes
1194            that the interface is external to OSPF."
1195        DEFVAL { enabled }
1196        ::= { ospfIfEntry 5 }
1197
1198     ospfIfRtrPriority OBJECT-TYPE
1199         SYNTAX   DesignatedRouterPriority
1200         MAX-ACCESS   read-create
1201         STATUS   current
1202         DESCRIPTION
1203            "The  priority  of  this  interface.   Used  in
1204            multi-access  networks,  this  field is used in
1205            the designated router election algorithm.   The
1206            value 0 signifies that the router is not eligi-
1207            ble to become the  designated  router  on  this
1208            particular  network.   In the event of a tie in
1209            this value, routers will use their Router ID as
1210            a tie breaker."
1211        DEFVAL { 1 }
1212        ::= { ospfIfEntry 6 }
1213
1214
1215     ospfIfTransitDelay OBJECT-TYPE
1216         SYNTAX   UpToMaxAge
1217         MAX-ACCESS   read-create
1218         STATUS   current
1219         DESCRIPTION
1220            "The estimated number of seconds  it  takes  to
1221            transmit  a  link state update packet over this
1222            interface."
1223        DEFVAL { 1 }
1224        ::= { ospfIfEntry 7 }
1225
1226
1227     ospfIfRetransInterval OBJECT-TYPE
1228         SYNTAX   UpToMaxAge
1229         MAX-ACCESS   read-create
1230         STATUS   current
1231         DESCRIPTION
1232            "The number of seconds between  link-state  ad-
1233            vertisement  retransmissions,  for  adjacencies
1234            belonging to this  interface.   This  value  is
1235            also used when retransmitting database descrip-
1236            tion and link-state request packets."
1237        DEFVAL { 5 }
1238        ::= { ospfIfEntry 8 }
1239
1240
1241     ospfIfHelloInterval OBJECT-TYPE
1242         SYNTAX   HelloRange
1243         MAX-ACCESS   read-create
1244         STATUS   current
1245         DESCRIPTION
1246            "The length of time, in  seconds,  between  the
1247            Hello  packets that the router sends on the in-
1248            terface.  This value must be the same  for  all
1249            routers attached to a common network."
1250        DEFVAL { 10 }
1251        ::= { ospfIfEntry 9 }
1252
1253
1254     ospfIfRtrDeadInterval OBJECT-TYPE
1255         SYNTAX   PositiveInteger
1256         MAX-ACCESS   read-create
1257         STATUS   current
1258         DESCRIPTION
1259            "The number of seconds that  a  router's  Hello
1260            packets  have  not been seen before it's neigh-
1261            bors declare the router down.  This  should  be
1262            some  multiple  of  the  Hello  interval.  This
1263            value must be the same for all routers attached
1264            to a common network."
1265        DEFVAL { 40 }
1266        ::= { ospfIfEntry 10 }
1267
1268
1269     ospfIfPollInterval OBJECT-TYPE
1270         SYNTAX   PositiveInteger
1271         MAX-ACCESS   read-create
1272         STATUS   current
1273         DESCRIPTION
1274            "The larger time interval, in seconds,  between
1275            the  Hello  packets  sent  to  an inactive non-
1276            broadcast multi- access neighbor."
1277        DEFVAL { 120 }
1278        ::= { ospfIfEntry 11 }
1279
1280
1281     ospfIfState OBJECT-TYPE
1282         SYNTAX   INTEGER    {
1283                     down (1),
1284                     loopback (2),
1285                     waiting (3),
1286                     pointToPoint (4),
1287                     designatedRouter (5),
1288                     backupDesignatedRouter (6),
1289                     otherDesignatedRouter (7)
1290                   }
1291         MAX-ACCESS   read-only
1292         STATUS   current
1293         DESCRIPTION
1294            "The OSPF Interface State."
1295        DEFVAL { down }
1296        ::= { ospfIfEntry 12 }
1297
1298
1299     ospfIfDesignatedRouter OBJECT-TYPE
1300         SYNTAX   IpAddress
1301         MAX-ACCESS   read-only
1302         STATUS   current
1303         DESCRIPTION
1304            "The IP Address of the Designated Router."
1305        DEFVAL   { '00000000'H }    -- 0.0.0.0
1306        ::= { ospfIfEntry 13 }
1307
1308
1309     ospfIfBackupDesignatedRouter OBJECT-TYPE
1310         SYNTAX   IpAddress
1311         MAX-ACCESS   read-only
1312         STATUS   current
1313         DESCRIPTION
1314            "The  IP  Address  of  the  Backup   Designated
1315            Router."
1316        DEFVAL   { '00000000'H }    -- 0.0.0.0
1317        ::= { ospfIfEntry 14 }
1318
1319     ospfIfEvents OBJECT-TYPE
1320         SYNTAX   Counter32
1321         MAX-ACCESS   read-only
1322         STATUS   current
1323         DESCRIPTION
1324            "The number of times this  OSPF  interface  has
1325            changed its state, or an error has occurred."
1326        ::= { ospfIfEntry 15 }
1327
1328
1329     ospfIfAuthKey OBJECT-TYPE
1330         SYNTAX   OCTET STRING (SIZE (0..256))
1331         MAX-ACCESS   read-create
1332         STATUS   current
1333         DESCRIPTION
1334            "The Authentication Key.  If the Area's Author-
1335            ization  Type  is  simplePassword,  and the key
1336            length is shorter than 8 octets, the agent will
1337            left adjust and zero fill to 8 octets.
1338
1339            Note that unauthenticated  interfaces  need  no
1340            authentication key, and simple password authen-
1341            tication cannot use a key of more  than  8  oc-
1342            tets.  Larger keys are useful only with authen-
1343            tication mechanisms not specified in this docu-
1344            ment.
1345
1346            When read, ospfIfAuthKey always returns an  Oc-
1347            tet String of length zero."
1348        REFERENCE
1349           "OSPF Version 2, Section 9  The  Interface  Data
1350           Structure"
1351       DEFVAL   { '0000000000000000'H }    -- 0.0.0.0.0.0.0.0
1352       ::= { ospfIfEntry 16 }
1353
1354     ospfIfStatus OBJECT-TYPE
1355         SYNTAX   RowStatus
1356         MAX-ACCESS   read-create
1357         STATUS   current
1358         DESCRIPTION
1359            "This variable displays the status of  the  en-
1360            try.  Setting it to 'invalid' has the effect of
1361            rendering it inoperative.  The internal  effect
1362            (row removal) is implementation dependent."
1363        ::= { ospfIfEntry 17 }
1364
1365
1366     ospfIfMulticastForwarding OBJECT-TYPE
1367         SYNTAX   INTEGER    {
1368                             blocked (1),        -- no multicast forwarding
1369                             multicast (2),        -- using multicast address
1370                             unicast (3)        -- to each OSPF neighbor
1371                   }
1372         MAX-ACCESS   read-create
1373         STATUS   current
1374         DESCRIPTION
1375            "The way multicasts should  forwarded  on  this
1376            interface;  not  forwarded,  forwarded  as data
1377            link multicasts, or forwarded as data link uni-
1378            casts.   Data link multicasting is not meaning-
1379            ful on point to point and NBMA interfaces,  and
1380            setting ospfMulticastForwarding to 0 effective-
1381            ly disables all multicast forwarding."
1382        DEFVAL { blocked }
1383        ::= { ospfIfEntry 18 }
1384
1385
1386     ospfIfDemand OBJECT-TYPE
1387         SYNTAX   TruthValue
1388         MAX-ACCESS   read-create
1389         STATUS   current
1390         DESCRIPTION
1391            "Indicates whether Demand OSPF procedures (hel-
1392            lo suppression to FULL neighbors and setting the
1393            DoNotAge flag on proogated LSAs) should be per-
1394            formed on this interface."
1395        DEFVAL { false }
1396        ::= { ospfIfEntry 19 }
1397
1398
1399     ospfIfAuthType OBJECT-TYPE
1400         SYNTAX   INTEGER (0..255)
1401                     -- none (0),
1402                     -- simplePassword (1)
1403                     -- md5 (2)
1404                     -- reserved for specification by IANA (> 2)
1405         MAX-ACCESS   read-create
1406         STATUS   current
1407         DESCRIPTION
1408            "The authentication type specified for  an  in-
1409            terface.   Additional  authentication types may
1410            be assigned locally."
1411        REFERENCE
1412           "OSPF Version 2, Appendix E Authentication"
1413       DEFVAL { 0 }        -- no authentication, by default
1414       ::= { ospfIfEntry 20 }
1415
1416
1417 --  OSPF Interface Metric Table
1418
1419 --      The Metric Table describes the metrics to be advertised
1420 --      for a specified interface at the various types of service.
1421 --      As such, this table is an adjunct of the OSPF Interface
1422 --      Table.
1423
1424 -- Types of service, as defined by RFC 791, have the ability
1425 -- to request low delay, high bandwidth, or reliable linkage.
1426
1427 -- For the purposes of this specification, the measure of
1428 -- bandwidth
1429
1430 --      Metric = 10^8 / ifSpeed
1431
1432 -- is the default value.  For multiple link interfaces, note
1433 -- that ifSpeed is the sum of the individual link speeds.
1434 -- This yields a number having the following typical values:
1435
1436 --      Network Type/bit rate   Metric
1437
1438 --      >= 100 MBPS                 1
1439 --      Ethernet/802.3             10
1440 --      E1                         48
1441 --      T1 (ESF)                   65
1442 --       64 KBPS                 1562
1443 --       56 KBPS                 1785
1444 --       19.2 KBPS               5208
1445 --        9.6 KBPS              10416
1446
1447 -- Routes that are not specified use the default (TOS 0) metric
1448
1449     ospfIfMetricTable OBJECT-TYPE
1450         SYNTAX   SEQUENCE OF OspfIfMetricEntry
1451         MAX-ACCESS   not-accessible
1452         STATUS   current
1453         DESCRIPTION
1454            "The TOS metrics for  a  non-virtual  interface
1455            identified by the interface index."
1456        REFERENCE
1457           "OSPF Version 2, Appendix C.3  Router  interface
1458           parameters"
1459       ::= { ospf 8 }
1460
1461     ospfIfMetricEntry OBJECT-TYPE
1462         SYNTAX   OspfIfMetricEntry
1463         MAX-ACCESS   not-accessible
1464         STATUS   current
1465         DESCRIPTION
1466            "A particular TOS metric for a non-virtual  in-
1467            terface identified by the interface index."
1468        REFERENCE
1469           "OSPF Version 2, Appendix C.3  Router  interface
1470           parameters"
1471       INDEX { ospfIfMetricIpAddress,
1472   ospfIfMetricAddressLessIf,
1473   ospfIfMetricTOS }
1474       ::= { ospfIfMetricTable 1 }
1475
1476 OspfIfMetricEntry ::=
1477     SEQUENCE {
1478         ospfIfMetricIpAddress
1479             IpAddress,
1480         ospfIfMetricAddressLessIf
1481             Integer32,
1482         ospfIfMetricTOS
1483             TOSType,
1484         ospfIfMetricValue
1485             Metric,
1486         ospfIfMetricStatus
1487             RowStatus
1488               }
1489
1490     ospfIfMetricIpAddress OBJECT-TYPE
1491         SYNTAX   IpAddress
1492         MAX-ACCESS   read-only
1493         STATUS   current
1494         DESCRIPTION
1495            "The IP address of this OSPF interface.  On row
1496            creation,  this  can  be  derived  from the in-
1497            stance."
1498        ::= { ospfIfMetricEntry 1 }
1499
1500     ospfIfMetricAddressLessIf OBJECT-TYPE
1501         SYNTAX   Integer32
1502         MAX-ACCESS   read-only
1503         STATUS   current
1504         DESCRIPTION
1505            "For the purpose of easing  the  instancing  of
1506            addressed   and  addressless  interfaces;  This
1507            variable takes the value 0 on  interfaces  with
1508            IP  Addresses, and the value of ifIndex for in-
1509            terfaces having no IP Address.   On  row  crea-
1510            tion, this can be derived from the instance."
1511        ::= { ospfIfMetricEntry 2 }
1512
1513
1514     ospfIfMetricTOS OBJECT-TYPE
1515         SYNTAX   TOSType
1516         MAX-ACCESS   read-only
1517         STATUS   current
1518         DESCRIPTION
1519            "The type of service metric  being  referenced.
1520            On  row  creation, this can be derived from the
1521            instance."
1522        ::= { ospfIfMetricEntry 3 }
1523
1524
1525     ospfIfMetricValue OBJECT-TYPE
1526         SYNTAX   Metric
1527         MAX-ACCESS   read-create
1528         STATUS   current
1529         DESCRIPTION
1530            "The metric of using this type  of  service  on
1531            this interface.  The default value of the TOS 0
1532            Metric is 10^8 / ifSpeed."
1533        ::= { ospfIfMetricEntry 4 }
1534
1535     ospfIfMetricStatus OBJECT-TYPE
1536         SYNTAX   RowStatus
1537         MAX-ACCESS   read-create
1538         STATUS   current
1539         DESCRIPTION
1540            "This variable displays the status of  the  en-
1541            try.  Setting it to 'invalid' has the effect of
1542            rendering it inoperative.  The internal  effect
1543            (row removal) is implementation dependent."
1544        ::= { ospfIfMetricEntry 5 }
1545
1546
1547 --  OSPF Virtual Interface Table
1548
1549 --      The Virtual Interface Table describes the virtual
1550 --      links that the OSPF Process is configured to
1551 --      carry on.
1552
1553     ospfVirtIfTable OBJECT-TYPE
1554         SYNTAX   SEQUENCE OF OspfVirtIfEntry
1555         MAX-ACCESS   not-accessible
1556         STATUS   current
1557         DESCRIPTION
1558            "Information about this router's virtual inter-
1559            faces."
1560        REFERENCE
1561           "OSPF Version  2,  Appendix  C.4   Virtual  link
1562           parameters"
1563       ::= { ospf 9 }
1564
1565
1566     ospfVirtIfEntry OBJECT-TYPE
1567         SYNTAX   OspfVirtIfEntry
1568         MAX-ACCESS   not-accessible
1569         STATUS   current
1570         DESCRIPTION
1571            "Information about a single Virtual Interface."
1572        INDEX { ospfVirtIfAreaId, ospfVirtIfNeighbor }
1573        ::= { ospfVirtIfTable 1 }
1574
1575 OspfVirtIfEntry ::=
1576     SEQUENCE {
1577         ospfVirtIfAreaId
1578             AreaID,
1579         ospfVirtIfNeighbor
1580             RouterID,
1581         ospfVirtIfTransitDelay
1582             UpToMaxAge,
1583         ospfVirtIfRetransInterval
1584             UpToMaxAge,
1585         ospfVirtIfHelloInterval
1586             HelloRange,
1587         ospfVirtIfRtrDeadInterval
1588             PositiveInteger,
1589         ospfVirtIfState
1590             INTEGER,
1591         ospfVirtIfEvents
1592             Counter32,
1593         ospfVirtIfAuthType
1594             INTEGER,
1595         ospfVirtIfAuthKey
1596             OCTET STRING,
1597         ospfVirtIfStatus
1598             RowStatus
1599               }
1600
1601     ospfVirtIfAreaId OBJECT-TYPE
1602         SYNTAX   AreaID
1603         MAX-ACCESS   read-only
1604         STATUS   current
1605         DESCRIPTION
1606            "The  Transit  Area  that  the   Virtual   Link
1607            traverses.  By definition, this is not 0.0.0.0"
1608        ::= { ospfVirtIfEntry 1 }
1609
1610
1611     ospfVirtIfNeighbor OBJECT-TYPE
1612         SYNTAX   RouterID
1613         MAX-ACCESS   read-only
1614         STATUS   current
1615         DESCRIPTION
1616            "The Router ID of the Virtual Neighbor."
1617        ::= { ospfVirtIfEntry 2 }
1618
1619
1620     ospfVirtIfTransitDelay OBJECT-TYPE
1621         SYNTAX   UpToMaxAge
1622         MAX-ACCESS   read-create
1623         STATUS   current
1624         DESCRIPTION
1625            "The estimated number of seconds  it  takes  to
1626            transmit  a link- state update packet over this
1627            interface."
1628        DEFVAL { 1 }
1629        ::= { ospfVirtIfEntry 3 }
1630
1631
1632     ospfVirtIfRetransInterval OBJECT-TYPE
1633         SYNTAX   UpToMaxAge
1634         MAX-ACCESS   read-create
1635         STATUS   current
1636         DESCRIPTION
1637            "The number of seconds between  link-state  ad-
1638            vertisement  retransmissions,  for  adjacencies
1639            belonging to this  interface.   This  value  is
1640            also used when retransmitting database descrip-
1641            tion  and  link-state  request  packets.   This
1642            value  should  be well over the expected round-
1643            trip time."
1644        DEFVAL { 5 }
1645        ::= { ospfVirtIfEntry 4 }
1646
1647
1648     ospfVirtIfHelloInterval OBJECT-TYPE
1649         SYNTAX   HelloRange
1650         MAX-ACCESS   read-create
1651         STATUS   current
1652         DESCRIPTION
1653            "The length of time, in  seconds,  between  the
1654            Hello  packets that the router sends on the in-
1655            terface.  This value must be the same  for  the
1656            virtual neighbor."
1657        DEFVAL { 10 }
1658        ::= { ospfVirtIfEntry 5 }
1659
1660
1661     ospfVirtIfRtrDeadInterval OBJECT-TYPE
1662         SYNTAX   PositiveInteger
1663         MAX-ACCESS   read-create
1664         STATUS   current
1665         DESCRIPTION
1666            "The number of seconds that  a  router's  Hello
1667            packets  have  not been seen before it's neigh-
1668            bors declare the router down.  This  should  be
1669            some  multiple  of  the  Hello  interval.  This
1670            value must be the same for the  virtual  neigh-
1671            bor."
1672        DEFVAL { 60 }
1673        ::= { ospfVirtIfEntry 6 }
1674
1675
1676     ospfVirtIfState OBJECT-TYPE
1677         SYNTAX   INTEGER    {
1678                     down (1),            -- these use the same encoding
1679                     pointToPoint (4)     -- as the ospfIfTable
1680                   }
1681         MAX-ACCESS   read-only
1682         STATUS   current
1683         DESCRIPTION
1684            "OSPF virtual interface states."
1685        DEFVAL   { down }
1686        ::= { ospfVirtIfEntry 7 }
1687
1688
1689     ospfVirtIfEvents OBJECT-TYPE
1690         SYNTAX   Counter32
1691         MAX-ACCESS   read-only
1692         STATUS   current
1693         DESCRIPTION
1694            "The number of state changes or error events on
1695            this Virtual Link"
1696        ::= { ospfVirtIfEntry 8 }
1697
1698
1699     ospfVirtIfAuthKey OBJECT-TYPE
1700         SYNTAX   OCTET STRING (SIZE(0..256))
1701         MAX-ACCESS   read-create
1702         STATUS   current
1703         DESCRIPTION
1704            "If Authentication Type is simplePassword,  the
1705            device  will left adjust and zero fill to 8 oc-
1706            tets.
1707
1708            Note that unauthenticated  interfaces  need  no
1709            authentication key, and simple password authen-
1710            tication cannot use a key of more  than  8  oc-
1711            tets.  Larger keys are useful only with authen-
1712            tication mechanisms not specified in this docu-
1713            ment.
1714
1715            When  read,  ospfVifAuthKey  always  returns  a
1716            string of length zero."
1717        REFERENCE
1718           "OSPF Version 2, Section 9  The  Interface  Data
1719           Structure"
1720       DEFVAL   { '0000000000000000'H }    -- 0.0.0.0.0.0.0.0
1721       ::= { ospfVirtIfEntry 9 }
1722
1723
1724     ospfVirtIfStatus OBJECT-TYPE
1725         SYNTAX   RowStatus
1726         MAX-ACCESS   read-create
1727         STATUS   current
1728         DESCRIPTION
1729            "This variable displays the status of  the  en-
1730            try.  Setting it to 'invalid' has the effect of
1731            rendering it inoperative.  The internal  effect
1732            (row removal) is implementation dependent."
1733        ::= { ospfVirtIfEntry 10 }
1734
1735
1736     ospfVirtIfAuthType OBJECT-TYPE
1737         SYNTAX   INTEGER (0..255)
1738                     -- none (0),
1739                     -- simplePassword (1)
1740                     -- md5 (2)
1741                     -- reserved for specification by IANA (> 2)
1742         MAX-ACCESS   read-create
1743         STATUS   current
1744         DESCRIPTION
1745            "The authentication type specified for a virtu-
1746            al  interface.  Additional authentication types
1747            may be assigned locally."
1748        REFERENCE
1749           "OSPF Version 2, Appendix E Authentication"
1750       DEFVAL { 0 }        -- no authentication, by default
1751       ::= { ospfVirtIfEntry 11 }
1752
1753
1754 --  OSPF Neighbor Table
1755
1756 --      The OSPF Neighbor Table describes all neighbors in
1757 --      the locality of the subject router.
1758
1759     ospfNbrTable OBJECT-TYPE
1760         SYNTAX   SEQUENCE OF OspfNbrEntry
1761         MAX-ACCESS   not-accessible
1762         STATUS   current
1763         DESCRIPTION
1764            "A table of non-virtual neighbor information."
1765        REFERENCE
1766           "OSPF Version 2, Section 10  The  Neighbor  Data
1767           Structure"
1768       ::= { ospf 10 }
1769
1770
1771     ospfNbrEntry OBJECT-TYPE
1772         SYNTAX   OspfNbrEntry
1773         MAX-ACCESS   not-accessible
1774         STATUS   current
1775         DESCRIPTION
1776            "The information regarding a single neighbor."
1777        REFERENCE
1778           "OSPF Version 2, Section 10  The  Neighbor  Data
1779           Structure"
1780       INDEX { ospfNbrIpAddr, ospfNbrAddressLessIndex }
1781       ::= { ospfNbrTable 1 }
1782
1783 OspfNbrEntry ::=
1784     SEQUENCE {
1785         ospfNbrIpAddr
1786             IpAddress,
1787         ospfNbrAddressLessIndex
1788             InterfaceIndex,
1789         ospfNbrRtrId
1790             RouterID,
1791         ospfNbrOptions
1792             Integer32,
1793         ospfNbrPriority
1794             DesignatedRouterPriority,
1795         ospfNbrState
1796             INTEGER,
1797         ospfNbrEvents
1798             Counter32,
1799         ospfNbrLsRetransQLen
1800             Gauge32,
1801         ospfNbmaNbrStatus
1802             RowStatus,
1803         ospfNbmaNbrPermanence
1804             INTEGER,
1805         ospfNbrHelloSuppressed
1806             TruthValue
1807               }
1808
1809     ospfNbrIpAddr OBJECT-TYPE
1810         SYNTAX   IpAddress
1811         MAX-ACCESS   read-only
1812         STATUS   current
1813         DESCRIPTION
1814            "The IP address this neighbor is using  in  its
1815            IP  Source  Address.  Note that, on addressless
1816            links, this will not be 0.0.0.0,  but  the  ad-
1817            dress of another of the neighbor's interfaces."
1818        ::= { ospfNbrEntry 1 }
1819
1820
1821     ospfNbrAddressLessIndex OBJECT-TYPE
1822         SYNTAX   InterfaceIndex
1823         MAX-ACCESS   read-only
1824         STATUS   current
1825         DESCRIPTION
1826            "On an interface having an  IP  Address,  zero.
1827            On  addressless  interfaces,  the corresponding
1828            value of ifIndex in the Internet Standard  MIB.
1829            On  row  creation, this can be derived from the
1830            instance."
1831        ::= { ospfNbrEntry 2 }
1832
1833
1834     ospfNbrRtrId OBJECT-TYPE
1835         SYNTAX   RouterID
1836         MAX-ACCESS   read-only
1837         STATUS   current
1838         DESCRIPTION
1839            "A 32-bit integer (represented as a type  IpAd-
1840            dress)  uniquely  identifying  the  neighboring
1841            router in the Autonomous System."
1842        DEFVAL   { '00000000'H }    -- 0.0.0.0
1843        ::= { ospfNbrEntry 3 }
1844
1845
1846     ospfNbrOptions OBJECT-TYPE
1847         SYNTAX   Integer32
1848         MAX-ACCESS   read-only
1849         STATUS   current
1850         DESCRIPTION
1851            "A Bit Mask corresponding to the neighbor's op-
1852            tions field.
1853
1854            Bit 0, if set, indicates that the  system  will
1855            operate  on  Type of Service metrics other than
1856            TOS 0.  If zero, the neighbor will  ignore  all
1857            metrics except the TOS 0 metric.
1858
1859            Bit 1, if set, indicates  that  the  associated
1860            area  accepts and operates on external informa-
1861            tion; if zero, it is a stub area.
1862
1863            Bit 2, if set, indicates that the system is ca-
1864            pable  of routing IP Multicast datagrams; i.e.,
1865            that it implements the Multicast Extensions  to
1866            OSPF.
1867
1868            Bit 3, if set, indicates  that  the  associated
1869            area  is  an  NSSA.  These areas are capable of
1870            carrying type 7 external advertisements,  which
1871            are  translated into type 5 external advertise-
1872            ments at NSSA borders."
1873        REFERENCE
1874           "OSPF Version 2, Section 12.1.2 Options"
1875       DEFVAL { 0 }
1876       ::= { ospfNbrEntry 4 }
1877
1878
1879     ospfNbrPriority OBJECT-TYPE
1880         SYNTAX   DesignatedRouterPriority
1881         MAX-ACCESS   read-create
1882         STATUS   current
1883         DESCRIPTION
1884            "The priority of this neighbor in the designat-
1885            ed router election algorithm.  The value 0 sig-
1886            nifies that the neighbor is not eligible to be-
1887            come  the  designated router on this particular
1888            network."
1889        DEFVAL { 1 }
1890        ::= { ospfNbrEntry 5 }
1891
1892
1893     ospfNbrState OBJECT-TYPE
1894         SYNTAX   INTEGER    {
1895                     down (1),
1896                     attempt (2),
1897                     init (3),
1898                     twoWay (4),
1899                     exchangeStart (5),
1900                     exchange (6),
1901                     loading (7),
1902                     full (8)
1903                   }
1904         MAX-ACCESS   read-only
1905         STATUS   current
1906         DESCRIPTION
1907            "The State of the relationship with this Neigh-
1908            bor."
1909        REFERENCE
1910           "OSPF Version 2, Section 10.1 Neighbor States"
1911       DEFVAL   { down }
1912       ::= { ospfNbrEntry 6 }
1913
1914
1915     ospfNbrEvents OBJECT-TYPE
1916         SYNTAX   Counter32
1917         MAX-ACCESS   read-only
1918         STATUS   current
1919         DESCRIPTION
1920            "The number of times this neighbor relationship
1921            has changed state, or an error has occurred."
1922        ::= { ospfNbrEntry 7 }
1923
1924
1925     ospfNbrLsRetransQLen OBJECT-TYPE
1926         SYNTAX   Gauge32
1927         MAX-ACCESS   read-only
1928         STATUS   current
1929         DESCRIPTION
1930            "The  current  length  of  the   retransmission
1931            queue."
1932        ::= { ospfNbrEntry 8 }
1933
1934
1935     ospfNbmaNbrStatus OBJECT-TYPE
1936         SYNTAX   RowStatus
1937         MAX-ACCESS   read-create
1938         STATUS   current
1939         DESCRIPTION
1940            "This variable displays the status of  the  en-
1941            try.  Setting it to 'invalid' has the effect of
1942            rendering it inoperative.  The internal  effect
1943            (row removal) is implementation dependent."
1944        ::= { ospfNbrEntry 9 }
1945
1946
1947     ospfNbmaNbrPermanence OBJECT-TYPE
1948         SYNTAX   INTEGER    {
1949                     dynamic (1),        -- learned through protocol
1950                     permanent (2)       -- configured address
1951                   }
1952         MAX-ACCESS   read-only
1953         STATUS   current
1954         DESCRIPTION
1955            "This variable displays the status of  the  en-
1956            try.   'dynamic'  and  'permanent' refer to how
1957            the neighbor became known."
1958        DEFVAL { permanent }
1959        ::= { ospfNbrEntry 10 }
1960
1961
1962     ospfNbrHelloSuppressed OBJECT-TYPE
1963         SYNTAX   TruthValue
1964         MAX-ACCESS   read-only
1965         STATUS   current
1966         DESCRIPTION
1967            "Indicates whether Hellos are being  suppressed
1968            to the neighbor"
1969        ::= { ospfNbrEntry 11 }
1970
1971
1972 --  OSPF Virtual Neighbor Table
1973
1974 --      This table describes all virtual neighbors.
1975 --      Since Virtual Links are configured in the
1976 --      virtual interface table, this table is read-only.
1977
1978     ospfVirtNbrTable OBJECT-TYPE
1979         SYNTAX   SEQUENCE OF OspfVirtNbrEntry
1980         MAX-ACCESS   not-accessible
1981         STATUS   current
1982         DESCRIPTION
1983            "A table of virtual neighbor information."
1984        REFERENCE
1985           "OSPF Version 2, Section 15  Virtual Links"
1986       ::= { ospf 11 }
1987
1988
1989     ospfVirtNbrEntry OBJECT-TYPE
1990         SYNTAX   OspfVirtNbrEntry
1991         MAX-ACCESS   not-accessible
1992         STATUS   current
1993         DESCRIPTION
1994            "Virtual neighbor information."
1995        INDEX { ospfVirtNbrArea, ospfVirtNbrRtrId }
1996        ::= { ospfVirtNbrTable 1 }
1997
1998 OspfVirtNbrEntry ::=
1999     SEQUENCE {
2000         ospfVirtNbrArea
2001             AreaID,
2002         ospfVirtNbrRtrId
2003             RouterID,
2004         ospfVirtNbrIpAddr
2005             IpAddress,
2006         ospfVirtNbrOptions
2007             Integer32,
2008         ospfVirtNbrState
2009             INTEGER,
2010         ospfVirtNbrEvents
2011             Counter32,
2012         ospfVirtNbrLsRetransQLen
2013             Gauge32,
2014         ospfVirtNbrHelloSuppressed
2015                 TruthValue
2016               }
2017
2018     ospfVirtNbrArea OBJECT-TYPE
2019         SYNTAX   AreaID
2020         MAX-ACCESS   read-only
2021         STATUS   current
2022         DESCRIPTION
2023            "The Transit Area Identifier."
2024        ::= { ospfVirtNbrEntry 1 }
2025
2026
2027     ospfVirtNbrRtrId OBJECT-TYPE
2028         SYNTAX   RouterID
2029         MAX-ACCESS   read-only
2030         STATUS   current
2031         DESCRIPTION
2032            "A  32-bit  integer  uniquely  identifying  the
2033            neighboring router in the Autonomous System."
2034        ::= { ospfVirtNbrEntry 2 }
2035
2036
2037     ospfVirtNbrIpAddr OBJECT-TYPE
2038         SYNTAX   IpAddress
2039         MAX-ACCESS   read-only
2040         STATUS   current
2041         DESCRIPTION
2042            "The IP address this Virtual  Neighbor  is  us-
2043            ing."
2044        ::= { ospfVirtNbrEntry 3 }
2045
2046
2047     ospfVirtNbrOptions OBJECT-TYPE
2048         SYNTAX   Integer32
2049         MAX-ACCESS   read-only
2050         STATUS   current
2051         DESCRIPTION
2052            "A Bit Mask corresponding to the neighbor's op-
2053            tions field.
2054
2055            Bit 1, if set, indicates that the  system  will
2056            operate  on  Type of Service metrics other than
2057            TOS 0.  If zero, the neighbor will  ignore  all
2058            metrics except the TOS 0 metric.
2059
2060            Bit 2, if set, indicates  that  the  system  is
2061            Network  Multicast  capable; ie, that it imple-
2062            ments OSPF Multicast Routing."
2063        ::= { ospfVirtNbrEntry 4 }
2064     ospfVirtNbrState OBJECT-TYPE
2065         SYNTAX   INTEGER    {
2066                     down (1),
2067                     attempt (2),
2068                     init (3),
2069                     twoWay (4),
2070                     exchangeStart (5),
2071                     exchange (6),
2072                     loading (7),
2073                     full (8)
2074                   }
2075         MAX-ACCESS   read-only
2076         STATUS   current
2077         DESCRIPTION
2078            "The state of the  Virtual  Neighbor  Relation-
2079            ship."
2080        ::= { ospfVirtNbrEntry 5 }
2081
2082
2083     ospfVirtNbrEvents OBJECT-TYPE
2084         SYNTAX   Counter32
2085         MAX-ACCESS   read-only
2086         STATUS   current
2087         DESCRIPTION
2088            "The number of  times  this  virtual  link  has
2089            changed its state, or an error has occurred."
2090        ::= { ospfVirtNbrEntry 6 }
2091
2092
2093     ospfVirtNbrLsRetransQLen OBJECT-TYPE
2094         SYNTAX   Gauge32
2095         MAX-ACCESS   read-only
2096         STATUS   current
2097         DESCRIPTION
2098            "The  current  length  of  the   retransmission
2099            queue."
2100        ::= { ospfVirtNbrEntry 7 }
2101
2102
2103     ospfVirtNbrHelloSuppressed OBJECT-TYPE
2104         SYNTAX   TruthValue
2105         MAX-ACCESS   read-only
2106         STATUS   current
2107         DESCRIPTION
2108            "Indicates whether Hellos are being  suppressed
2109            to the neighbor"
2110        ::= { ospfVirtNbrEntry 8 }
2111
2112 --  OSPF Link State Database, External
2113
2114 --      The Link State Database contains the Link State
2115 --      Advertisements from throughout the areas that the
2116 --      device is attached to.
2117
2118 --             This table is identical to the OSPF LSDB Table in
2119 --      format, but contains only External Link State
2120 --             Advertisements.  The purpose is to allow external
2121 --      LSAs to be displayed once for the router rather
2122 --      than once in each non-stub area.
2123
2124     ospfExtLsdbTable OBJECT-TYPE
2125         SYNTAX   SEQUENCE OF OspfExtLsdbEntry
2126         MAX-ACCESS   not-accessible
2127         STATUS   current
2128         DESCRIPTION
2129            "The OSPF Process's Links State Database."
2130        REFERENCE
2131           "OSPF Version 2, Section 12  Link  State  Adver-
2132           tisements"
2133       ::= { ospf 12 }
2134
2135
2136     ospfExtLsdbEntry OBJECT-TYPE
2137         SYNTAX   OspfExtLsdbEntry
2138         MAX-ACCESS   not-accessible
2139         STATUS   current
2140         DESCRIPTION
2141            "A single Link State Advertisement."
2142        INDEX { ospfExtLsdbType, ospfExtLsdbLsid, ospfExtLsdbRouterId }
2143        ::= { ospfExtLsdbTable 1 }
2144
2145 OspfExtLsdbEntry ::=
2146     SEQUENCE {
2147         ospfExtLsdbType
2148             INTEGER,
2149         ospfExtLsdbLsid
2150             IpAddress,
2151         ospfExtLsdbRouterId
2152             RouterID,
2153         ospfExtLsdbSequence
2154             Integer32,
2155         ospfExtLsdbAge
2156             Integer32,
2157         ospfExtLsdbChecksum
2158             Integer32,
2159         ospfExtLsdbAdvertisement
2160             OCTET STRING
2161               }
2162
2163     ospfExtLsdbType OBJECT-TYPE
2164         SYNTAX   INTEGER    {
2165                     asExternalLink (5)
2166                   }
2167         MAX-ACCESS   read-only
2168         STATUS   current
2169         DESCRIPTION
2170            "The type  of  the  link  state  advertisement.
2171            Each  link state type has a separate advertise-
2172            ment format."
2173        REFERENCE
2174           "OSPF Version 2, Appendix A.4.1 The  Link  State
2175           Advertisement header"
2176       ::= { ospfExtLsdbEntry 1 }
2177
2178
2179     ospfExtLsdbLsid OBJECT-TYPE
2180         SYNTAX   IpAddress
2181         MAX-ACCESS   read-only
2182         STATUS   current
2183         DESCRIPTION
2184            "The Link State ID is an LS Type Specific field
2185            containing either a Router ID or an IP Address;
2186            it identifies the piece of the  routing  domain
2187            that is being described by the advertisement."
2188        REFERENCE
2189           "OSPF Version 2, Section 12.1.4 Link State ID"
2190       ::= { ospfExtLsdbEntry 2 }
2191
2192
2193     ospfExtLsdbRouterId OBJECT-TYPE
2194         SYNTAX   RouterID
2195         MAX-ACCESS   read-only
2196         STATUS   current
2197         DESCRIPTION
2198            "The 32 bit number that uniquely identifies the
2199            originating router in the Autonomous System."
2200        REFERENCE
2201           "OSPF Version 2, Appendix C.1 Global parameters"
2202       ::= { ospfExtLsdbEntry 3 }
2203
2204 --  Note that the OSPF Sequence Number is a 32 bit signed
2205 --  integer.  It starts with the value '80000001'h,
2206 --  or -'7FFFFFFF'h, and increments until '7FFFFFFF'h
2207 --  Thus, a typical sequence number will be very negative.
2208     ospfExtLsdbSequence OBJECT-TYPE
2209         SYNTAX   Integer32
2210         MAX-ACCESS   read-only
2211         STATUS   current
2212         DESCRIPTION
2213            "The sequence number field is a  signed  32-bit
2214            integer.   It  is used to detect old and dupli-
2215            cate link state advertisements.  The  space  of
2216            sequence  numbers  is  linearly  ordered.   The
2217            larger the sequence number the more recent  the
2218            advertisement."
2219        REFERENCE
2220           "OSPF Version  2,  Section  12.1.6  LS  sequence
2221           number"
2222       ::= { ospfExtLsdbEntry 4 }
2223
2224
2225     ospfExtLsdbAge OBJECT-TYPE
2226         SYNTAX   Integer32    -- Should be 0..MaxAge
2227         MAX-ACCESS   read-only
2228         STATUS   current
2229         DESCRIPTION
2230            "This field is the age of the link state adver-
2231            tisement in seconds."
2232        REFERENCE
2233           "OSPF Version 2, Section 12.1.1 LS age"
2234       ::= { ospfExtLsdbEntry 5 }
2235
2236
2237     ospfExtLsdbChecksum OBJECT-TYPE
2238         SYNTAX   Integer32
2239         MAX-ACCESS   read-only
2240         STATUS   current
2241         DESCRIPTION
2242            "This field is the  checksum  of  the  complete
2243            contents  of  the  advertisement, excepting the
2244            age field.  The age field is excepted  so  that
2245            an   advertisement's  age  can  be  incremented
2246            without updating the  checksum.   The  checksum
2247            used  is  the same that is used for ISO connec-
2248            tionless datagrams; it is commonly referred  to
2249            as the Fletcher checksum."
2250        REFERENCE
2251           "OSPF Version 2, Section 12.1.7 LS checksum"
2252       ::= { ospfExtLsdbEntry 6 }
2253
2254
2255     ospfExtLsdbAdvertisement OBJECT-TYPE
2256         SYNTAX   OCTET STRING (SIZE(36))
2257         MAX-ACCESS   read-only
2258         STATUS   current
2259         DESCRIPTION
2260            "The entire Link State Advertisement, including
2261            its header."
2262        REFERENCE
2263           "OSPF Version 2, Section 12  Link  State  Adver-
2264           tisements"
2265       ::= { ospfExtLsdbEntry 7 }
2266
2267
2268 --  OSPF Use of the CIDR Route Table
2269
2270 ospfRouteGroup           OBJECT IDENTIFIER ::= { ospf 13 }
2271
2272 -- The IP Forwarding Table defines a number of objects for use by
2273 -- the routing protocol to externalize its information.  Most of
2274 -- the variables (ipForwardDest, ipForwardMask, ipForwardPolicy,
2275 -- ipForwardNextHop, ipForwardIfIndex, ipForwardType,
2276 -- ipForwardProto, ipForwardAge, and ipForwardNextHopAS) are
2277 -- defined there.
2278
2279 -- Those that leave some discretion are defined here.
2280
2281 -- ipCidrRouteProto is, of course, ospf (13).
2282
2283 -- ipCidrRouteAge is the time since the route was first calculated,
2284 -- as opposed to the time since the last SPF run.
2285
2286 -- ipCidrRouteInfo is an OBJECT IDENTIFIER for use by the routing
2287 -- protocol.  The following values shall be found there depending
2288 -- on the way the route was calculated.
2289
2290 ospfIntraArea      OBJECT IDENTIFIER ::= { ospfRouteGroup 1 }
2291 ospfInterArea      OBJECT IDENTIFIER ::= { ospfRouteGroup 2 }
2292 ospfExternalType1  OBJECT IDENTIFIER ::= { ospfRouteGroup 3 }
2293 ospfExternalType2  OBJECT IDENTIFIER ::= { ospfRouteGroup 4 }
2294
2295 -- ipCidrRouteMetric1 is, by definition, the primary routing
2296 -- metric.  Therefore, it should be the metric that route
2297 -- selection is based on.  For intra-area and inter-area routes,
2298 -- it is an OSPF metric.  For External Type 1 (comparable value)
2299 -- routes, it is an OSPF metric plus the External Metric.  For
2300 -- external Type 2 (non-comparable value) routes, it is the
2301 -- external metric.
2302
2303 -- ipCidrRouteMetric2 is, by definition, a secondary routing
2304 -- metric.  Therefore, it should be the metric that breaks a tie
2305 -- among routes having equal metric1 values and the same
2306 -- calculation rule.  For intra-area, inter-area routes, and
2307 -- External Type 1 (comparable value) routes, it is unused.  For
2308 -- external Type 2 (non-comparable value) routes, it is the metric
2309 -- to the AS border router.
2310
2311 -- ipCidrRouteMetric3, ipCidrRouteMetric4, and ipCidrRouteMetric5 are
2312 -- unused.
2313
2314 --
2315 --      The OSPF Area Aggregate Table
2316 --
2317 --      This table replaces the OSPF Area Summary Table, being an
2318 --      extension of that for CIDR routers.
2319
2320     ospfAreaAggregateTable OBJECT-TYPE
2321         SYNTAX   SEQUENCE OF OspfAreaAggregateEntry
2322         MAX-ACCESS   not-accessible
2323         STATUS   current
2324         DESCRIPTION
2325            "A range of IP addresses  specified  by  an  IP
2326            address/IP  network  mask  pair.   For example,
2327            class B address range of X.X.X.X with a network
2328            mask  of  255.255.0.0 includes all IP addresses
2329            from X.X.0.0  to  X.X.255.255.   Note  that  if
2330            ranges  are configured such that one range sub-
2331            sumes  another  range  (e.g.,   10.0.0.0   mask
2332            255.0.0.0  and  10.1.0.0 mask 255.255.0.0), the
2333            most specific match is the preferred one."
2334        REFERENCE
2335           "OSPF Version 2, Appendix C.2  Area parameters"
2336       ::= { ospf 14 }
2337
2338
2339     ospfAreaAggregateEntry OBJECT-TYPE
2340         SYNTAX   OspfAreaAggregateEntry
2341         MAX-ACCESS   not-accessible
2342         STATUS   current
2343         DESCRIPTION
2344            "A range of IP addresses  specified  by  an  IP
2345            address/IP  network  mask  pair.   For example,
2346            class B address range of X.X.X.X with a network
2347            mask  of  255.255.0.0 includes all IP addresses
2348            from X.X.0.0  to  X.X.255.255.   Note  that  if
2349            ranges are range configured such that one range
2350            subsumes another  range  (e.g.,  10.0.0.0  mask
2351            255.0.0.0  and  10.1.0.0 mask 255.255.0.0), the
2352            most specific match is the preferred one."
2353        REFERENCE
2354           "OSPF Version 2, Appendix C.2  Area parameters"
2355       INDEX { ospfAreaAggregateAreaID, ospfAreaAggregateLsdbType,
2356               ospfAreaAggregateNet, ospfAreaAggregateMask }
2357       ::= { ospfAreaAggregateTable 1 }
2358
2359
2360 OspfAreaAggregateEntry ::=
2361     SEQUENCE {
2362         ospfAreaAggregateAreaID
2363             AreaID,
2364         ospfAreaAggregateLsdbType
2365             INTEGER,
2366         ospfAreaAggregateNet
2367             IpAddress,
2368         ospfAreaAggregateMask
2369             IpAddress,
2370         ospfAreaAggregateStatus
2371             RowStatus,
2372         ospfAreaAggregateEffect
2373             INTEGER
2374               }
2375
2376     ospfAreaAggregateAreaID OBJECT-TYPE
2377         SYNTAX   AreaID
2378         MAX-ACCESS   read-only
2379         STATUS   current
2380         DESCRIPTION
2381            "The Area the Address Aggregate is to be  found
2382            within."
2383        REFERENCE
2384           "OSPF Version 2, Appendix C.2 Area parameters"
2385       ::= { ospfAreaAggregateEntry 1 }
2386
2387
2388     ospfAreaAggregateLsdbType OBJECT-TYPE
2389         SYNTAX   INTEGER    {
2390                     summaryLink (3),
2391                     nssaExternalLink (7)
2392                   }
2393         MAX-ACCESS   read-only
2394         STATUS   current
2395         DESCRIPTION
2396            "The type of the Address Aggregate.  This field
2397            specifies  the  Lsdb type that this Address Ag-
2398            gregate applies to."
2399        REFERENCE
2400           "OSPF Version 2, Appendix A.4.1 The  Link  State
2401           Advertisement header"
2402       ::= { ospfAreaAggregateEntry 2 }
2403
2404
2405     ospfAreaAggregateNet OBJECT-TYPE
2406         SYNTAX   IpAddress
2407         MAX-ACCESS   read-only
2408         STATUS   current
2409         DESCRIPTION
2410            "The IP Address of the Net or Subnet  indicated
2411            by the range."
2412        REFERENCE
2413           "OSPF Version 2, Appendix C.2 Area parameters"
2414       ::= { ospfAreaAggregateEntry 3 }
2415
2416
2417     ospfAreaAggregateMask OBJECT-TYPE
2418         SYNTAX   IpAddress
2419         MAX-ACCESS   read-only
2420         STATUS   current
2421         DESCRIPTION
2422            "The Subnet Mask that pertains to  the  Net  or
2423            Subnet."
2424        REFERENCE
2425           "OSPF Version 2, Appendix C.2 Area parameters"
2426       ::= { ospfAreaAggregateEntry 4 }
2427
2428
2429     ospfAreaAggregateStatus OBJECT-TYPE
2430         SYNTAX   RowStatus
2431         MAX-ACCESS   read-create
2432         STATUS   current
2433         DESCRIPTION
2434            "This variable displays the status of  the  en-
2435            try.  Setting it to 'invalid' has the effect of
2436            rendering it inoperative.  The internal  effect
2437            (row removal) is implementation dependent."
2438        ::= { ospfAreaAggregateEntry 5 }
2439
2440
2441     ospfAreaAggregateEffect OBJECT-TYPE
2442         SYNTAX   INTEGER    {
2443                     advertiseMatching (1),
2444                     doNotAdvertiseMatching (2)
2445                   }
2446         MAX-ACCESS   read-create
2447         STATUS   current
2448         DESCRIPTION
2449            "Subnets subsumed by ranges either trigger  the
2450            advertisement  of  the indicated aggregate (ad-
2451            vertiseMatching), or result in the subnet's not
2452            being advertised at all outside the area."
2453        DEFVAL   { advertiseMatching }
2454        ::= { ospfAreaAggregateEntry 6 }
2455
2456
2457 -- conformance information
2458
2459 ospfConformance OBJECT IDENTIFIER ::= { ospf 15 }
2460
2461 ospfGroups      OBJECT IDENTIFIER ::= { ospfConformance 1 }
2462 ospfCompliances OBJECT IDENTIFIER ::= { ospfConformance 2 }
2463
2464 -- compliance statements
2465
2466     ospfCompliance MODULE-COMPLIANCE
2467         STATUS  current
2468         DESCRIPTION
2469            "The compliance statement "
2470        MODULE  -- this module
2471        MANDATORY-GROUPS {
2472                     ospfBasicGroup,
2473                     ospfAreaGroup,
2474                     ospfStubAreaGroup,
2475                     ospfIfGroup,
2476                     ospfIfMetricGroup,
2477                     ospfVirtIfGroup,
2478                     ospfNbrGroup,
2479                     ospfVirtNbrGroup,
2480                     ospfAreaAggregateGroup
2481            }
2482        ::= { ospfCompliances 1 }
2483
2484
2485 -- units of conformance
2486
2487     ospfBasicGroup    OBJECT-GROUP
2488         OBJECTS {
2489                     ospfRouterId,
2490                     ospfAdminStat,
2491                     ospfVersionNumber,
2492                     ospfAreaBdrRtrStatus,
2493                     ospfASBdrRtrStatus,
2494                     ospfExternLsaCount,
2495                     ospfExternLsaCksumSum,
2496                     ospfTOSSupport,
2497                     ospfOriginateNewLsas,
2498                     ospfRxNewLsas,
2499                     ospfExtLsdbLimit,
2500                     ospfMulticastExtensions,
2501                     ospfExitOverflowInterval,
2502                     ospfDemandExtensions
2503         }
2504         STATUS  current
2505         DESCRIPTION
2506            "These objects are required for OSPF systems."
2507        ::= { ospfGroups 1 }
2508
2509
2510     ospfAreaGroup    OBJECT-GROUP
2511         OBJECTS {
2512                     ospfAreaId,
2513                     ospfImportAsExtern,
2514                     ospfSpfRuns,
2515                     ospfAreaBdrRtrCount,
2516                     ospfAsBdrRtrCount,
2517                     ospfAreaLsaCount,
2518                     ospfAreaLsaCksumSum,
2519                     ospfAreaSummary,
2520                     ospfAreaStatus
2521         }
2522         STATUS  current
2523         DESCRIPTION
2524            "These objects are required  for  OSPF  systems
2525            supporting areas."
2526        ::= { ospfGroups 2 }
2527
2528
2529     ospfStubAreaGroup    OBJECT-GROUP
2530         OBJECTS {
2531                     ospfStubAreaId,
2532                     ospfStubTOS,
2533                     ospfStubMetric,
2534                     ospfStubStatus,
2535                     ospfStubMetricType
2536         }
2537         STATUS  current
2538         DESCRIPTION
2539            "These objects are required  for  OSPF  systems
2540            supporting stub areas."
2541        ::= { ospfGroups 3 }
2542
2543
2544     ospfLsdbGroup    OBJECT-GROUP
2545         OBJECTS {
2546                     ospfLsdbAreaId,
2547                     ospfLsdbType,
2548                     ospfLsdbLsid,
2549                     ospfLsdbRouterId,
2550                     ospfLsdbSequence,
2551                     ospfLsdbAge,
2552                     ospfLsdbChecksum,
2553                     ospfLsdbAdvertisement
2554         }
2555         STATUS  current
2556         DESCRIPTION
2557            "These objects are required  for  OSPF  systems
2558            that display their link state database."
2559        ::= { ospfGroups 4 }
2560
2561
2562     ospfAreaRangeGroup    OBJECT-GROUP
2563         OBJECTS {
2564                     ospfAreaRangeAreaId,
2565                     ospfAreaRangeNet,
2566                     ospfAreaRangeMask,
2567                     ospfAreaRangeStatus,
2568                     ospfAreaRangeEffect
2569         }
2570         STATUS  obsolete
2571         DESCRIPTION
2572            "These objects are required for  non-CIDR  OSPF
2573            systems that support multiple areas."
2574        ::= { ospfGroups 5 }
2575
2576
2577     ospfHostGroup    OBJECT-GROUP
2578         OBJECTS {
2579                     ospfHostIpAddress,
2580                     ospfHostTOS,
2581                     ospfHostMetric,
2582                     ospfHostStatus,
2583                     ospfHostAreaID
2584         }
2585         STATUS  current
2586         DESCRIPTION
2587            "These objects are required  for  OSPF  systems
2588            that support attached hosts."
2589        ::= { ospfGroups 6 }
2590
2591
2592     ospfIfGroup    OBJECT-GROUP
2593         OBJECTS {
2594                     ospfIfIpAddress,
2595                     ospfAddressLessIf,
2596                     ospfIfAreaId,
2597                     ospfIfType,
2598                     ospfIfAdminStat,
2599                     ospfIfRtrPriority,
2600                     ospfIfTransitDelay,
2601                     ospfIfRetransInterval,
2602                     ospfIfHelloInterval,
2603                     ospfIfRtrDeadInterval,
2604                     ospfIfPollInterval,
2605                     ospfIfState,
2606                     ospfIfDesignatedRouter,
2607                     ospfIfBackupDesignatedRouter,
2608                     ospfIfEvents,
2609                     ospfIfAuthType,
2610                     ospfIfAuthKey,
2611                     ospfIfStatus,
2612                     ospfIfMulticastForwarding,
2613                     ospfIfDemand
2614         }
2615         STATUS  current
2616         DESCRIPTION
2617            "These objects are required for OSPF systems."
2618        ::= { ospfGroups 7 }
2619
2620
2621     ospfIfMetricGroup    OBJECT-GROUP
2622         OBJECTS {
2623                     ospfIfMetricIpAddress,
2624                     ospfIfMetricAddressLessIf,
2625                     ospfIfMetricTOS,
2626                     ospfIfMetricValue,
2627                     ospfIfMetricStatus
2628         }
2629         STATUS  current
2630         DESCRIPTION
2631            "These objects are required for OSPF systems."
2632        ::= { ospfGroups 8 }
2633
2634
2635     ospfVirtIfGroup    OBJECT-GROUP
2636         OBJECTS {
2637                     ospfVirtIfAreaId,
2638                     ospfVirtIfNeighbor,
2639                     ospfVirtIfTransitDelay,
2640                     ospfVirtIfRetransInterval,
2641                     ospfVirtIfHelloInterval,
2642                     ospfVirtIfRtrDeadInterval,
2643                     ospfVirtIfState,
2644                     ospfVirtIfEvents,
2645                     ospfVirtIfAuthType,
2646                     ospfVirtIfAuthKey,
2647                     ospfVirtIfStatus
2648         }
2649         STATUS  current
2650         DESCRIPTION
2651            "These objects are required for OSPF systems."
2652        ::= { ospfGroups 9 }
2653
2654
2655     ospfNbrGroup    OBJECT-GROUP
2656         OBJECTS {
2657                     ospfNbrIpAddr,
2658                     ospfNbrAddressLessIndex,
2659                     ospfNbrRtrId,
2660                     ospfNbrOptions,
2661                     ospfNbrPriority,
2662                     ospfNbrState,
2663                     ospfNbrEvents,
2664                     ospfNbrLsRetransQLen,
2665                     ospfNbmaNbrStatus,
2666                     ospfNbmaNbrPermanence,
2667                     ospfNbrHelloSuppressed
2668         }
2669         STATUS  current
2670         DESCRIPTION
2671            "These objects are required for OSPF systems."
2672        ::= { ospfGroups 10 }
2673
2674
2675     ospfVirtNbrGroup    OBJECT-GROUP
2676         OBJECTS {
2677                     ospfVirtNbrArea,
2678                     ospfVirtNbrRtrId,
2679                     ospfVirtNbrIpAddr,
2680                     ospfVirtNbrOptions,
2681                     ospfVirtNbrState,
2682                     ospfVirtNbrEvents,
2683                     ospfVirtNbrLsRetransQLen,
2684                     ospfVirtNbrHelloSuppressed
2685         }
2686         STATUS  current
2687         DESCRIPTION
2688            "These objects are required for OSPF systems."
2689        ::= { ospfGroups 11 }
2690
2691
2692     ospfExtLsdbGroup    OBJECT-GROUP
2693         OBJECTS {
2694                     ospfExtLsdbType,
2695                     ospfExtLsdbLsid,
2696                     ospfExtLsdbRouterId,
2697                     ospfExtLsdbSequence,
2698                     ospfExtLsdbAge,
2699                     ospfExtLsdbChecksum,
2700                     ospfExtLsdbAdvertisement
2701         }
2702         STATUS  current
2703         DESCRIPTION
2704            "These objects are required  for  OSPF  systems
2705            that display their link state database."
2706        ::= { ospfGroups 12 }
2707
2708
2709     ospfAreaAggregateGroup    OBJECT-GROUP
2710         OBJECTS {
2711                     ospfAreaAggregateAreaID,
2712                     ospfAreaAggregateLsdbType,
2713                     ospfAreaAggregateNet,
2714                     ospfAreaAggregateMask,
2715                     ospfAreaAggregateStatus,
2716                     ospfAreaAggregateEffect
2717         }
2718         STATUS  current
2719         DESCRIPTION
2720            "These objects are required for OSPF systems."
2721        ::= { ospfGroups 13 }
2722
2723 END