hwIpSpcAttributeEce
HUAWEI-SPC-MIB ·
.1.3.6.1.4.1.2011.6.15.1.1.1.50
Object
column r/w
Enumeration
The switch of EC. Options: 1. disable(1) -disable EC 2. enable(2) -enable EC 3. invalid(-1) -invalid value
Context
- MIB
- HUAWEI-SPC-MIB
- OID
.1.3.6.1.4.1.2011.6.15.1.1.1.50- 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::hwIpSpcAttributeEce'
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::hwIpSpcAttributeEce.<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::hwIpSpcAttributeEce'
Syntax
Enumeration
Values & Constraints
Enumerated Values
-1 | invalid |
1 | disable |
2 | enable |