usbDevicePower
USB-MIB ·
.1.3.6.1.3.103.1.3.1.2
Object
column Enumeration
the way USB device port is powered
Context
- MIB
- USB-MIB
- OID
.1.3.6.1.3.103.1.3.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- usbDeviceEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'USB-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'USB-MIB::usbDevicePower'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'USB-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'USB-MIB::usbDevicePower.<usbDeviceIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'USB-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'USB-MIB::usbDevicePower'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | unknown |
2 | self-powered |
3 | bus-powered |
Conformance
Member of