hwCfmMepOntid
HUAWEI-ETHERNET-OAM-MIB ·
.1.3.6.1.4.1.2011.5.101.1.12.1.47
Object
column r/w
Integer32
Indicates the OntId of the xPON port. It must be input together with hwCfmMepGemIndex but these two leaves are mutually exclusive. This leaf is applicable to the xPON profile mode. Range: 0-255 -1 indicates an invalid value for OntId.
Context
- MIB
- HUAWEI-ETHERNET-OAM-MIB
- OID
.1.3.6.1.4.1.2011.5.101.1.12.1.47- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwCfmMepEntry
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-ETHERNET-OAM-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ETHERNET-OAM-MIB::hwCfmMepOntid'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-ETHERNET-OAM-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ETHERNET-OAM-MIB::hwCfmMepOntid.<dot1agCfmMdIndex>.<dot1agCfmMaIndex>.<hwCfmMepIdentifier>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-ETHERNET-OAM-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-ETHERNET-OAM-MIB::hwCfmMepOntid'
Syntax
Integer32
Values & Constraints
Object Constraints
range: -1-255