hwMplsLdpEntityLabelAllocationMethod
HUAWEI-MPLS-LDP-MIB ·
.1.3.6.1.4.1.2011.5.12.2.1.2.1.1.14
Object
column r/w
Enumeration
For any given LDP session, the method of label allocation must be specified. Label can be allocated in either ordered mode or in the independent mode.
Context
- MIB
- HUAWEI-MPLS-LDP-MIB
- OID
.1.3.6.1.4.1.2011.5.12.2.1.2.1.1.14- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwMplsLdpEntityEntry
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-MPLS-LDP-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-MPLS-LDP-MIB::hwMplsLdpEntityLabelAllocationMethod'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-MPLS-LDP-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-MPLS-LDP-MIB::hwMplsLdpEntityLabelAllocationMethod.<hwMplsLdpLsrIncarnID>.<hwMplsLdpEntityIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-MPLS-LDP-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-MPLS-LDP-MIB::hwMplsLdpEntityLabelAllocationMethod'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | ordered |
2 | independent |