hwXponOntEthPortPoeSwitch
HUAWEI-XPON-COMMON-MIB ·
.1.3.6.1.4.1.2011.6.145.1.1.5.7.1.2
Object
column r/w
Enumeration
This object indicates the power supply switch of the ONT Ethernet port. Options: 1. enable(1) - Indicates that the power supply switch of the ONT Ethernet port is enabled. 2. disable(2) - Indicates that the power supply switch of the ONT Ethernet port is disabled. 3. unconcern(3) - Indicates that the power supply switch of the ONT Ethernet port is unconcerned. The default value is unconcern(3).
Context
- MIB
- HUAWEI-XPON-COMMON-MIB
- OID
.1.3.6.1.4.1.2011.6.145.1.1.5.7.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwXponOntEthPortPoeConfigEntry
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-COMMON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-XPON-COMMON-MIB::hwXponOntEthPortPoeSwitch'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-XPON-COMMON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-XPON-COMMON-MIB::hwXponOntEthPortPoeSwitch.<ifIndex>.<hwXponOntIndex>.<hwXponOntEthPortId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-XPON-COMMON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-XPON-COMMON-MIB::hwXponOntEthPortPoeSwitch'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enable |
2 | disable |
3 | unconcern |