All MIBs › HUAWEI-DC-TRAP-MIB › hwDCCtrlTrap
hwDCCtrlTrap
Module: HUAWEI-DC-TRAP-MIB
OID (symbolic): HUAWEI-DC-TRAP-MIB::hwDCCtrlTrap
OID (numeric): 1.3.6.1.4.1.2011.5.25.37.1.1
Node type: OBJECT-TYPE
Type: OCTET STRING
Access: read-write
Description: A string serving as a bit map for the trap events defined by the hwDatacomm traps. This object is used to enable and disable specific hwDatacomm traps where a 1 in the bit field represents enabled. The right-most bit (least significant) represents trap 0.
What is hwDCCtrlTrap?
This object is a 32-byte bitmask where each bit corresponds to one specific hwDatacomm SNMP trap, with a bit set to 1 enabling that trap and 0 disabling it, and the least-significant, rightmost bit controlling trap number 0. An admin writes to this to selectively silence noisy or irrelevant traps while keeping critical ones active, rather than using an all-or-nothing trap toggle. For example, setting only the rightmost bit to 1 and leaving the rest 0 would enable trap 0 while suppressing every other hwDatacomm trap defined in the MIB.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.37.1.1 snmpwalk -v2c -c public <target> HUAWEI-DC-TRAP-MIB::hwDCCtrlTrap
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.37.1.1.1 snmpget -v2c -c public <target> HUAWEI-DC-TRAP-MIB::hwDCCtrlTrap.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.25.37.1.1.1 s <value>
Start monitoring Huawei data-center switch/fabric equipment (DataComm event traps) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-DC-TRAP-MIB::hwDCCtrlTrap OID value, configure state conditions and alerts, and monitor any Huawei data-center switch/fabric equipment (DataComm event traps) from a single console.
OID Breakdown
Upper-level ancestors (9 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.2011 | huawei | EXPERTV2-MIB |
| 1.3.6.1.4.1.2011.5 | huaweiMgmt | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5.25 | huaweiDatacomm | HUAWEI-3COM-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.5.25.37 | hwDCTrapMIB | HUAWEI-DC-TRAP-MIB |
| 1.3.6.1.4.1.2011.5.25.37.1 | hwDCTrapControl | HUAWEI-DC-TRAP-MIB |
| 1.3.6.1.4.1.2011.5.25.37.1.1 | hwDCCtrlTrap | HUAWEI-DC-TRAP-MIB |