hwDldpNeighbourPortName
HUAWEI-DLDP-MIB ·
.1.3.6.1.4.1.2011.5.25.173.1.1.10.1.3
Object
column OctetString
When the activated port detects a neighbor, it can record the port name of the neighbour.
Context
- MIB
- HUAWEI-DLDP-MIB
- OID
.1.3.6.1.4.1.2011.5.25.173.1.1.10.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwDldpNeighbourEntry
- Groups
- 1
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::hwDldpNeighbourPortName'
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::hwDldpNeighbourPortName.<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::hwDldpNeighbourPortName'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-255
Conformance
Member of