hwLswPortIndex

A3COM-HUAWEI-DEVICE-MIB · .1.3.6.1.4.1.43.45.1.2.23.1.18.4.5.1.1

Object

The port number on the device. The first port number is 1, which is
reserved if the port does not exist.

Context

MIB
A3COM-HUAWEI-DEVICE-MIB
OID
.1.3.6.1.4.1.43.45.1.2.23.1.18.4.5.1.1
Type
column
Access
readonly
Status
current
Parent
hwLswPortEntry

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

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647