hwONSmartCapability
HUAWEI-ENVIRONMENT-MIB ·
.1.3.6.1.4.1.2011.6.1.1.7.1.66
Object
column Bits
This MIB node is used to query the function of the optical node, which is represented by bits. Functions of each bit are as follows: 1: setOTCHRFAttValue(0) - indicates whether the RF attenuation of the optical transmitter channel is supported. 2: setONCfgOpticalWorkMode(1) - indicates whether the multiplexing mode of the optical receiver or transmitter node is supported. 3: setOTCfgOpticalWorkMode(2) - indicates whether the protection mode of the optical transmitter is supported. From left to right, each bit indicates whether the function is supported. If this bit is 1, the function is supported. If this bit is 0, the function is not supported.
Context
- MIB
- HUAWEI-ENVIRONMENT-MIB
- OID
.1.3.6.1.4.1.2011.6.1.1.7.1.66- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwOpticalNodeEntry
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-ENVIRONMENT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ENVIRONMENT-MIB::hwONSmartCapability'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-ENVIRONMENT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ENVIRONMENT-MIB::hwONSmartCapability.<hwFrameIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-ENVIRONMENT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-ENVIRONMENT-MIB::hwONSmartCapability'
Syntax
Bits
Values & Constraints
Enumerated Values
0 | setOTCHRFAttValue |
1 | setONCfgOpticalWorkMode |
2 | setOTCfgOpticalWorkMode |