hwXponDeviceOltDualparentWorkState
HUAWEI-XPON-MIB ·
.1.3.6.1.4.1.2011.6.128.1.1.2.120.1.4
Object
column r/w
Enumeration
This object is used to set or show the port protect status. Options: 1. active(1) - The port protect status is active 2. standby(2) - The port protect status is standby 3. fault(3) - The port protect status is fault 4. detect(4) - The port protect status is detective 5. invalid(-1) - Indicates that the query fails or no information is detected
Context
- MIB
- HUAWEI-XPON-MIB
- OID
.1.3.6.1.4.1.2011.6.128.1.1.2.120.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwXponDeviceOltDualparentEntry
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-XPON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-XPON-MIB::hwXponDeviceOltDualparentWorkState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-XPON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-XPON-MIB::hwXponDeviceOltDualparentWorkState.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-XPON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-XPON-MIB::hwXponDeviceOltDualparentWorkState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
-1 | invalid |
1 | active |
2 | standby |
3 | fault |
4 | detect |