hwifXXBasePortIndex

HUAWEI-LswINF-MIB · .1.3.6.1.4.1.2011.2.23.1.1.1.1.10

Object

Index number of the port and the first port index of the
device is 1.

Context

MIB
HUAWEI-LswINF-MIB
OID
.1.3.6.1.4.1.2011.2.23.1.1.1.1.10
Type
column
Access
readonly
Status
current
Parent
hwifXXEntry

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-LswINF-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-LswINF-MIB::hwifXXBasePortIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-LswINF-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-LswINF-MIB::hwifXXBasePortIndex.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-LswINF-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-LswINF-MIB::hwifXXBasePortIndex'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647