mplsLdpEntityConfGenericIfIndexOrZero
MPLS-LDP-MIB ·
cisco variant
·
.1.3.6.1.3.97.1.2.3.1.1.3
Object
This value represents either the InterfaceIndex of
the 'ifLayer' where these Generic Label would be created, or
0 (zero). The value of zero means that the InterfaceIndex
is not known. For example, if the InterfaceIndex is
created subsequent to the Generic Label's creation, then
it would not be known. However, if the InterfaceIndex
is known, then it must be represented by this value.
If an InterfaceIndex becomes known, then the
network management entity (e.g. SNMP agent) responsible
for this object MUST change the value from 0 (zero) to the
value of the InterfaceIndex. If this Generic Label is
being used in forwarding data, then the value of this
object MUST be the InterfaceIndex.
Context
- MIB
- MPLS-LDP-MIB
- OID
.1.3.6.1.3.97.1.2.3.1.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- mplsLdpEntityConfGenericLabelRangeEntry
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 'MPLS-LDP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPLS-LDP-MIB::mplsLdpEntityConfGenericIfIndexOrZero'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MPLS-LDP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPLS-LDP-MIB::mplsLdpEntityConfGenericIfIndexOrZero.<mplsLdpEntityLdpId>.<mplsLdpEntityIndex>.<mplsLdpEntityConfGenericLabelRangeMinimum>.<mplsLdpEntityConfGenericLabelRangeMaximum>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MPLS-LDP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MPLS-LDP-MIB::mplsLdpEntityConfGenericIfIndexOrZero'
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