hwStaticMacVPI
HUAWEI-ETHERLIKE-EXT-MIB ·
.1.3.6.1.4.1.2011.5.14.11.1.4
Object
Indicates the VPI value among the ATM/xDSL service port parameters. The following four leaves determine a single-service service port: hwStaticMacIfIndex, hwStaticMacVlanID, hwStaticMacVPI, and hwStaticMacVCI. hwStaticMacVPI is no longer used in actual applications and is mainly used for the purpose of compatibility with earlier versions. Currently, to set the static MAC address of a service port, hwStaticMacFlowID is used for specifying the service port index. If you query the MAC address that is bound to a specified service port on the xDSL board, the result means the VPI of the service port. If the type of service port is xPON, then it indicates the ONT ID. If the type of service port is GIU or if you query the MAC address bound to a PW, then the returned value is -1, which indicates an invalid value.
Context
- MIB
- HUAWEI-ETHERLIKE-EXT-MIB
- OID
.1.3.6.1.4.1.2011.5.14.11.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwStaticMacEntry
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::hwStaticMacVPI'
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::hwStaticMacVPI.<hwStaticMacIndex>'
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::hwStaticMacVPI'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647