smilint output for ./RIPv2-MIB


Message Severities
SeverityCount
error1
minor error1
change recommended1
warning7
Message Types
TypeCount
group-membership (change recommended)1
index-element-accessible (warning)4
integer-misuse (warning)2
obsolete-import (warning)1
revision-missing (minor error)1
subtype-illegal (error)1

Messages:

RIPv2-MIB

   1: -- extracted from rfc1724.txt
   2: -- at Mon Nov 15 17:11:51 1999
   3: 
   4:    RIPv2-MIB DEFINITIONS ::= BEGIN
   5: 
   6:    IMPORTS
   7:        MODULE-IDENTITY, OBJECT-TYPE, Counter32,
   8:        TimeTicks, IpAddress                     FROM SNMPv2-SMI
   9:        TEXTUAL-CONVENTION, RowStatus            FROM SNMPv2-TC
  10:        MODULE-COMPLIANCE, OBJECT-GROUP          FROM SNMPv2-CONF
  11:        mib-2                                    FROM RFC1213-MIB;
  11: warning - warning: identifier `mib-2' should be imported from `SNMPv2-SMI' instead of `RFC1213-MIB'
  12: 
  13:    --  This MIB module uses the extended OBJECT-TYPE macro as
  14:    --  defined in [9].
  15: 
  16:    rip2  MODULE-IDENTITY
  17:            LAST-UPDATED "9407272253Z"      -- Wed Jul 27 22:53:04 PDT 1994
  18:            ORGANIZATION "IETF RIP-II Working Group"
  19:            CONTACT-INFO
  20:           "       Fred Baker
  21:           Postal: Cisco Systems
  22:                   519 Lado Drive
  23:                   Santa Barbara, California 93111
  24:           Tel:    +1 805 681 0115
  25:           E-Mail: fbaker@cisco.com
  26: 
  27:           Postal: Gary Malkin
  28:                   Xylogics, Inc.
  29:                   53 Third Avenue
  30:                   Burlington, MA  01803
  31: 
  32:           Phone:  (617) 272-8140
  33:           EMail:  gmalkin@Xylogics.COM"
  34:       DESCRIPTION
  35:          "The MIB module to describe the RIP2 Version 2 Protocol"
  36:      ::= { mib-2 23 }
  36: minor error - revision for last update is missing
  37: 
  38:  --  RIP-2 Management Information Base
  39: 
  40:  -- the RouteTag type represents the contents of the
  41:  -- Route Domain field in the packet header or route entry.
  42:  -- The use of the Route Domain is deprecated.
  43: 
  44:  RouteTag ::= TEXTUAL-CONVENTION
  45:      STATUS      current
  46:      DESCRIPTION
  47:         "the RouteTag type represents the contents of the Route Domain
  48:         field in the packet header or route entry"
  49:     SYNTAX      OCTET STRING (SIZE (2))
  50: 
  51: --4.1 Global Counters
  52: 
  53: --      The RIP-2 Globals Group.
  54: --      Implementation of this group is mandatory for systems
  55: --      which implement RIP-2.
  56: 
  57: -- These counters are intended to facilitate debugging quickly
  58: -- changing routes or failing neighbors
  59: 
  60: rip2Globals OBJECT IDENTIFIER ::= { rip2 1 }
  61: 
  62:     rip2GlobalRouteChanges OBJECT-TYPE
  63:         SYNTAX   Counter32
  64:         MAX-ACCESS   read-only
  65:         STATUS   current
  66:         DESCRIPTION
  67:            "The number of route changes made to the IP Route
  68:            Database by RIP.  This does not include the refresh
  69:            of a route's age."
  70:        ::= { rip2Globals 1 }
  71: 
  72:     rip2GlobalQueries OBJECT-TYPE
  73:         SYNTAX   Counter32
  74:         MAX-ACCESS   read-only
  75:         STATUS   current
  76:         DESCRIPTION
  77:            "The number of responses sent to RIP queries
  78:            from other systems."
  79:        ::= { rip2Globals 2 }
  80: 
  81: --4.2 RIP Interface Tables
  82: 
  83: --  RIP Interfaces Groups
  84: --  Implementation of these Groups is mandatory for systems
  85: --  which implement RIP-2.
  86: 
  87: -- The RIP Interface Status Table.
  88: 
  89:     rip2IfStatTable OBJECT-TYPE
  90:         SYNTAX   SEQUENCE OF Rip2IfStatEntry
  91:         MAX-ACCESS   not-accessible
  92:         STATUS   current
  93:         DESCRIPTION
  94:            "A list of subnets which require separate
  95:            status monitoring in RIP."
  96:        ::= { rip2 2 }
  97: 
  98:    rip2IfStatEntry OBJECT-TYPE
  98: warning - warning: index element `rip2IfStatAddress' of row `rip2IfStatEntry' should be not-accessible in SMIv2 MIB
  99:        SYNTAX   Rip2IfStatEntry
 100:        MAX-ACCESS   not-accessible
 101:        STATUS   current
 102:        DESCRIPTION
 103:           "A Single Routing Domain in a single Subnet."
 104:       INDEX { rip2IfStatAddress }
 105:       ::= { rip2IfStatTable 1 }
 106: 
 107:     Rip2IfStatEntry ::=
 108:         SEQUENCE {
 109:             rip2IfStatAddress
 110:                 IpAddress,
 111:             rip2IfStatRcvBadPackets
 112:                 Counter32,
 113:             rip2IfStatRcvBadRoutes
 114:                 Counter32,
 115:             rip2IfStatSentUpdates
 116:                 Counter32,
 117:             rip2IfStatStatus
 118:                 RowStatus
 119:     }
 120: 
 121:     rip2IfStatAddress OBJECT-TYPE
 122:         SYNTAX   IpAddress
 123:         MAX-ACCESS   read-only
 124:         STATUS   current
 125:         DESCRIPTION
 126:            "The IP Address of this system on the indicated
 127:            subnet. For unnumbered interfaces, the value 0.0.0.N,
 128:            where the least significant 24 bits (N) is the ifIndex
 129:            for the IP Interface in network byte order."
 130:        ::= { rip2IfStatEntry 1 }
 131: 
 132:     rip2IfStatRcvBadPackets OBJECT-TYPE
 133:         SYNTAX   Counter32
 134:         MAX-ACCESS   read-only
 135:         STATUS   current
 136:         DESCRIPTION
 137:            "The number of RIP response packets received by
 138:            the RIP process which were subsequently discarded
 139:            for any reason (e.g. a version 0 packet, or an
 140:            unknown command type)."
 141:        ::= { rip2IfStatEntry 2 }
 142: 
 143:     rip2IfStatRcvBadRoutes OBJECT-TYPE
 144:         SYNTAX   Counter32
 145:         MAX-ACCESS   read-only
 146:         STATUS   current
 147:         DESCRIPTION
 148:            "The number of routes, in valid RIP packets,
 149:            which were ignored for any reason (e.g. unknown
 150:            address family, or invalid metric)."
 151:        ::= { rip2IfStatEntry 3 }
 152: 
 153:     rip2IfStatSentUpdates OBJECT-TYPE
 154:         SYNTAX   Counter32
 155:         MAX-ACCESS   read-only
 156:         STATUS   current
 157:         DESCRIPTION
 158:            "The number of triggered RIP updates actually
 159:            sent on this interface.  This explicitly does
 160:            NOT include full updates sent containing new
 161:            information."
 162:        ::= { rip2IfStatEntry 4 }
 163: 
 164:     rip2IfStatStatus OBJECT-TYPE
 165:         SYNTAX   RowStatus
 166:         MAX-ACCESS   read-create
 167:         STATUS   current
 168:         DESCRIPTION
 169:            "Writing invalid has the effect of deleting
 170:            this interface."
 171:        ::= { rip2IfStatEntry 5 }
 172: 
 173: -- The RIP Interface Configuration Table.
 174: 
 175:     rip2IfConfTable OBJECT-TYPE
 176:         SYNTAX   SEQUENCE OF Rip2IfConfEntry
 177:         MAX-ACCESS   not-accessible
 178:         STATUS   current
 179:         DESCRIPTION
 180:            "A list of subnets which require separate
 181:            configuration in RIP."
 182:        ::= { rip2 3 }
 183: 
 184:    rip2IfConfEntry OBJECT-TYPE
 184: warning - warning: index element `rip2IfConfAddress' of row `rip2IfConfEntry' should be not-accessible in SMIv2 MIB
 185:        SYNTAX   Rip2IfConfEntry
 186:        MAX-ACCESS   not-accessible
 187:        STATUS   current
 188:        DESCRIPTION
 189:           "A Single Routing Domain in a single Subnet."
 190:       INDEX { rip2IfConfAddress }
 191:       ::= { rip2IfConfTable 1 }
 192: 
 193:     Rip2IfConfEntry ::=
 194:         SEQUENCE {
 195:             rip2IfConfAddress
 196:                 IpAddress,
 197:             rip2IfConfDomain
 198:                 RouteTag,
 199:             rip2IfConfAuthType
 200:                 INTEGER,
 201:             rip2IfConfAuthKey
 202:                 OCTET STRING (SIZE(0..16)),
 202: error - subtyping not allowed
 203:             rip2IfConfSend
 204:                 INTEGER,
 205:             rip2IfConfReceive
 206:                 INTEGER,
 207:             rip2IfConfDefaultMetric
 208:                 INTEGER,
 209:             rip2IfConfStatus
 210:                 RowStatus,
 211:             rip2IfConfSrcAddress
 212:                 IpAddress
 213:     }
 214: 
 215:     rip2IfConfAddress OBJECT-TYPE
 216:         SYNTAX   IpAddress
 217:         MAX-ACCESS   read-only
 218:         STATUS   current
 219:         DESCRIPTION
 220:            "The IP Address of this system on the indicated
 221:            subnet.  For unnumbered interfaces, the value 0.0.0.N,
 222:            where the least significant 24 bits (N) is the ifIndex
 223:            for the IP Interface in network byte order."
 224:        ::= { rip2IfConfEntry 1 }
 225: 
 226:     rip2IfConfDomain OBJECT-TYPE
 226: change recommended - warning: node `rip2IfConfDomain' must be contained in at least one conformance group
 227:         SYNTAX   RouteTag
 228:         MAX-ACCESS   read-create
 229:         STATUS   obsolete
 230:         DESCRIPTION
 231:            "Value inserted into the Routing Domain field
 232:            of all RIP packets sent on this interface."
 233:        DEFVAL { '0000'h }
 234:        ::= { rip2IfConfEntry 2 }
 235: 
 236:     rip2IfConfAuthType OBJECT-TYPE
 237:         SYNTAX   INTEGER {
 238:                     noAuthentication (1),
 239:                     simplePassword (2),
 240:                     md5 (3)
 241:                  }
 242:         MAX-ACCESS   read-create
 243:         STATUS   current
 244:         DESCRIPTION
 245:            "The type of Authentication used on this
 246:            interface."
 247:        DEFVAL { noAuthentication }
 248:        ::= { rip2IfConfEntry 3 }
 249: 
 250:     rip2IfConfAuthKey OBJECT-TYPE
 251:         SYNTAX   OCTET STRING (SIZE(0..16))
 252:         MAX-ACCESS   read-create
 253:         STATUS   current
 254:         DESCRIPTION
 255:            "The value to be used as the Authentication Key
 256:            whenever the corresponding instance of
 257:            rip2IfConfAuthType has a value other than
 258:            noAuthentication.  A modification of the corresponding
 259:            instance of rip2IfConfAuthType does not modify
 260:            the rip2IfConfAuthKey value.  If a string shorter
 261:            than 16 octets is supplied, it will be left-
 262:            justified and padded to 16 octets, on the right,
 263:            with nulls (0x00).
 264: 
 265:            Reading this object always results in an  OCTET
 266:            STRING of length zero; authentication may not
 267:            be bypassed by reading the MIB object."
 268:        DEFVAL { ''h }
 269:        ::= { rip2IfConfEntry 4 }
 270: 
 271:     rip2IfConfSend OBJECT-TYPE
 272:         SYNTAX   INTEGER {
 273:                     doNotSend (1),
 274:                     ripVersion1 (2),
 275:                     rip1Compatible (3),
 276:                     ripVersion2 (4),
 277:                     ripV1Demand (5),
 278:                     ripV2Demand (6)
 279:                  }
 280:         MAX-ACCESS   read-create
 281:         STATUS   current
 282:         DESCRIPTION
 283:            "What the router sends on this interface.
 284:            ripVersion1 implies sending RIP updates compliant
 285:            with  RFC  1058.   rip1Compatible implies
 286:            broadcasting RIP-2 updates using RFC 1058 route
 287:            subsumption rules.  ripVersion2 implies
 288:            multicasting RIP-2 updates.  ripV1Demand indicates
 289:            the use of Demand RIP on a WAN interface under RIP
 290:            Version 1 rules.  ripV2Demand indicates the use of
 291:            Demand RIP on a WAN interface under Version 2 rules."
 292:        DEFVAL { rip1Compatible }
 293:        ::= { rip2IfConfEntry 5 }
 294: 
 295:     rip2IfConfReceive OBJECT-TYPE
 296:         SYNTAX   INTEGER {
 297:                     rip1 (1),
 298:                     rip2 (2),
 299:                     rip1OrRip2 (3),
 300:                     doNotRecieve (4)
 301:                  }
 302:         MAX-ACCESS   read-create
 303:         STATUS   current
 304:         DESCRIPTION
 305:            "This indicates which version of RIP updates
 306:            are to be accepted.  Note that rip2 and
 307:            rip1OrRip2 implies reception of multicast
 308:            packets."
 309:        DEFVAL { rip1OrRip2 }
 310:        ::= { rip2IfConfEntry 6 }
 311: 
 312:     rip2IfConfDefaultMetric OBJECT-TYPE
 313:         SYNTAX   INTEGER ( 0..15 )
 313: warning - warning: use Integer32 instead of INTEGER in SMIv2
 314:         MAX-ACCESS   read-create
 315:         STATUS   current
 316:         DESCRIPTION
 317:            "This variable indicates the metric that is to
 318:            be used for the default route entry in RIP updates
 319:            originated on this interface.  A value of zero
 320:            indicates that no default route should be
 321:            originated; in this case, a default route via
 322:            another router may be propagated."
 323:        ::= { rip2IfConfEntry 7 }
 324: 
 325:     rip2IfConfStatus OBJECT-TYPE
 326:         SYNTAX   RowStatus
 327:         MAX-ACCESS   read-create
 328:         STATUS   current
 329:         DESCRIPTION
 330:            "Writing invalid has  the  effect  of  deleting
 331:            this interface."
 332:        ::= { rip2IfConfEntry 8 }
 333: 
 334:     rip2IfConfSrcAddress OBJECT-TYPE
 335:         SYNTAX   IpAddress
 336:         MAX-ACCESS   read-create
 337:         STATUS   current
 338:         DESCRIPTION
 339:            "The IP Address this system will use as a source
 340:             address on this interface.  If it is a numbered
 341:             interface, this MUST be the same value as
 342:             rip2IfConfAddress.  On unnumbered interfaces,
 343:             it must be the value of rip2IfConfAddress for
 344:             some interface on the system."
 345:        ::= { rip2IfConfEntry 9 }
 346: 
 347: --4.3 Peer Table
 348: 
 349: --  Peer Table
 350: 
 351: --      The RIP Peer Group
 352: --      Implementation of this Group is Optional
 353: 
 354: --      This group provides information about active peer
 355: --      relationships intended to assist in debugging.  An
 356: --      active peer is a router from which a valid RIP
 357: --      updated has been heard in the last 180 seconds.
 358: 
 359:     rip2PeerTable OBJECT-TYPE
 360:         SYNTAX   SEQUENCE OF Rip2PeerEntry
 361:         MAX-ACCESS   not-accessible
 362:         STATUS   current
 363:         DESCRIPTION
 364:            "A list of RIP Peers."
 365:        ::= { rip2 4 }
 366: 
 367:    rip2PeerEntry OBJECT-TYPE
 367: warning - warning: index element `rip2PeerAddress' of row `rip2PeerEntry' should be not-accessible in SMIv2 MIB
 367: warning - warning: index element `rip2PeerDomain' of row `rip2PeerEntry' should be not-accessible in SMIv2 MIB
 368:        SYNTAX   Rip2PeerEntry
 369:        MAX-ACCESS   not-accessible
 370:        STATUS   current
 371:        DESCRIPTION
 372:           "Information regarding a single routing peer."
 373:       INDEX { rip2PeerAddress, rip2PeerDomain }
 374:       ::= { rip2PeerTable 1 }
 375: 
 376:     Rip2PeerEntry ::=
 377:         SEQUENCE {
 378:             rip2PeerAddress
 379:                 IpAddress,
 380:             rip2PeerDomain
 381:                 RouteTag,
 382:             rip2PeerLastUpdate
 383:                 TimeTicks,
 384:             rip2PeerVersion
 385:                 INTEGER,
 386:             rip2PeerRcvBadPackets
 387:                 Counter32,
 388:             rip2PeerRcvBadRoutes
 389:                 Counter32
 390:             }
 391: 
 392:     rip2PeerAddress OBJECT-TYPE
 393:         SYNTAX   IpAddress
 394:         MAX-ACCESS   read-only
 395:         STATUS   current
 396:         DESCRIPTION
 397:            "The IP Address that the peer is using as its source
 398:             address.  Note that on an unnumbered link, this may
 399:             not be a member of any subnet on the system."
 400:        ::= { rip2PeerEntry 1 }
 401: 
 402:     rip2PeerDomain OBJECT-TYPE
 403:         SYNTAX   RouteTag
 404:         MAX-ACCESS   read-only
 405:         STATUS   current
 406:         DESCRIPTION
 407:            "The value in the Routing Domain field  in  RIP
 408:            packets received from the peer.  As domain suuport
 409:            is deprecated, this must be zero."
 410:        ::= { rip2PeerEntry 2 }
 411: 
 412:     rip2PeerLastUpdate OBJECT-TYPE
 413:         SYNTAX   TimeTicks
 414:         MAX-ACCESS   read-only
 415:         STATUS   current
 416:         DESCRIPTION
 417:            "The value of sysUpTime when the most recent
 418:            RIP update was received from this system."
 419:        ::= { rip2PeerEntry 3 }
 420: 
 421:     rip2PeerVersion OBJECT-TYPE
 422:         SYNTAX   INTEGER ( 0..255 )
 422: warning - warning: use Integer32 instead of INTEGER in SMIv2
 423:         MAX-ACCESS   read-only
 424:         STATUS   current
 425:         DESCRIPTION
 426:            "The RIP version number in the header of the
 427:            last RIP packet received."
 428:        ::= { rip2PeerEntry 4 }
 429: 
 430:     rip2PeerRcvBadPackets OBJECT-TYPE
 431:         SYNTAX   Counter32
 432:         MAX-ACCESS   read-only
 433:         STATUS   current
 434:         DESCRIPTION
 435:            "The number of RIP response packets from this
 436:            peer discarded as invalid."
 437:        ::= { rip2PeerEntry 5 }
 438: 
 439: 
 440:     rip2PeerRcvBadRoutes OBJECT-TYPE
 441:         SYNTAX   Counter32
 442:         MAX-ACCESS   read-only
 443:         STATUS   current
 444:         DESCRIPTION
 445:            "The number of routes from this peer that were
 446:            ignored because the entry format was invalid."
 447:        ::= { rip2PeerEntry 6 }
 448: 
 449: -- conformance information
 450: 
 451: rip2Conformance OBJECT IDENTIFIER ::= { rip2 5 }
 452: 
 453: rip2Groups      OBJECT IDENTIFIER ::= { rip2Conformance 1 }
 454: rip2Compliances OBJECT IDENTIFIER ::= { rip2Conformance 2 }
 455: 
 456: -- compliance statements
 457: rip2Compliance MODULE-COMPLIANCE
 458:     STATUS  current
 459:     DESCRIPTION
 460:        "The compliance statement "
 461:     MODULE  -- this module
 462:     MANDATORY-GROUPS {
 463:                  rip2GlobalGroup,
 464:                  rip2IfStatGroup,
 465:                  rip2IfConfGroup,
 466:                  rip2PeerGroup
 467:         }
 468:     GROUP       rip2GlobalGroup
 469:     DESCRIPTION
 470:        "This group defines global controls for RIP-II systems."
 471:     GROUP       rip2IfStatGroup
 472:     DESCRIPTION
 473:        "This group defines interface statistics for RIP-II systems."
 474:     GROUP       rip2IfConfGroup
 475:     DESCRIPTION
 476:        "This group defines interface configuration for RIP-II systems."
 477:     GROUP       rip2PeerGroup
 478:     DESCRIPTION
 479:        "This group defines peer information for RIP-II systems."
 480:     ::= { rip2Compliances 1 }
 481: 
 482: -- units of conformance
 483: 
 484: rip2GlobalGroup    OBJECT-GROUP
 485:     OBJECTS {
 486:                 rip2GlobalRouteChanges,
 487:                 rip2GlobalQueries
 488:     }
 489:     STATUS  current
 490:     DESCRIPTION
 491:        "This group defines global controls for RIP-II systems."
 492:     ::= { rip2Groups 1 }
 493: rip2IfStatGroup    OBJECT-GROUP
 494:     OBJECTS {
 495:             rip2IfStatAddress,
 496:             rip2IfStatRcvBadPackets,
 497:             rip2IfStatRcvBadRoutes,
 498:             rip2IfStatSentUpdates,
 499:             rip2IfStatStatus
 500:     }
 501:     STATUS  current
 502:     DESCRIPTION
 503:        "This group defines interface statistics for RIP-II systems."
 504:     ::= { rip2Groups 2 }
 505: rip2IfConfGroup    OBJECT-GROUP
 506:     OBJECTS {
 507:             rip2IfConfAddress,
 508:             rip2IfConfAuthType,
 509:             rip2IfConfAuthKey,
 510:             rip2IfConfSend,
 511:             rip2IfConfReceive,
 512:             rip2IfConfDefaultMetric,
 513:             rip2IfConfStatus,
 514:             rip2IfConfSrcAddress
 515:     }
 516:     STATUS  current
 517:     DESCRIPTION
 518:        "This group defines interface configuration for RIP-II systems."
 519:     ::= { rip2Groups 3 }
 520: rip2PeerGroup    OBJECT-GROUP
 521:     OBJECTS {
 522:             rip2PeerAddress,
 523:             rip2PeerDomain,
 524:             rip2PeerLastUpdate,
 525:             rip2PeerVersion,
 526:             rip2PeerRcvBadPackets,
 527:             rip2PeerRcvBadRoutes
 528:     }
 529:     STATUS  current
 530:     DESCRIPTION
 531:        "This group defines peer information for RIP-II systems."
 532:     ::= { rip2Groups 4 }
 533: END