hwSpcState
HUAWEI-SPC-MIB ·
.1.3.6.1.4.1.2011.6.15.1.1.1.17
Object
column Enumeration
SPC state. Options: 1. idle(1) -idle 2. normal(2) -normal 3. error(3) -error 4. errorChecking(4) -error checking 5. occupying(5) -occupying 6. checking(6) -checking 7. released(7) -released 8. errReleasing(8) -error releasing 9. refreshReleasing(9) -refresh releasing 10. disconnecting(10) -disconnecting
Context
- MIB
- HUAWEI-SPC-MIB
- OID
.1.3.6.1.4.1.2011.6.15.1.1.1.17- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwSpcMngtEntry
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-SPC-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-SPC-MIB::hwSpcState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-SPC-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-SPC-MIB::hwSpcState.<hwSpcNo>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-SPC-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-SPC-MIB::hwSpcState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | idle |
2 | normal |
3 | error |
4 | errorChecking |
5 | occupying |
6 | checking |
7 | released |
8 | errReleasing |
9 | refreshReleasing |
10 | disconnecting |