hwCfmSubIndex

HUAWEI-ETHERNET-OAM-MIB · .1.3.6.1.4.1.2011.5.101.1.13.1.2

Object

Queries the sub-index of the MIP port. In the case of a GPON port, when the system
works in the GPON old mode, issues the GEM port ID; when the system works in the
GPON new mode, issues OntId for the low 16 bits and GemIndex for the high
16 bits. In the case of an ATM/xDSL port, issues VPI for the low 16 bits and VCI for the high
16 bits. In other cases, 4294967295 (0xFFFFFFFF) is issued.

Context

MIB
HUAWEI-ETHERNET-OAM-MIB
OID
.1.3.6.1.4.1.2011.5.101.1.13.1.2
Type
column
Access
noaccess
Status
current
Parent
hwCfmMipEntry

Walk 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::hwCfmSubIndex'
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::hwCfmSubIndex.<hwCfmIfIndex>.<hwCfmSubIndex>.<hwCfmVlanId>'
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::hwCfmSubIndex'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647