hwTrapTypeSynSwitch
HUAWEI-SNMP-NOTIFICATION-MIB ·
.1.3.6.1.4.1.2011.6.30.11.2
Object
scalar r/w
Bits
The switch of all types of info for trap synchronization. Function of the trap synchronization. It is controlled by the bit. The issued value is ULONG and is controlled by the first eight bits. The following part uses the eight bits as an example. Options: 1. event(0) -indicates that the corresponding bits are 10000000. 2. alarm(1) -indicates that the corresponding bits are 1000000. 3. maintain(2) -indicates that the corresponding bits are 100000. 4. topo(4) -indicates that the corresponding bits are 1000. 5. test(5) -indicates that the corresponding bits are 100. 6. datachange(6) -indicates that the corresponding bits are 10.
Context
- MIB
- HUAWEI-SNMP-NOTIFICATION-MIB
- OID
.1.3.6.1.4.1.2011.6.30.11.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwTrapSyn
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-SNMP-NOTIFICATION-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-SNMP-NOTIFICATION-MIB::hwTrapTypeSynSwitch.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-SNMP-NOTIFICATION-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-SNMP-NOTIFICATION-MIB::hwTrapTypeSynSwitch'
Syntax
Bits
Values & Constraints
Enumerated Values
0 | event |
1 | alarm |
2 | maintain |
4 | topo |
5 | test |
6 | datachange |