smilint output for ./USB-MIB


Message Severities
SeverityCount
severe25
error11
minor error4
change recommended9
warning27
Message Types
TypeCount
bad-identifier-case (error)5
group-membership (change recommended)4
group-unref (warning)3
hyphen-in-label (change recommended)5
import-unused (warning)1
index-element-accessible (warning)6
internal-flushing (warning)16
internal-other (severe)16
object-identifier-unknown (severe)9
parent-row (error)1
revision-missing (minor error)1
sequence-no-column (minor error)3
sequence-order (warning)1
sequence-type-mismatch (error)1
type-unknown (error)4

Messages:

USB-MIB

   1: -- extracted from draft-dolnik-usb-mib-02.txt
   2: -- at Thu Aug 10 07:08:29 2000
   3: 
   4:    USB-MIB DEFINITIONS ::= BEGIN
   5:    IMPORTS
   6:            MODULE-IDENTITY,
   7:            OBJECT-TYPE,
   8:            Counter32,
   9:            Integer32,
  10:            experimental
  11:                    FROM SNMPv2-SMI
  12:            MODULE-COMPLIANCE,
  13:            OBJECT-GROUP
  14:                    FROM SNMPv2-CONF
  15:            TEXTUAL-CONVENTION,
  15: warning - warning: identifier `TEXTUAL-CONVENTION' imported from module `SNMPv2-TC' is never used
  16:            MacAddress,
  17:            TruthValue
  18:                    FROM SNMPv2-TC
  19:            InterfaceIndexOrZero
  20:                    FROM IF-MIB;
  21: 
  22:    usbMib MODULE-IDENTITY
  23:            LAST-UPDATED    "200008070000Z"  -- August 07, 2000
  24:            ORGANIZATION    "3Com"
  25:            CONTACT-INFO
  26:                "        Benjamin Dolnik
  27:                 Postal: 3Com Corporation
  28:                         3800 Golf Road
  29:                         Rolling Meadows, IL 60008
  30:                         USA
  31:                 Phone:  +1 847 262 2098
  32:                 E-mail: benjamin_dolnik@3com.com"
  33:            DESCRIPTION
  34:                    "The MIB module to describe the USB interface."
  35:            ::= { experimental 103 }
  35: minor error - revision for last update is missing
  36: 
  37: 
  38: B. Dolnik                    Experimental                            4
  38: error - `B' should start with a lower case letter
  38: severe - syntax error, unexpected '.', expecting OBJECT
  39: Draft-dolnik-usb-mib-02   USB interface MIB               August 2000
  40: 
  41: 
  42: 
  43:    -- Generic information
  44: 
  45:    usbMibObjects  OBJECT IDENTIFIER ::= { usbMib 1 }
  45: warning - warning: flushing recent incorrect declaration, see previous error(s)
  46: 
  47:    usbNumber OBJECT-TYPE
  48:            SYNTAX       Integer32 (0..65535)
  49:            MAX-ACCESS   read-only
  50:            STATUS       current
  51:            DESCRIPTION
  52:                "The number of ports regardless of their current state
  53:                 in the usb general port table"
  54:            ::= { usbMibObjects 1 }
  54: severe - unknown object identifier label `usbMibObjects'
  55:    --
  56:    -- usb Generic Port Table
  57:    --
  58:    usbPortTable OBJECT-TYPE
  59:            SYNTAX SEQUENCE OF UsbPortEntry
  60:            MAX-ACCESS   not-accessible
  61:            STATUS       current
  62:            DESCRIPTION
  63:                "A list of port entries. The number of entries is given
  64:                 by the value usbNumber."
  65:            ::= { usbMibObjects 2 }
  66: 
  67:    usbPortEntry OBJECT-TYPE
  67: warning - warning: index element `usbPortIndex' of row `usbPortEntry' should be not-accessible in SMIv2 MIB
  68:            SYNTAX       UsbPortEntry
  69:            MAX-ACCESS   not-accessible
  70:            STATUS       current
  71:            DESCRIPTION
  72:                "Status and parameter values for the USB port."
  73:            INDEX { usbPortIndex }
  74:            ::= { usbPortTable 1 }
  75: 
  76:    UsbPortEntry ::= SEQUENCE {
  76: minor error - SEQUENCE element #2 `usbPortType' is not a child node under `usbPortEntry'
  76: minor error - SEQUENCE element #3 `usbPortRate' is not a child node under `usbPortEntry'
  77:              usbPortIndex
  78:                       Integer32,
  79:              usbPortType
  80:                       INTEGER,
  80: severe - unknown object identifier label `usbPortType'
  81:              usbPortRate
  82:                       INTEGER
  83:            }
  84: 
  85:    usbPortIndex OBJECT-TYPE
  86:            SYNTAX       Integer32 (1..65535)
  87:            MAX-ACCESS   read-only
  88:            STATUS       current
  89:            DESCRIPTION
  90:                "The unique identifier of the USB port hardware. By
  91:                 convention and if possible, hardware port numbers map
  92:                 directly to external connectors."
  93:            ::= { usbPortEntry 1 }
  94: 
  95: 
  96: B. Dolnik                    Experimental                            5
  96: error - `B' should start with a lower case letter
  96: severe - syntax error, unexpected '.', expecting OBJECT
  97: Draft-dolnik-usb-mib-02   USB interface MIB               August 2000
  98: 
  99: 
 100:    usbPortType OBJECT-TYPE
 101:            SYNTAX       INTEGER {
 102:                host(1),
 103:                device(2),
 104:                hub(3)
 105:            }
 105: warning - warning: flushing recent incorrect declaration, see previous error(s)
 106:            MAX-ACCESS   read-only
 106: severe - syntax error, unexpected MAX_ACCESS
 107:            STATUS       current
 108:            DESCRIPTION
 109:                 "The type of the USB port"
 110:            ::= { usbPortEntry 2 }
 110: warning - warning: flushing recent incorrect declaration, see previous error(s)
 111: 
 112:    usbPortRate OBJECT-TYPE
 113:            SYNTAX       INTEGER {
 114:                low-speed (1),
 114: change recommended - warning: named number `low-speed' must not include a hyphen in SMIv2
 115:                full-speed(2),
 115: change recommended - warning: named number `full-speed' must not include a hyphen in SMIv2
 116:                high-speed(3)
 116: change recommended - warning: named number `high-speed' must not include a hyphen in SMIv2
 117:            }
 118:            MAX-ACCESS   read-only
 119:            STATUS       current
 120:            DESCRIPTION
 121:                 "The USB port rate that could be low-speed(1) for 1.5
 122:                  Mbps, full-speed(2) for 12Mbps or high-speed(3) for
 123:                  USB 2.0"
 124:            ::= { usbPortEntry 3 }
 125: 
 126:    --
 127:    -- usb Device MIB
 128:    --
 129:    usbDeviceTable OBJECT-TYPE
 130:            SYNTAX       SEQUENCE OF UsbDeviceEntry
 130: error - unknown type `UsbDeviceEntry'
 131:            MAX-ACCESS   not-accessible
 132:            STATUS       current
 133:            DESCRIPTION
 134:                 "A list of USB device ports. Usually the device has
 135:                  only one USB device port"
 136:            ::= { usbMibObjects 3 }
 137: 
 138:    usbDeviceEntry OBJECT-TYPE
 138: warning - warning: index element `usbDeviceIndex' of row `usbDeviceEntry' should be not-accessible in SMIv2 MIB
 139:            SYNTAX       UsbDeviceEntry
 140:            MAX-ACCESS   not-accessible
 141:            STATUS       current
 142:            DESCRIPTION
 143:                 "Status and parameter values for the USB device port."
 144:            INDEX { usbDeviceIndex }
 145:            ::= { usbDeviceTable 1 }
 146: 
 147:    UsbDeviceEntry ::=
 148:            SEQUENCE {
 149:                 usbDeviceIndex
 150:                            Integer32,
 151:                 usbDevicePower
 152: 
 153: 
 154: B. Dolnik                    Experimental                            6
 154: severe - syntax error, unexpected '.', expecting '}' or ','
 154: error - unknown type `B'
 155: Draft-dolnik-usb-mib-02   USB interface MIB               August 2000
 156: 
 157: 
 158:                            INTEGER,
 159:                 usbDeviceVendorID
 160:                            OCTET STRING,
 161:                 usbDeviceProductID
 162:                            OCTET STRING,
 163:                 usbDeviceNumberConfigurations
 164:                            Integer32,
 165:                 usbDeviceActiveClass
 166:                            INTEGER,
 167:                 usbDeviceStatus
 168:                            INTEGER,
 169:                 usbDeviceEnumCounter
 170:                            Counter32,
 171:                 usbDeviceRemoteWakeup
 172:                            TruthValue,
 173:                 usbDeviceRemoteWakeupOn
 174:                            TruthValue
 175:                 }
 175: warning - warning: flushing recent incorrect declaration, see previous error(s)
 176: 
 177:    usbDeviceIndex       OBJECT-TYPE
 178:            SYNTAX       Integer32 (1..65535)
 179:            MAX-ACCESS   read-only
 180:            STATUS       current
 181:            DESCRIPTION
 182:                 "The index is identical to usbPortIndex for the
 183:                  correspondent USB port"
 184:             ::= { usbDeviceEntry 1 }
 185: 
 186:    usbDevicePower OBJECT-TYPE
 187:            SYNTAX INTEGER {
 188:                unknown(1),
 189:                self-powered(2),
 189: change recommended - warning: named number `self-powered' must not include a hyphen in SMIv2
 190:                bus-powered(3)
 190: change recommended - warning: named number `bus-powered' must not include a hyphen in SMIv2
 191:            }
 192:            MAX-ACCESS   read-only
 193:            STATUS       current
 194:            DESCRIPTION
 195:                 "the way USB device port is powered"
 196:            ::= { usbDeviceEntry 2 }
 196: error - type of `usbDevicePower' in sequence and object type definition do not match
 197: 
 198:    usbDeviceVendorID OBJECT-TYPE
 199:            SYNTAX       OCTET STRING
 200:            MAX-ACCESS   read-only
 201:            STATUS       current
 202:            DESCRIPTION
 203:                 "The USB device port vendor HEX-formatted string as it
 204:                  is provided to the USB host by the USB device"
 205:           ::= { usbDeviceEntry 3 }
 206: 
 207:    usbDeviceProductID OBJECT-TYPE
 208:            SYNTAX OCTET STRING
 209:            MAX-ACCESS   read-only
 210: 
 211: 
 212: B. Dolnik                    Experimental                            7
 212: severe - syntax error, unexpected UPPERCASE_IDENTIFIER, expecting STATUS
 213: Draft-dolnik-usb-mib-02   USB interface MIB               August 2000
 214: 
 215: 
 216:            STATUS       current
 217:            DESCRIPTION
 218:                 "The product ID HEX-formatted string as it is provided
 219:                  to the USB host by the USB device"
 220:            ::= { usbDeviceEntry 4 }
 220: warning - warning: flushing recent incorrect declaration, see previous error(s)
 221: 
 222:    usbDeviceNumberConfigurations OBJECT-TYPE
 223:            SYNTAX       Integer32 (1..65535)
 224:            MAX-ACCESS   read-only
 225:            STATUS       current
 226:            DESCRIPTION
 227:                 "The total number of configurations the USB port
 228:                  supports. Device port should support at least one
 229:                  configuration"
 230:            ::= { usbDeviceEntry 5 }
 231: 
 232:    usbDeviceActiveClass OBJECT-TYPE
 233:            SYNTAX       INTEGER {
 234:                other(1),
 235:                cdc(2)
 236:            }
 237:            MAX-ACCESS   read-only
 238:            STATUS       current
 239:            DESCRIPTION
 240:                 "This object returns USB Device Class type of the
 241:                  active configuration"
 242:            ::= { usbDeviceEntry 6 }
 243: 
 244: 
 245:    usbDeviceStatus OBJECT-TYPE
 246:            SYNTAX INTEGER {
 247:                unattached(1),
 248:                attached(2),
 249:                powered(3),
 250:                default(4),
 251:                address(5),
 252:                configured(6),
 253:                suspended(7)
 254:            }
 255:            MAX-ACCESS   read-only
 256:            STATUS       current
 257:            DESCRIPTION
 258:                 "Current status of the USB device state machine"
 259:            ::= { usbDeviceEntry 7 }
 260: 
 261:    usbDeviceEnumCounter OBJECT-TYPE
 262:            SYNTAX       Counter32
 263:            MAX-ACCESS   read-only
 264:            STATUS       current
 265:            DESCRIPTION
 266:                 "Total number reconnections (enumerations) since device
 267:                  is operational"
 268:            ::= { usbDeviceEntry 8 }
 269: 
 270: B. Dolnik                    Experimental                            8
 270: error - `B' should start with a lower case letter
 270: severe - syntax error, unexpected '.', expecting OBJECT
 271: Draft-dolnik-usb-mib-02   USB interface MIB               August 2000
 272: 
 273: 
 274: 
 275:    usbDeviceRemoteWakeup OBJECT-TYPE
 276:            SYNTAX        TruthValue
 277:            MAX-ACCESS    read-only
 278:            STATUS        current
 279:            DESCRIPTION
 280:                "If set to true(1), the device supports Remote Wakeup
 281:                 function. If set to false(2), the device doesn't
 282:                 support it"
 283:            ::= { usbDeviceEntry 9 }
 283: warning - warning: flushing recent incorrect declaration, see previous error(s)
 284: 
 285:    usbDeviceRemoteWakeupOn OBJECT-TYPE
 286:            SYNTAX          TruthValue
 287:            MAX-ACCESS      read-only
 288:            STATUS          current
 289:            DESCRIPTION
 290:                 "If set to true(1), the remote wakeup function is
 291:                  activated by the host. If set to false(2), remote
 292:                  wakeup function is not active."
 293:            ::= { usbDeviceEntry 10 }
 294: 
 295:    --
 296:    -- Table of the CDC interfaces
 297:    --
 298:    usbCDCTable OBJECT-TYPE
 299:            SYNTAX SEQUENCE OF UsbCDCEntry
 299: error - unknown type `UsbCDCEntry'
 300:            MAX-ACCESS   not-accessible
 301:            STATUS       current
 302:            DESCRIPTION
 303:                 "A list of Communication Device Class (CDC) interfaces
 304:                  supported by the USB device. It could be more then one
 305:                  CDC interface for the device that expose more then one
 306:                  interface to the network"
 307:            ::= { usbMibObjects 4 }
 308: 
 309:    usbCDCEntry OBJECT-TYPE
 309: warning - warning: index element `usbCDCIndex' of row `usbCDCEntry' should be not-accessible in SMIv2 MIB
 309: warning - warning: index element `usbCDCIfIndex' of row `usbCDCEntry' should be not-accessible in SMIv2 MIB
 310:            SYNTAX       UsbCDCEntry
 311:            MAX-ACCESS   not-accessible
 312:            STATUS       current
 313:            DESCRIPTION
 314:                 "Status and parameter values for CDC device"
 315:            INDEX { usbCDCIndex, usbCDCIfIndex }
 316:            ::= { usbCDCTable 1 }
 317: 
 318:    UsbCDCEntry ::=
 319:            SEQUENCE {
 320:                 usbCDCIndex
 321:                         Integer32,
 322:                 usbCDCIfIndex
 323:                         InterfaceIndexOrZero,
 324:                    usbCDCSubclass
 325:                         INTEGER,
 326:                    usbCDCVersion
 327: 
 328: B. Dolnik                    Experimental                            9
 328: severe - syntax error, unexpected '.', expecting '}' or ','
 328: severe - unknown object identifier label `usbCDCVersion'
 329: Draft-dolnik-usb-mib-02   USB interface MIB               August 2000
 330: 
 331: 
 332:                         OCTET STRING,
 333:                    usbCDCDataTransferType
 334:                         INTEGER,
 335:                    usbCDCDataEndpoints
 336:                         Integer32,
 337:                    usbCDCStalls
 338:                         Counter32
 339:            }
 339: warning - warning: flushing recent incorrect declaration, see previous error(s)
 340: 
 341:    usbCDCIndex OBJECT-TYPE
 342:            SYNTAX       Integer32 (1..65535)
 343:            MAX-ACCESS   read-only
 344:            STATUS       current
 345:            DESCRIPTION
 346:                 "The index is identical to usbPortIndex for the
 347:                  correspondent USB port"
 348:            ::= { usbCDCEntry 1 }
 349: 
 350:    usbCDCIfIndex OBJECT-TYPE
 351:            SYNTAX       InterfaceIndexOrZero
 352:            MAX-ACCESS   read-only
 353:            STATUS       current
 354:            DESCRIPTION
 355:                 "The variable uniquely identifies the interface index
 356:                  which this CDC device is representing"
 357:            ::= { usbCDCEntry 2 }
 358: 
 359:    usbCDCSubclass OBJECT-TYPE
 360:            SYNTAX       INTEGER {
 361:                other(0),
 362:                directLine(1),
 363:                acm(2),
 364:                telephony(3),
 365:                multichannel(4),
 366:                capi(5),
 367:                ethernet(6),
 368:                atm(7)
 369:            }
 370:            MAX-ACCESS   read-only
 371:            STATUS       current
 372:            DESCRIPTION
 373:                 "Subclass used in data transfer in Communication Device
 374:                  Class"
 375:            REFERENCE 
 376:                 "USB Class definitions for Communication Devices ver
 377:                  1.1, p.28 "
 378:            ::= { usbCDCEntry 3 }
 379: 
 380:    usbCDCVersion OBJECT-TYPE
 381:            SYNTAX OCTET STRING  (SIZE (2))
 382:            MAX-ACCESS   read-only
 383:            STATUS       current
 384:            DESCRIPTION
 385: 
 386: B. Dolnik                    Experimental                           10
 386: severe - syntax error, unexpected UPPERCASE_IDENTIFIER, expecting QUOTED_STRING
 387: Draft-dolnik-usb-mib-02   USB interface MIB               August 2000
 388: 
 389: 
 390:                 "String that describes the version of Communication
 391:                  Device Class in HEX format (Major, Minor) "
 392:            ::= { usbCDCEntry 4 }
 392: warning - warning: flushing recent incorrect declaration, see previous error(s)
 393: 
 394:    usbCDCDataTransferType OBJECT-TYPE
 395:            SYNTAX INTEGER {
 396:                synchronous(1),
 397:                asynchronous(2)
 398:            }
 399:            MAX-ACCESS   read-only
 400:            STATUS       current
 401:            DESCRIPTION
 402:                 "Type of data transfer for Data Class Interface used by
 403:                  the Communication Device. Isochronious mode is used
 404:                  for synchronous(1) and bulk transfer mode is used for
 405:                  asynchronous(2)"
 406:            ::= { usbCDCEntry 5 }
 407: 
 408: 
 409: 
 410:    usbCDCDataEndpoints OBJECT-TYPE
 411:            SYNTAX Integer32 (0..16)
 412:            MAX-ACCESS   read-only
 413:            STATUS       current
 414:            DESCRIPTION
 415:                  "Number of the data endpoints (IN and OUT) used by the
 416:                   Communication Device. If the networking device is in
 417:                   default interface setting, there are are no data
 418:                   endpoints and no traffic is exchanged. Under the
 419:                   normal operation there should be 2 Data Endpoints
 420:                   (one IN and one OUT) for the networking device.
 421:                   For the multichannel model this number could be
 422:                   larger then 2"
 423:            ::= { usbCDCEntry 6 }
 424: 
 425:    usbCDCStalls OBJECT-TYPE
 426:            SYNTAX       Counter32
 427:            MAX-ACCESS   read-only
 428:            STATUS       current
 429:            DESCRIPTION
 430:                 "Total number of times USB Data interface recovered
 431:                  from stall since re-initialization and while the port
 432:                  state was 'up' or 'test'."
 433:            ::= { usbCDCEntry 7 }
 434: 
 435:    --
 436:    -- Table of the CDC Ethernet-type interface or interface that uses
 437:    -- Remote NDIS over Abstract Control Model
 438:    --
 439: 
 440:    usbCDCEtherTable OBJECT-TYPE
 441:            SYNTAX SEQUENCE OF UsbCDCEtherEntry
 442:            MAX-ACCESS   not-accessible
 443: 
 444: B. Dolnik                    Experimental                           11
 444: severe - syntax error, unexpected UPPERCASE_IDENTIFIER, expecting STATUS
 445: Draft-dolnik-usb-mib-02   USB interface MIB               August 2000
 446: 
 447: 
 448:            STATUS       current
 449:            DESCRIPTION
 450:                "A list of Communication Device Class (CDC) USB devices
 451:                 that support Ethernet Networking Control Model."
 452:            ::= { usbMibObjects 5 }
 452: warning - warning: flushing recent incorrect declaration, see previous error(s)
 453: 
 454:    usbCDCEtherEntry OBJECT-TYPE
 454: error - row's parent node must be a table node
 454: warning - warning: index element `usbCDCEtherIndex' of row `usbCDCEtherEntry' should be not-accessible in SMIv2 MIB

 454: warning - warning: index element `usbCDCEtherIfIndex' of row `usbCDCEtherEntry' should be not-accessible in SMIv2 MIB
 455:            SYNTAX       UsbCDCEtherEntry
 456:            MAX-ACCESS   not-accessible
 457:            STATUS       current
 458:            DESCRIPTION
 459:                "Status and parameter values for CDC devices that
 460:                 support Ethernet Networking Control Model"
 461:            INDEX { usbCDCEtherIndex, usbCDCEtherIfIndex }
 462:            ::= { usbCDCEtherTable 1 }
 462: severe - unknown object identifier label `usbCDCEtherTable'
 463: 
 464: 
 465:    UsbCDCEtherEntry ::=
 465: minor error - SEQUENCE element #3 `usbCDCEtherMacAddress' is not a child node under `usbCDCEtherEntry'
 465: warning - warning: SEQUENCE element #4 `usbCDCEtherPacketFilter' does not match order of columnar objects under `usbCDCEtherEntry'
 466:            SEQUENCE {
 467:                 usbCDCEtherIndex
 468:                         Integer32,
 469:                 usbCDCEtherIfIndex
 470:                         InterfaceIndexOrZero,
 471:                 usbCDCEtherMacAddress
 472:                         MacAddress,
 472: severe - unknown object identifier label `usbCDCEtherMacAddress'
 473:                    usbCDCEtherPacketFilter
 474:                         BITS,
 475:                 usbCDCEtherDataStatisticsCapabilities
 476:                         BITS,
 476: severe - unknown object identifier label `usbCDCEtherDataStatisticsCapabilities'
 477:                 usbCDCEtherDataCheckErrs
 478:                         Counter32
 479:            }
 480: 
 481:    usbCDCEtherIndex OBJECT-TYPE
 481: change recommended - warning: node `usbCDCEtherIndex' must be contained in at least one conformance group
 482:            SYNTAX       Integer32 (1..65535)
 483:            MAX-ACCESS   read-only
 484:            STATUS       current
 485:            DESCRIPTION
 486:                 "The index is identical to usbPortIndex for the
 487:                  correspondent USB port"
 488:            ::= { usbCDCEtherEntry 1 }
 489: 
 490:    usbCDCEtherIfIndex OBJECT-TYPE
 490: change recommended - warning: node `usbCDCEtherIfIndex' must be contained in at least one conformance group
 491:            SYNTAX       InterfaceIndexOrZero
 492:            MAX-ACCESS   read-only
 493:            STATUS       current
 494:            DESCRIPTION
 495:                 "The variable uniquely identifies the interface index
 496:                  to which this CDC device is connected "
 497:            ::= { usbCDCEtherEntry 2 }
 498: 
 499:    usbCDCEtherMacAddress OBJECT-TYPE
 500:            SYNTAX       MacAddress
 501: 
 502: B. Dolnik                    Experimental                           12
 502: severe - syntax error, unexpected UPPERCASE_IDENTIFIER, expecting STATUS
 503: Draft-dolnik-usb-mib-02   USB interface MIB               August 2000
 504: 
 505: 
 506:            MAX-ACCESS   read-only
 507:            STATUS       current
 508:            DESCRIPTION
 509:                 "The 48bit MAC address that is provided by USB CDC
 510:                  device to the host. This address will be used as the
 511:                  source address of Ethernet frames sent by the host
 512:                  over the particular CDC interface."
 513:            ::= { usbCDCEtherEntry 3}
 513: warning - warning: flushing recent incorrect declaration, see previous error(s)
 514: 
 515:    usbCDCEtherPacketFilter OBJECT-TYPE
 515: change recommended - warning: node `usbCDCEtherPacketFilter' must be contained in at least one conformance group
 516:          SYNTAX      BITS {
 517:                 packetPromiscuous(0),
 518:                 packetAllMulticast(1),
 519:                 packetDirected(2),
 520:                 packetBroadcast(3),
 521:                 packetMulticast(4)
 522:            }
 523:            MAX-ACCESS  read-only
 524:            STATUS current
 525:            DESCRIPTION
 526:                 "Bitmap indicates the host requirements to the USB
 527:                  device to perform Ethernet packet filtering of the
 528:                  particular type frames directed to the host"
 529:            REFERENCE 
 530:                 "USB Class definitions for Communication Devices ver
 531:                  1.1, p.66 Table 62"
 532:            ::= { usbCDCEtherEntry 4 }
 533: 
 534:    usbCDCEtherDataStatisticsCapabilities OBJECT-TYPE
 535:          SYNTAX      BITS {
 536:                   frameXmitOk(0),
 537:                   frameRcvOk(1),
 538:                   frameXmitErr(2),
 539:                   frameRcvErr(3),
 540:                   frameRcvNoBuff(4),
 541:                   bytesXmitDirectOk(5),
 542:                   framesXmitDirectOk(6),
 543:                   bytesXmitMulticastOk(7),
 544:                   framesXmitMulticastOk(8),
 545:                   bytesXmitBroadcastOk(9),
 546:                   framesXmitBroadcastOk(10),
 547:                   bytesRcvDirectOk(11),
 548:                   framesRcvDirectOk(12),
 549:                   bytesRcvMulticastOk(13),
 550:                   framesRcvMulticastOk(14),
 551:                   bytesRcvBroadcastOk(15),
 552:                   framesRcvBroadcastOk(16),
 553:                   framesRcvCrcErr(17),
 554:                   xmitQueueLen(18),
 555:                   rcvErrAlignment(19),
 556:                   xmitOneCollision(20),
 557:                   xmitMoreCollisions(21),
 558:                   xmitDeferred(22),
 559: 
 560: B. Dolnik                    Experimental                           13
 560: severe - syntax error, unexpected UPPERCASE_IDENTIFIER, expecting LOWERCASE_IDENTIFIER
 561: Draft-dolnik-usb-mib-02   USB interface MIB               August 2000
 562: 
 563: 
 564:                   xmitMaxCollision(23),
 565:                   rcvOverrun(24),
 566:                   xmitUnderrun(25),
 567:                   xmitHearbeatFailure(26),
 568:                   xmitTimesCrsLost(27),
 569:                   xmitLateCollisions(28)
 570:           }
 570: warning - warning: flushing recent incorrect declaration, see previous error(s)
 571:            MAX-ACCESS  read-only
 571: severe - syntax error, unexpected MAX_ACCESS
 572:            STATUS current
 573:            DESCRIPTION
 574:                "Bitmap indicates the ability to collect Ethernet
 575:                 statistics of different types as it provided in
 576:                 Ethernet Networking Functional Descriptor. If the
 577:                 Particular bit is set, the device could provide the
 578:                 corresponding statistics counter to the host"
 579:             REFERENCE 
 580:                 "USB Class definitions for Communication Devices ver
 581:                  1.1, p.46 Table 42"
 582:            ::= { usbCDCEtherEntry 5 }
 582: warning - warning: flushing recent incorrect declaration, see previous error(s)
 583: 
 584:    usbCDCEtherDataCheckErrs OBJECT-TYPE
 584: change recommended - warning: node `usbCDCEtherDataCheckErrs' must be contained in at least one conformance group
 585:            SYNTAX     Counter32
 586:            MAX-ACCESS read-only
 587:            STATUS     current
 588:            DESCRIPTION
 589:                   "Total number of frames with an invalid frame check
 590:                   sequence, input from the USB Data interface since
 591:                   system re-initialization and while the port state was
 592:                   'up' or 'test'."
 593:            ::= { usbCDCEtherEntry 6 }
 594: 
 595:    usbCDCEtherXmtAddressTable OBJECT-TYPE
 596:           SYNTAX      SEQUENCE OF UsbCDCEtherXmtAddressEntry
 596: error - unknown type `UsbCDCEtherXmtAddressEntry'
 597:           MAX-ACCESS  not-accessible
 598:           STATUS      current
 599:           DESCRIPTION
 600:                   "This table contains an entry for each multicast
 601:                    address for which the system will transmit
 602:                    packets/frames on a particular USB interface."
 603:           ::= { usbMibObjects 6 }
 604: 
 605:    usbCDCEtherXmtAddressEntry OBJECT-TYPE
 606:           SYNTAX      UsbCDCEtherXmtAddressEntry
 607:           MAX-ACCESS  not-accessible
 608:           STATUS      current
 609:           DESCRIPTION
 610:                   "A list of objects identifying an address for which
 611:                   the system will send packets/frames on the
 612:                   particular USB interface identified by the index
 613:                   values usbCDCIndex and ifIndex."
 614:           INDEX  {usbCDCEtherIndex, usbCDCEtherIfIndex,
 615:                   ifCDCEtherXmtAddress }
 616:           ::= { usbCDCEtherXmtAddressTable 1 }
 617: 
 618: 
 619: B. Dolnik                    Experimental                           14
 619: error - `B' should start with a lower case letter
 619: severe - syntax error, unexpected '.', expecting OBJECT
 620: Draft-dolnik-usb-mib-02   USB interface MIB               August 2000
 621: 
 622: 
 623: 
 624:     UsbCDCEtherXmtAddressEntry ::=
 625:           SEQUENCE {
 626:               ifCDCEtherXmtAddress MacAddress
 627:                 }
 627: warning - warning: flushing recent incorrect declaration, see previous error(s)
 628: 
 629:     ifCDCEtherXmtAddress OBJECT-TYPE
 630:           SYNTAX MacAddress
 631:           MAX-ACCESS  read-only
 632:           STATUS      current
 633:           DESCRIPTION
 634:                   "An address for which the system will will send
 635:                    packets/frames on the particular USB interface.
 636:                    The address only could be set by the host by using
 637:                    the command for USB interface."
 638:           ::= { usbCDCEtherXmtAddressEntry 1 }
 639:    --
 640:    -- notification group is for future extension.
 641:    --
 642:    usbMibNotification OBJECT IDENTIFIER     ::= { usbMib 2 }
 643:    usbMibConformance  OBJECT IDENTIFIER     ::= { usbMib 3 }
 644:    usbMibCompliances  OBJECT IDENTIFIER     ::= { usbMibConformance 1 }
 645:    usbMibGroups       OBJECT IDENTIFIER     ::= { usbMibConformance 2 }
 646: 
 647:    -- compliance statements
 648:    usbMibBasicCompliance MODULE-COMPLIANCE
 649:            STATUS      current
 650:            DESCRIPTION
 651:                "The compliance statement for devices that implement
 652:                 USB MIB"
 653: 
 654:    MODULE  -- usbMib
 655: 
 656:        -- unconditionally mandatory groups
 657:        MANDATORY-GROUPS {
 658:                usbMibBasicGroup
 659:                }
 660: 
 661:        -- unconditionally mandatory group
 662:        GROUP usbMibBasicGroup
 663:        DESCRIPTION
 664:                "Group of objects that are mandatory to support by
 665:                 device implementing this MIB"
 666: 
 667:        -- conditionally mandatory group
 668:        GROUP usbMibCDCGroup
 669:        DESCRIPTION
 670:                "This group is implemented only in devices having at
 671:                 least one CDC interface"
 672: 
 673:        -- conditionally mandatory group
 674:        GROUP usbMibCDCEtherGroup
 675:        DESCRIPTION
 675: severe - unknown object identifier label `usbMibCDCEtherGroup'
 676: 
 677: 
 678: B. Dolnik                    Experimental                           15
 678: severe - syntax error, unexpected UPPERCASE_IDENTIFIER, expecting QUOTED_STRING
 679: Draft-dolnik-usb-mib-02   USB interface MIB               August 2000
 680: 
 681: 
 682:                "This group is implemented only in devices having at
 683:                 least one CDC interface that uses Ethernet Networking
 684:                 Control Model or remote NDIS"
 685: 
 686:        -- conditionally mandatory group
 687:        GROUP usbCDCEtherXmtAddressGroup
 688:        DESCRIPTION
 689:                "This group is implemented only for USB CDC interfaces
 690:                 that have transmit multicast filtering capabilities."
 691: 
 692:        ::= {usbMibCompliances 1}
 692: warning - warning: flushing recent incorrect declaration, see previous error(s)
 693: 
 694:    usbMibBasicGroup OBJECT-GROUP
 694: warning - warning: current group `usbMibBasicGroup' is not referenced in this module
 695:            OBJECTS {
 696:                 usbNumber,
 697:                 usbPortIndex,
 698:                 usbPortType,
 699:                 usbPortRate,
 700:                 usbDeviceIndex,
 701:                 usbDevicePower,
 702:                 usbDeviceVendorID,
 703:                 usbDeviceProductID,
 703: severe - unknown object identifier label `usbDeviceProductID'
 704:                 usbDeviceNumberConfigurations,
 705:                 usbDeviceActiveClass,
 706:                 usbDeviceStatus,
 707:                 usbDeviceEnumCounter,
 708:                 usbDeviceRemoteWakeup,
 708: severe - unknown object identifier label `usbDeviceRemoteWakeup'
 709:                 usbDeviceRemoteWakeupOn
 710:            }
 711:            STATUS      current
 712:            DESCRIPTION
 713:                "Group of objects that are mandatory to support by
 714:                 device implementing this MIB"
 715:            ::= { usbMibGroups 1 }
 716: 
 717:    usbMibCDCGroup OBJECT-GROUP
 717: warning - warning: current group `usbMibCDCGroup' is not referenced in this module
 718:            OBJECTS {
 719:                 usbCDCIndex,
 720:                 usbCDCIfIndex,
 721:                 usbCDCSubclass,
 722:                 usbCDCVersion,
 723:                 usbCDCDataTransferType,
 724:                 usbCDCDataEndpoints,
 725:                 usbCDCStalls
 726:            }
 727:            STATUS      current
 728:            DESCRIPTION
 729:                "This group is implemented only in devices having at
 730:                 least one CDC interface"
 731:            ::= { usbMibGroups 2 }
 732: 
 733: 
 734: 
 735: 
 736: B. Dolnik                    Experimental                           16
 736: error - `B' should start with a lower case letter
 736: severe - syntax error, unexpected '.', expecting OBJECT
 737: Draft-dolnik-usb-mib-02   USB interface MIB               August 2000
 738: 
 739: 
 740:    usbMibCDCEtherGroup OBJECT-GROUP
 741:            OBJECTS {
 742:                 usbCDCEtherIndex,
 743:                 usbCDCEtherIfIndex,
 744:                 usbCDCEtherMacAddress,
 745:                 usbCDCEtherPacketFilter,
 746:                 usbCDCEtherDataStatisticsCapabilities,
 747:                 usbCDCEtherDataCheckErrs
 748:            }
 748: warning - warning: flushing recent incorrect declaration, see previous error(s)
 749:            STATUS      current
 749: severe - syntax error, unexpected STATUS
 750:            DESCRIPTION
 751:                "This group is implemented only in devices having at
 752:                  least one CDC interface that uses Ethernet Networking
 753:                  Control Model or remote NDIS"
 754:            ::= { usbMibGroups 3 }
 754: warning - warning: flushing recent incorrect declaration, see previous error(s)
 755: 
 756:    usbCDCEtherXmtAddressGroup OBJECT-GROUP
 756: warning - warning: current group `usbCDCEtherXmtAddressGroup' is not referenced in this module
 757:           OBJECTS {
 758:                ifCDCEtherXmtAddress
 759:            }
 760:            STATUS      current
 761:            DESCRIPTION
 762:                "This group is implemented only for USB CDC interfaces
 763:                 that have transmit multicast filtering capabilities."
 764:            ::= { usbMibGroups 4 }
 765:    END
 766: 
 767: -- 
 768: --    "Copyright (C) The Internet Society (2000). All Rights Reserved.
 769: -- 
 770: --    This document and translations of it may be copied and furnished to
 771: --    others, and derivative works that comment on or otherwise explain it
 772: --    or assist in its implementation may be prepared, copied, published
 773: --    and distributed, in whole or in part, without restriction of any
 774: --    kind, provided that the above copyright notice and this paragraph
 775: --    are included on all such copies and derivative works. However, this
 776: --    document itself may not be modified in any way, such as by removing
 777: --    the copyright notice or references to the Internet Society or other
 778: --    Internet organizations, except as needed for the purpose of
 779: --    developing Internet standards in which case the procedures for
 780: --    copyrights defined in the Internet Standards process must be
 781: --    followed, or as required to translate it into languages other then
 782: --    English.
 783: -- 
 784: --    The limited permissions granted above are perpetual and will not be
 785: --    revoked by the Internet Society or its successors or assigns.
 786: -- 
 787: --    This document and the information contained herein is provided on an
 788: --    "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
 789: --    TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
 790: --    BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
 791: --    HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
 792: --    MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
 793: -- 
 794: -- 
 795: -- 
 796: -- 
 797: -- 
 798: -- 
 799: -- 
 800: -- 
 801: -- 
 802: -- 
 803: -- 
 804: -- 
 805: -- 
 806: -- 
 807: -- 
 808: -- 
 809: -- 
 810: -- 
 811: -- 
 812: -- 
 813: -- 
 814: -- 
 815: -- 
 816: -- 
 817: -- 
 818: -- 
 819: -- B. Dolnik                    Experimental                           20
 820: