hwXponOntFec
HUAWEI-XPON-COMMON-MIB ·
.1.3.6.1.4.1.2011.6.145.1.1.1.9.1.7
Object
column r/w
Enumeration
This object is used to configure the ONT upstream FEC switch. Options: 1. enable(1) - Indicates that the ONT FEC switch is enabled. 2. disable(2) - Indicates that the ONT FEC switch is disabled. 3. useProfileConfig(3) - Indicates that the ONT FEC switch is using line profile configuration. 4. invalidValue(-1) - Indicates that the query fails or no information is detected. The default value is enable(1) for XG-PON ONT and EPON 10g/2g type ONT. The default value is useProfileConfig(3) for others in profile-mode. The default value is disable(2) for others in distributing-mode.
Context
- MIB
- HUAWEI-XPON-COMMON-MIB
- OID
.1.3.6.1.4.1.2011.6.145.1.1.1.9.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwXponOntControlEntry
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::hwXponOntFec'
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::hwXponOntFec.<ifIndex>.<hwXponOntIndex>'
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::hwXponOntFec'
Syntax
Enumeration
Values & Constraints
Enumerated Values
-1 | invalidValue |
1 | enable |
2 | disable |
3 | useProfileConfig |