smilint output for ./RFC1269-MIB


Message Severities
SeverityCount
severe5
error1
warning4
Message Types
TypeCount
internal-flushing (warning)4
internal-other (severe)5
sequence-type-mismatch (error)1

Messages:

RFC1269-MIB

   1: -- extracted from rfc1269.txt
   2: -- at Mon Nov 15 17:12:00 1999
   3: 
   4:                RFC1269-MIB DEFINITIONS ::= BEGIN
   5: 
   6:                IMPORTS
   7:                     NetworkAddress, IpAddress, Counter
   8:                          FROM RFC1155-SMI
   9:                     mib-2
  10:                          FROM RFC1213-MIB
  11:                   OBJECT-TYPE
  12:                          FROM RFC-1212
  13:                     TRAP-TYPE
  14:                          FROM RFC-1215;
  15: 
  16:                -- This MIB module uses the extended OBJECT-TYPE macro as
  17:                -- defined in [9], and the TRAP-TYPE macro as defined
  18:                -- in [10].
  19: 
  20:                bgp     OBJECT IDENTIFIER ::= { mib-2 15 }
  21: 
  22:                bgpVersion OBJECT-TYPE
  23:                     SYNTAX OCTET STRING
  24:                     ACCESS read-only
  25:                     STATUS mandatory
  26:                     DESCRIPTION
  27:                          "Vector of supported BGP protocol version
  28:                          numbers. Each peer negotiates the version from
  29:                          this vector.  Versions are identified via the
  30:                          string of bits contained within this object.
  31:                          The first octet contains bits 0 to 7, the
  32:                          second octet contains bits 8 to 15, and so on,
  33:                          with the most significant bit referring to the
  34:                          lowest bit number in the octet (e.g., the MSB
  35:                          of the first octet refers to bit 0).  If a bit,
  36:                          i, is present and set, then the version (i+1)
  37:                          of the BGP is supported."
  38:                     ::= { bgp 1 }
  39: 
  40:                bgpLocalAs OBJECT-TYPE
  41:                     SYNTAX INTEGER (0..65535)
  42:                     ACCESS read-only
  43:                     STATUS mandatory
  44:                     DESCRIPTION
  45:                          "The local autonomous system number."
  46:                     ::= { bgp 2 }
  47: 
  48:                bgpPeerTable OBJECT-TYPE
  49:                     SYNTAX SEQUENCE OF BgpPeerEntry
  50:                     ACCESS not-accessible
  51:                     STATUS mandatory
  52:                     DESCRIPTION
  53:                          "The bgp peer table."
  54:                     ::= { bgp 3 }
  55: 
  56:                bgpIdentifier OBJECT-TYPE
  57:                     SYNTAX IpAddress
  58:                     ACCESS read-only
  59:                     STATUS mandatory
  60:                     DESCRIPTION
  61:                          "The BGP Identifier of local system."
  62:                     ::= { bgp 4 }
  63: 
  64:                bgpPeerEntry OBJECT-TYPE
  65:                     SYNTAX BgpPeerEntry
  66:                     ACCESS not-accessible
  67:                     STATUS mandatory
  68:                     DESCRIPTION
  69:                          "Information about a BGP peer connection."
  70:                     INDEX
  71:                          { bgpPeerRemoteAddr }
  72:                         ::= { bgpPeerTable 1 }
  73: 
  74:                BgpPeerEntry ::= SEQUENCE {
  75:                     bgpPeerIdentifier
  76:                          IpAddress,
  77:                     bgpPeerState
  78:                          INTEGER,
  79:                     bgpPeerAdminStatus
  80:                          INTEGER,
  81: 
  82:                     bgpPeerNegotiatedVersion
  83:                          INTEGER,
  84:                     bgpPeerLocalAddr
  85:                          IpAddress,
  86:                     bgpPeerLocalPort
  87:                          INTEGER,
  88:                     bgpPeerRemoteAddr
  89:                          IpAddress,
  90:                     bgpPeerRemotePort
  91:                          INTEGER,
  92:                     bgpPeerRemoteAs
  93:                          INTEGER,
  94:                     bgpPeerInUpdates
  95:                          Counter,
  96:                     bgpPeerOutUpdates
  97:                          Counter,
  98:                     bgpPeerInTotalMessages
  99:                          Counter,
 100:                     bgpPeerOutTotalMessages
 101:                          Counter,
 102:                     bgpPeerLastError
 103:                          OCTET STRING
 104:                     }
 105: 
 106:                bgpPeerIdentifier OBJECT-TYPE
 107:                     SYNTAX IpAddress
 108:                     ACCESS read-only
 109:                     STATUS mandatory
 110:                     DESCRIPTION
 111:                          "The BGP Identifier of this entry's BGP peer."
 112:                     ::= { bgpPeerEntry 1 }
 113: 
 114:                bgpPeerState OBJECT-TYPE
 115:                     SYNTAX INTEGER {
 116:                          idle(1),
 117:                          connect(2),
 118:                          active(3),
 119:                          opensent(4),
 120:                          openconfirm(5),
 121:                          established(6)
 122:                     }
 123:                     ACCESS read-only
 124:                     STATUS mandatory
 125:                     DESCRIPTION
 126:                          "The bgp peer connection state. "
 127:                     ::= { bgpPeerEntry 2 }
 128: 
 129:                bgpPeerAdminStatus OBJECT-TYPE
 130:                     SYNTAX INTEGER
 131:                     ACCESS read-write
 132:                     STATUS mandatory
 133:                     DESCRIPTION
 134:                          "The desired state of the BGP connection. A
 135:                          transition from 'stop' to 'start' will cause
 136:                          the BGP Start Event to be generated. A
 137:                          transition from 'start' to 'stop' will cause
 138:                          the BGP Stop Event to be generated. This
 139:                          parameter can be used to restart BGP peer
 140:                          connections.  Care should be used in providing
 141:                          write access to this object without adequate
 142:                          authentication."
 143:                     ::= { bgpPeerEntry 3 }
 144: 
 145:                bgpPeerNegotiatedVersion OBJECT-TYPE
 146:                     SYNTAX INTEGER
 147:                     ACCESS read-only
 148:                     STATUS mandatory
 149:                     DESCRIPTION
 150:                          "The negotiated version of BGP running between
 151:                          the two peers. "
 152:                     ::= { bgpPeerEntry 4 }
 153: 
 154:                bgpPeerLocalAddr OBJECT-TYPE
 155:                     SYNTAX IpAddress
 156:                     ACCESS read-only
 157:                     STATUS mandatory
 158:                     DESCRIPTION
 159:                          "The local IP address of this entry's BGP
 160:                          connection."
 161:                     ::= { bgpPeerEntry 5 }
 162: 
 163:                bgpPeerLocalPort OBJECT-TYPE
 164:                     SYNTAX INTEGER (0..65535)
 165:                     ACCESS read-only
 166:                     STATUS mandatory
 167:                     DESCRIPTION
 168:                          "The local port for the TCP connection between
 169:                          the BGP peers."
 170:                     ::= { bgpPeerEntry 6 }
 171: 
 172:                bgpPeerRemoteAddr OBJECT-TYPE
 173:                     SYNTAX IpAddress
 174:                     ACCESS read-only
 175:                     STATUS mandatory
 176:                     DESCRIPTION
 177:                          "The remote IP address of this entry's BGP
 178:                          peer."
 179:                     ::= { bgpPeerEntry 7 }
 180: 
 181:                bgpPeerRemotePort OBJECT-TYPE
 182:                     SYNTAX INTEGER (0..65535)
 183:                     ACCESS read-only
 184:                     STATUS mandatory
 185:                     DESCRIPTION
 186:                          "The remote port for the TCP connection between
 187:                          the BGP peers.  Note that the objects
 188:                          bgpLocalAddr, bgpLocalPort, bgpRemoteAddr and
 189:                          bgpRemotePort provide the appropriate reference
 190:                          to the standard MIB TCP connection table."
 191:                     ::= { bgpPeerEntry 8 }
 192: 
 193:                bgpPeerRemoteAs OBJECT-TYPE
 194:                     SYNTAX INTEGER (0..65535)
 195:                     ACCESS read-only
 196:                     STATUS mandatory
 197:                     DESCRIPTION
 198:                          "The remote autonomous system number."
 199:                     ::= { bgpPeerEntry 9 }
 200: 
 201:                bgpPeerInUpdates OBJECT-TYPE
 202:                     SYNTAX Counter
 203:                     ACCESS read-only
 204:                     STATUS mandatory
 205:                     DESCRIPTION
 206:                          "The number of BGP UPDATE messages received on
 207:                          this connection. This object should be
 208:                          initialized to zero when the connection is
 209:                          established."
 210:                     ::= { bgpPeerEntry 10 }
 211: 
 212:                bgpPeerOutUpdates OBJECT-TYPE
 213:                     SYNTAX Counter
 214:                     ACCESS read-only
 215:                     STATUS mandatory
 216:                     DESCRIPTION
 217:                          "The number of BGP UPDATE messages received on
 218:                          this connection. This object should be
 219:                          initialized to zero when the connection is
 220:                          established."
 221:                     ::= { bgpPeerEntry 11}
 222: 
 223:                bgpPeerInTotalMessages OBJECT-TYPE
 224:                     SYNTAX Counter
 225:                     ACCESS read-only
 226:                     STATUS mandatory
 227:                     DESCRIPTION
 228:                          "The total number of messages received from the
 229:                          remote peer on this connection. This object
 230:                          should be initialized to zero when the
 231:                          connection is established."
 232:                     ::= { bgpPeerEntry 12 }
 233: 
 234:                bgpPeerOutTotalMessages OBJECT-TYPE
 235:                     SYNTAX Counter
 236:                     ACCESS read-only
 237:                     STATUS mandatory
 238:                     DESCRIPTION
 239:                          "The total number of messages transmitted to
 240:                          the remote peer on this connection. This object
 241:                          should be initialized to zero when the
 242:                          connection is established."
 243:                     ::= { bgpPeerEntry 13 }
 244: 
 245:                bgpPeerLastError OBJECT-TYPE
 246:                     SYNTAX OCTET STRING (SIZE (2))
 247:                     ACCESS read-only
 248:                     STATUS mandatory
 249:                     DESCRIPTION
 250:                          "The last error code and subcode seen by this
 251:                          peer on this connection. If no error has
 252:                          occurred, this field is zero. Otherwise, the
 253:                          first byte of this two byte OCTET STRING
 254:                          contains the error code; the second contains
 255:                          the subcode."
 256:                     ::= { bgpPeerEntry 14 }
 257: 
 258:                bgpRcvdPathAttrTable OBJECT-TYPE
 259:                     SYNTAX SEQUENCE OF BgpPathAttrEntry
 260:                     ACCESS not-accessible
 261:                     STATUS mandatory
 262:                     DESCRIPTION
 263:                          "The BGP Received Path Attribute Table contains
 264:                          information about paths to destination networks
 265:                          received by all peers."
 266:                     ::= { bgp 5 }
 267: 
 268:                bgpPathAttrEntry OBJECT-TYPE
 269:                     SYNTAX BgpPathAttrEntry
 270:                     ACCESS not-accessible
 271:                     STATUS mandatory
 272:                     DESCRIPTION
 273:                          "Information about a path to a network."
 274:                     INDEX
 275:                          { bgpPathAttrDestNetwork,
 276:                            bgpPathAttrPeer }
 277:                     ::= { bgpRcvdPathAttrTable 1 }
 278: 
 279:                BgpPathAttrEntry ::= SEQUENCE {
 280:                     bgpPathAttrPeer
 281:                          IpAddress,
 282:                     bgpPathAttrDestNetwork
 283:                          IpAddress,
 284:                     bgpPathAttrOrigin
 285:                          INTEGER,
 286:                     bgpPathAttrASPath
 287:                          OCTET STRING,
 288:                     bgpPathAttrNextHop
 289:                          IpAddress,
 290:                     bgpPathAttrInterASMetric
 291:                          INTEGER
 292:                     }
 293: 
 294:                bgpPathAttrPeer OBJECT-TYPE
 295:                     SYNTAX IpAddress
 296:                     ACCESS read-only
 297:                     STATUS mandatory
 298:                     DESCRIPTION
 299:                          "The IP address of the peer where the path
 300:                          information
 301:                           was learned."
 302:                     ::= { bgpPathAttrEntry 1 }
 303: 
 304:                bgpPathAttrDestNetwork OBJECT-TYPE
 305:                     SYNTAX IpAddress
 306:                     ACCESS read-only
 307:                     STATUS mandatory
 308:                     DESCRIPTION
 309:                          "The address of the destination network."
 310:                     ::= { bgpPathAttrEntry 2 }
 311: 
 312:                bgpPathAttrOrigin OBJECT-TYPE
 313:                     SYNTAX INTEGER {
 314:                          igp(1),-- networks are interior
 315:                          egp(2),-- networks learned via EGP
 316:                          incomplete(3) -- undetermined
 317:                     }
 318:                     ACCESS read-only
 319:                     STATUS mandatory
 320:                     DESCRIPTION
 321:                          "The ultimate origin of the path information."
 322:                     ::= { bgpPathAttrEntry 3 }
 323: 
 324:                bgpPathAttrASPath OBJECT-TYPE
 325:                     SYNTAX OCTET STRING
 326:                     ACCESS read-only
 327:                     STATUS mandatory
 328:                     DESCRIPTION
 329:                          "The set of ASs that must be traversed to reach
 330:                          the network. ( This object is probably best
 331:                          represented as SEQUENCE OF INTEGER. For SMI
 332:                          compatibility, though, it is represented as
 333:                          OCTET STRING. Each AS is represented as a pair
 334:                          of octets according to the following algorithm:
 335: 
 336:                               first-byte-of-pair = ASNumber / 256;
 337:                               second-byte-of-pair = ASNumber & 255;"
 338:                     ::= { bgpPathAttrEntry 4 }
 339: 
 340:                bgpPathAttrNextHop OBJECT-TYPE
 341:                     SYNTAX IpAddress
 342:                     ACCESS read-only
 343:                     STATUS mandatory
 344:                     DESCRIPTION
 345:                          "The address of the border router that should
 346:                          be used for the destination network."
 347:                     ::= { bgpPathAttrEntry 5 }
 348: 
 349:                bgpPathAttrInterASMetric OBJECT-TYPE
 350:                     SYNTAX IpAddress
 351:                     ACCESS read-only
 352:                     STATUS mandatory
 353:                     DESCRIPTION
 354:                          "The optional inter-AS metric. If this
 355:                          attribute has not been provided for this route,
 356:                          the value for this object is 0."
 357:                     ::= { bgpPathAttrEntry 6 }
 357: error - type of `bgpPathAttrInterASMetric' in sequence and object type definition do not match
 358: 
 359:                bgpEstablished TRAP-TYPE
 360:                     ENTERPRISE { bgp }
 360: severe - syntax error, unexpected '{', expecting UPPERCASE_IDENTIFIER or LOWERCASE_IDENTIFIER or NUMBER
 360: warning - warning: flushing recent incorrect declaration, see previous error(s)
 361:                     VARIABLES  { bgpPeerRemoteAddr,
 361: severe - syntax error, unexpected VARIABLES
 362:                               bgpPeerLastError,
 363:                               bgpPeerState }
 363: warning - warning: flushing recent incorrect declaration, see previous error(s)
 364:                     DESCRIPTION
 364: severe - syntax error, unexpected DESCRIPTION
 365:                          "The BGP Established event is generated when
 366:                          the BGP FSM enters the ESTABLISHED state. "
 367:                     ::= 1
 368: 
 369:                bgpBackwardTransition TRAP-TYPE
 370:                     ENTERPRISE { bgp }
 370: warning - warning: flushing recent incorrect declaration, see previous error(s)
 371:                     VARIABLES  { bgpPeerRemoteAddr,
 371: severe - syntax error, unexpected VARIABLES
 372:                               bgpPeerLastError,
 373:                               bgpPeerState }
 373: warning - warning: flushing recent incorrect declaration, see previous error(s)
 374:                     DESCRIPTION
 374: severe - syntax error, unexpected DESCRIPTION
 375:                          "The BGPBackwardTransition Event is generated
 376:                          when the BGP FSM moves from a higher numbered
 377:                          state to a lower numbered state."
 378:                     ::= 2
 379:                END