hwLdpInterfaceLocalLsrIdIfIndex

HUAWEI-MPLSLDP-MIB · .1.3.6.1.4.1.2011.5.25.143.1.54.1.19

Object

This object indicates the way to specify the interface that the local LDP LSR-ID based on interface is assigned to. 
Value: 0..2147483647  
The default value of the object for the public interface is the interface that the global LDP LSR ID is assigned to. 
If the global LDP LSR ID is not assigned to any interface, then the value of the object is 0.
If set 0, the value of the object will be the default value.
The default value of the object for the private interface is the interface that the global LDP LSR ID of VPN Instance is assigned to. 
Based on mplsL3VpnIfConfRowStatus of mplsL3VpnIfConfTable, you can find which interface belongs to the VPN.
The interface which the object specified must be bound with the same VPN instance with the interface which is configured.

Context

MIB
HUAWEI-MPLSLDP-MIB
OID
.1.3.6.1.4.1.2011.5.25.143.1.54.1.19
Type
column
Access
readwrite
Status
current
Parent
hwLdpInterfaceEntry
Groups
1

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

Syntax

Source
IF-MIBInterfaceIndexOrZero
Base type
Integer32
Display format
d
Type Description
This textual convention is an extension of the
InterfaceIndex convention.  The latter defines a greater
than zero value used to identify an interface or interface
sub-layer in the managed system.  This extension permits the
additional value of zero.  the value zero is object-specific
and must therefore be defined as part of the description of
any object which uses this syntax.  Examples of the usage of
zero might include situations where interface was unknown,
or when none or all interfaces need to be referenced.

Values & Constraints

Type Constraints
range: 0..2147483647

Conformance