smilint output for ./RFC1354-MIB


Message Severities
SeverityCount
error1
change recommended1
warning1
Message Types
TypeCount
default-too-long-smiv1 (change recommended)1
import-unused (warning)1
index-element-no-range (error)1

Messages:

RFC1354-MIB

   1: -- extracted from rfc1354.txt
   2: -- at Mon Nov 15 17:11:57 1999
   3: 
   4:      RFC1354-MIB DEFINITIONS ::= BEGIN
   5: 
   6:      IMPORTS
   7:              Gauge, IpAddress
   8:                      FROM RFC1155-SMI
   9:              mib-2, ip
   9: warning - warning: identifier `mib-2' imported from module `RFC1213-MIB' is never used
  10:                      FROM RFC1213-MIB
  11:              OBJECT-TYPE
  12:                      FROM RFC-1212;
  13: 
  14:      --  This MIB module uses the extended OBJECT-TYPE macro as
  15:      --  defined in [9].
  16:      ipForward  OBJECT IDENTIFIER ::= { ip 24 }
  17: 
  18:          ipForwardNumber OBJECT-TYPE
  19:              SYNTAX   Gauge
  20:              ACCESS   read-only
  21:              STATUS   mandatory
  22:              DESCRIPTION
  23:                 "The number of current  ipForwardTable  entries
  24:                 that are not invalid."
  25:              ::= { ipForward 1 }
  26: 
  27: 
  28:      --  IP Forwarding Table
  29: 
  30:      --  The IP Forwarding Table obsoletes and replaces the ipRoute
  31:      --  Table current in MIB-I and MIB-II.  It adds knowledge of
  32:      --  the autonomous system of the next hop, multiple next hop
  33:      --  support, and policy routing support.
  34: 
  35: 
  36:          ipForwardTable OBJECT-TYPE
  37:              SYNTAX   SEQUENCE OF IpForwardEntry
  38:              ACCESS   not-accessible
  39:              STATUS   mandatory
  40:              DESCRIPTION
  41:                 "This entity's IP Routing table."
  42:              REFERENCE
  43:                 "RFC 1213 Section 6.6, The IP Group"
  44:              ::= { ipForward 2 }
  45: 
  46: 
  47:          ipForwardEntry OBJECT-TYPE
  48:              SYNTAX   IpForwardEntry
  49:              ACCESS   not-accessible
  50:              STATUS   mandatory
  51:              DESCRIPTION
  52:                 "A particular route to  a  particular  destina-
  53:                 tion, under a particular policy."
  54:              INDEX {
  55:                  ipForwardDest,
  56:                  ipForwardProto,
  57:                  ipForwardPolicy,
  58:                  ipForwardNextHop
  59:                  }
  60:              ::= { ipForwardTable 1 }
  61: 
  62: 
  63:          IpForwardEntry ::=
  64:              SEQUENCE {
  65:                  ipForwardDest
  66:                      IpAddress,
  67:                  ipForwardMask
  68:                      IpAddress,
  69:                  ipForwardPolicy
  70:                      INTEGER,
  71:                  ipForwardNextHop
  72:                      IpAddress,
  73:                  ipForwardIfIndex
  74:                      INTEGER,
  75:                  ipForwardType
  76:                      INTEGER,
  77:                  ipForwardProto
  78:                      INTEGER,
  79:                  ipForwardAge
  80:                      INTEGER,
  81:                  ipForwardInfo
  82:                      OBJECT IDENTIFIER,
  83:                  ipForwardNextHopAS
  84:                      INTEGER,
  85:                  ipForwardMetric1
  86:                      INTEGER,
  87:                  ipForwardMetric2
  88:                      INTEGER,
  89:                  ipForwardMetric3
  90:                      INTEGER,
  91:                  ipForwardMetric4
  92:                      INTEGER,
  93:                  ipForwardMetric5
  94:                      INTEGER
  95:              }
  96: 
  97:          ipForwardDest OBJECT-TYPE
  98:              SYNTAX   IpAddress
  99:              ACCESS   read-only
 100:              STATUS   mandatory
 101:              DESCRIPTION
 102:                 "The destination IP address of this route.   An
 103:                 entry  with  a value of 0.0.0.0 is considered a
 104:                 default route.
 105: 
 106:                 This object may not take a Multicast (Class  D)
 107:                 address value.
 108: 
 109:                 Any assignment (implicit or  otherwise)  of  an
 110:                 instance  of  this  object to a value x must be
 111:                 rejected if the bitwise logical-AND of  x  with
 112:                 the  value of the corresponding instance of the
 113:                 ipForwardMask object is not equal to x."
 114:              ::= { ipForwardEntry 1 }
 115: 
 116: 
 117:          ipForwardMask OBJECT-TYPE
 118:              SYNTAX   IpAddress
 119:              ACCESS   read-write
 120:              STATUS   mandatory
 121:              DESCRIPTION
 122:                 "Indicate the mask to be logical-ANDed with the
 123:                 destination  address  before  being compared to
 124:                 the value  in  the  ipForwardDest  field.   For
 125:                 those  systems  that  do  not support arbitrary
 126:                 subnet masks, an agent constructs the value  of
 127:                 the  ipForwardMask  by  reference to the IP Ad-
 128:                 dress Class.
 129: 
 130:                 Any assignment (implicit or  otherwise)  of  an
 131:                 instance  of  this  object to a value x must be
 132:                 rejected if the bitwise logical-AND of  x  with
 133:                 the  value of the corresponding instance of the
 134:                 ipForwardDest object is not equal to ipForward-
 135:                 Dest."
 136:              DEFVAL { '00000000'h }      -- 0.0.0.0
 137:              ::= { ipForwardEntry 2 }
 138: 
 139: 
 140:          -- The following convention is included for specification
 141:          -- of TOS Field contents.  At this time, the Host Requirements
 142:          -- and the Router Requirements documents disagree on the width
 143:          -- of the TOS field.  This mapping describes the Router
 144:          -- Requirements mapping, and leaves room to widen the TOS field
 145:          -- without impact to fielded systems.
 146: 
 147:          ipForwardPolicy OBJECT-TYPE
 147: error - index element `ipForwardPolicy' of row `ipForwardEntry' must have a range restriction
 148:              SYNTAX   INTEGER
 149:              ACCESS   read-only
 150:              STATUS   mandatory
 151:              DESCRIPTION
 152:                 "The general set of conditions that would cause
 153:                 the  selection  of  one multipath route (set of
 154:                 next hops for a given destination) is  referred
 155:                 to as 'policy'.
 156: 
 157:                 Unless the mechanism indicated by ipForwardPro-
 158:                 to specifies otherwise, the policy specifier is
 159:                 the IP TOS Field.  The encoding of IP TOS is as
 160:                 specified  by  the  following convention.  Zero
 161:                 indicates the default path if no more  specific
 162:                 policy applies.
 163: 
 164:                 +-----+-----+-----+-----+-----+-----+-----+-----+
 165:                 |                 |                       |     |
 166:                 |   PRECEDENCE    |    TYPE OF SERVICE    |  0  |
 167:                 |                 |                       |     |
 168:                 +-----+-----+-----+-----+-----+-----+-----+-----+
 169: 
 170:                          IP TOS                IP TOS
 171:                     Field     Policy      Field     Policy
 172:                     Contents    Code      Contents    Code
 173:                     0 0 0 0  ==>   0      0 0 0 1  ==>   2
 174:                     0 0 1 0  ==>   4      0 0 1 1  ==>   6
 175:                     0 1 0 0  ==>   8      0 1 0 1  ==>  10
 176:                     0 1 1 0  ==>  12      0 1 1 1  ==>  14
 177:                     1 0 0 0  ==>  16      1 0 0 1  ==>  18
 178:                     1 0 1 0  ==>  20      1 0 1 1  ==>  22
 179:                     1 1 0 0  ==>  24      1 1 0 1  ==>  26
 180:                     1 1 1 0  ==>  28      1 1 1 1  ==>  30
 181: 
 182:                 Protocols defining 'policy' otherwise must  ei-
 183:                 ther define a set of values which are valid for
 184:                 this  object  or  must  implement  an  integer-
 185:                 instanced  policy table for which this object's
 186:                 value acts as an index."
 187:              ::= { ipForwardEntry 3 }
 188: 
 189: 
 190:          ipForwardNextHop OBJECT-TYPE
 191:              SYNTAX   IpAddress
 192:              ACCESS   read-only
 193:              STATUS   mandatory
 194:              DESCRIPTION
 195:                 "On remote routes, the address of the next sys-
 196:                 tem en route; Otherwise, 0.0.0.0."
 197:              ::= { ipForwardEntry 4 }
 198: 
 199: 
 200:          ipForwardIfIndex OBJECT-TYPE
 201:              SYNTAX   INTEGER
 202:              ACCESS   read-write
 203:              STATUS   mandatory
 204:              DESCRIPTION
 205:                 "The ifIndex value which identifies  the  local
 206:                 interface  through  which  the next hop of this
 207:                 route should be reached."
 208:              DEFVAL { 0 }
 209:              ::= { ipForwardEntry 5 }
 210: 
 211: 
 212:          ipForwardType OBJECT-TYPE
 213:              SYNTAX   INTEGER {
 214:                          other    (1), -- not specified by this MIB
 215:                          invalid  (2), -- logically deleted
 216:                          local    (3), -- local interface
 217:                          remote   (4)  -- remote destination
 218:                       }
 219:              ACCESS   read-write
 220:              STATUS   mandatory
 221:              DESCRIPTION
 222:                 "The type of route.  Note that local(3)  refers
 223:                 to  a route for which the next hop is the final
 224:                 destination; remote(4) refers to  a  route  for
 225:                 which  the  next  hop is not the final destina-
 226:                 tion.
 227: 
 228:                 Setting this object to the value invalid(2) has
 229:                 the  effect  of  invalidating the corresponding
 230:                 entry in the ipForwardTable object.   That  is,
 231:                 it  effectively  disassociates  the destination
 232:                 identified with said entry from the route iden-
 233:                 tified    with    said   entry.    It   is   an
 234:                 implementation-specific matter  as  to  whether
 235:                 the agent removes an invalidated entry from the
 236:                 table.  Accordingly, management  stations  must
 237:                 be prepared to receive tabular information from
 238:                 agents that corresponds to entries not current-
 239:                 ly  in  use.  Proper interpretation of such en-
 240:                 tries requires examination of the relevant  ip-
 241:                 ForwardType object."
 242:              DEFVAL { invalid }
 243:              ::= { ipForwardEntry 6 }
 244: 
 245:          ipForwardProto OBJECT-TYPE
 246:              SYNTAX   INTEGER {
 247:                          other     (1),  -- not specified
 248:                          local     (2),  -- local interface
 249:                          netmgmt   (3),  -- static route
 250:                          icmp      (4),  -- result of ICMP Redirect
 251: 
 252:                                  -- the following are all dynamic
 253:                                  -- routing protocols
 254:                          egp       (5),  -- Exterior Gateway Protocol
 255:                          ggp       (6),  -- Gateway-Gateway Protocol
 256:                          hello     (7),  -- FuzzBall HelloSpeak
 257:                          rip       (8),  -- Berkeley RIP or RIP-II
 258:                          is-is     (9),  -- Dual IS-IS
 259:                          es-is     (10), -- ISO 9542
 260:                          ciscoIgrp (11), -- Cisco IGRP
 261:                          bbnSpfIgp (12), -- BBN SPF IGP
 262:                          ospf      (13), -- Open Shortest Path First
 263:                          bgp       (14), -- Border Gateway Protocol
 264:                          idpr      (15)  -- InterDomain Policy Routing
 265:                       }
 266:              ACCESS   read-only
 267:              STATUS   mandatory
 268:              DESCRIPTION
 269:                 "The routing mechanism via which this route was
 270:                 learned.  Inclusion of values for gateway rout-
 271:                 ing protocols is not  intended  to  imply  that
 272:                 hosts should support those protocols."
 273:              ::= { ipForwardEntry 7 }
 274: 
 275: 
 276:          ipForwardAge OBJECT-TYPE
 277:              SYNTAX   INTEGER
 278:              ACCESS   read-only
 279:              STATUS   mandatory
 280:              DESCRIPTION
 281:                 "The number of seconds  since  this  route  was
 282:                 last  updated  or  otherwise  determined  to be
 283:                 correct.  Note that no semantics of  `too  old'
 284:                 can  be implied except through knowledge of the
 285:                 routing  protocol  by  which  the   route   was
 286:                 learned."
 287:              DEFVAL  { 0 }
 288:              ::= { ipForwardEntry 8 }
 289: 
 290: 
 291:          ipForwardInfo OBJECT-TYPE
 292:              SYNTAX   OBJECT IDENTIFIER
 293:              ACCESS   read-write
 294:              STATUS   mandatory
 295:              DESCRIPTION
 296:                 "A reference to MIB definitions specific to the
 297:                 particular  routing protocol which is responsi-
 298:                 ble for this route, as determined by the  value
 299:                 specified  in the route's ipForwardProto value.
 300:                 If this information is not present,  its  value
 301:                 should be set to the OBJECT IDENTIFIER { 0 0 },
 302:                 which is a syntactically valid object  identif-
 303:                 ier, and any implementation conforming to ASN.1
 304:                 and the Basic Encoding Rules must  be  able  to
 305:                 generate and recognize this value."
 306:              DEFVAL  { { 0 0 } } -- 0.0
 306: change recommended - warning: object identifier default values in form of sub-identifier sequences are not implemented
 307:              ::= { ipForwardEntry 9 }
 308: 
 309: 
 310:          ipForwardNextHopAS OBJECT-TYPE
 311:              SYNTAX   INTEGER
 312:              ACCESS   read-write
 313:              STATUS   mandatory
 314:              DESCRIPTION
 315:                 "The Autonomous System Number of the Next  Hop.
 316:                 When  this  is  unknown  or not relevant to the
 317:                 protocol indicated by ipForwardProto, zero."
 318:              DEFVAL { 0 }
 319:              ::= { ipForwardEntry 10 }
 320: 
 321:          ipForwardMetric1 OBJECT-TYPE
 322:              SYNTAX   INTEGER
 323:              ACCESS   read-write
 324:              STATUS   mandatory
 325:              DESCRIPTION
 326:                 "The primary routing  metric  for  this  route.
 327:                 The  semantics of this metric are determined by
 328:                 the routing-protocol specified in  the  route's
 329:                 ipForwardProto  value.   If  this metric is not
 330:                 used, its value should be set to -1."
 331:              DEFVAL { -1 }
 332:              ::= { ipForwardEntry 11 }
 333: 
 334: 
 335:          ipForwardMetric2 OBJECT-TYPE
 336:              SYNTAX   INTEGER
 337:              ACCESS   read-write
 338:              STATUS   mandatory
 339:              DESCRIPTION
 340:                 "An alternate routing metric  for  this  route.
 341:                 The  semantics of this metric are determined by
 342:                 the routing-protocol specified in  the  route's
 343:                 ipForwardProto  value.   If  this metric is not
 344:                 used, its value should be set to -1."
 345:              DEFVAL { -1 }
 346:              ::= { ipForwardEntry 12 }
 347: 
 348: 
 349:          ipForwardMetric3 OBJECT-TYPE
 350:              SYNTAX   INTEGER
 351:              ACCESS   read-write
 352:              STATUS   mandatory
 353:              DESCRIPTION
 354:                 "An alternate routing metric  for  this  route.
 355:                 The  semantics of this metric are determined by
 356:                 the routing-protocol specified in  the  route's
 357:                 ipForwardProto  value.   If  this metric is not
 358:                 used, its value should be set to -1."
 359:              DEFVAL { -1 }
 360:              ::= { ipForwardEntry 13 }
 361: 
 362: 
 363:          ipForwardMetric4 OBJECT-TYPE
 364:              SYNTAX   INTEGER
 365:              ACCESS   read-write
 366:              STATUS   mandatory
 367:              DESCRIPTION
 368:                 "An alternate routing metric  for  this  route.
 369:                 The  semantics of this metric are determined by
 370:                 the routing-protocol specified in  the  route's
 371:                 ipForwardProto  value.   If  this metric is not
 372:                 used, its value should be set to -1."
 373:              DEFVAL { -1 }
 374:              ::= { ipForwardEntry 14 }
 375: 
 376: 
 377:          ipForwardMetric5 OBJECT-TYPE
 378:              SYNTAX   INTEGER
 379:              ACCESS   read-write
 380:              STATUS   mandatory
 381:              DESCRIPTION
 382:                 "An alternate routing metric  for  this  route.
 383:                 The  semantics of this metric are determined by
 384:                 the routing-protocol specified in  the  route's
 385:                 ipForwardProto  value.   If  this metric is not
 386:                 used, its value should be set to -1."
 387:              DEFVAL { -1 }
 388:              ::= { ipForwardEntry 15 }
 389: 
 390:      END