hwOprType
HUAWEI-SPC-MIB ·
.1.3.6.1.4.1.2011.6.15.1.1.1.19
Object
column r/w
Enumeration
Operate type of SPC. It can be set to disconnect or connect. Options: 1. noOperation(1) -no operation 2. connect(2) -connect 3. disconnect(3) -disconnect
Context
- MIB
- HUAWEI-SPC-MIB
- OID
.1.3.6.1.4.1.2011.6.15.1.1.1.19- Type
- column
- Access
- readwrite
- 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::hwOprType'
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::hwOprType.<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::hwOprType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | noOperation |
2 | connect |
3 | disconnect |