hwGpioMode
HUAWEI-AR-SERIAL-CONNECT-MIB ·
.1.3.6.1.4.1.2011.5.25.338.1.1.1.2
Object
column r/w
Enumeration
Indicates the GPIO work mode,the default value is di.
Context
- MIB
- HUAWEI-AR-SERIAL-CONNECT-MIB
- OID
.1.3.6.1.4.1.2011.5.25.338.1.1.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwGpioEntry
- 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 'HUAWEI-AR-SERIAL-CONNECT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-AR-SERIAL-CONNECT-MIB::hwGpioMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-AR-SERIAL-CONNECT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-AR-SERIAL-CONNECT-MIB::hwGpioMode.<hwGpioId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-AR-SERIAL-CONNECT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-AR-SERIAL-CONNECT-MIB::hwGpioMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | di |
1 | do |
Conformance
Member of