hwSpcProtectUsedFlag
HUAWEI-SPC-MIB ·
.1.3.6.1.4.1.2011.6.15.1.5.1.7
Object
column Integer32
State of the SPC E1 protect link.
Context
- MIB
- HUAWEI-SPC-MIB
- OID
.1.3.6.1.4.1.2011.6.15.1.5.1.7- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwSpcProtectEntry
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::hwSpcProtectUsedFlag'
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::hwSpcProtectUsedFlag.<hwSpcProtectID>'
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::hwSpcProtectUsedFlag'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-2