hwCosPortOntId
HUAWEI-ETHERLIKE-EXT-MIB ·
.1.3.6.1.4.1.2011.5.14.3.10.1.8
Object
column Integer32
It is one of table indexes. It is a difference parameter between access modes, indicating the ONT ID. Range: -1, 0-255 This leaf is valid when the GPON works in the profile mode or when the board is an EPON board. In other cases, this index is invalid. Value 4294967295 indicates that the leaf is invalid. Default: -1
Context
- MIB
- HUAWEI-ETHERLIKE-EXT-MIB
- OID
.1.3.6.1.4.1.2011.5.14.3.10.1.8- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- hwCosPortTrafficEntry
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-ETHERLIKE-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ETHERLIKE-EXT-MIB::hwCosPortOntId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-ETHERLIKE-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ETHERLIKE-EXT-MIB::hwCosPortOntId.<ifIndex>.<hwCosPortExtPara1>.<hwCosPortOntId>.<hwCosPortGemIndex>.<hwCosPortTrafficCos>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-ETHERLIKE-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-ETHERLIKE-EXT-MIB::hwCosPortOntId'
Syntax
Integer32
Values & Constraints
Object Constraints
range: -1-255