hwMplsPsLocalState
HUAWEI-MPLSOAM-MIB ·
.1.3.6.1.4.1.2011.5.12.7.1.3.1.1.20
Object
column Integer32
The current local state of the protection group. 0: Lockout of Protection (LO) 1: Signal Fail for Protection (SF-P) 2: Forced Switch (FS) 3: Signal Fail for Working (SF) 4: Signal Degrade for Protection(SD-P) 5: Signal Degrade for Working(SD) 6: Manual Switch (MS) 7: Wait-to-Restore (WTR) 8: Exercise (EXER) 9: Reverse Request(RR) 10: Do Not Revert (DNR) 11: No Request (NR) The pripority of the commands are: LO > SF-P > FS > SF > SD-P > SD > MS > WTR > EXER > RR > DNR > NR
Context
- MIB
- HUAWEI-MPLSOAM-MIB
- OID
.1.3.6.1.4.1.2011.5.12.7.1.3.1.1.20- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwMplsPsEntry
- 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-MPLSOAM-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-MPLSOAM-MIB::hwMplsPsLocalState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-MPLSOAM-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-MPLSOAM-MIB::hwMplsPsLocalState.<hwMplsPsIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-MPLSOAM-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-MPLSOAM-MIB::hwMplsPsLocalState'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-11
Conformance
Member of