hwDldpNeighbourPortIndex
HUAWEI-DLDP-MIB ·
.1.3.6.1.4.1.2011.5.25.173.1.1.10.1.2
Object
column Integer32
When the activated port detects a neighbor, it can record the port index of the neighbour.
Context
- MIB
- HUAWEI-DLDP-MIB
- OID
.1.3.6.1.4.1.2011.5.25.173.1.1.10.1.2- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- hwDldpNeighbourEntry
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-DLDP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DLDP-MIB::hwDldpNeighbourPortIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-DLDP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DLDP-MIB::hwDldpNeighbourPortIndex.<hwDldpPortIndex>.<hwDldpNeighbourMacAddr>.<hwDldpNeighbourPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-DLDP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-DLDP-MIB::hwDldpNeighbourPortIndex'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-65535