All MIBs › HUAWEI-SNMPTrap-MIB › hwTrapSwitch
hwTrapSwitch
Module: HUAWEI-SNMPTrap-MIB
OID (symbolic): HUAWEI-SNMPTrap-MIB::hwTrapSwitch
OID (numeric): 1.3.6.1.4.1.2011.6.3.14.1
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Options: 1. enable(1) -indicates that the system can report trap to the NMS. 2. disable(2) -indicates that the system does not report trap to the NMS.
What is hwTrapSwitch?
hwTrapSwitch is the master on/off control for whether the Huawei device reports SNMP traps to the network management station at all. Admins set this to enable(1) to allow trap notifications to reach the NMS, or disable(2) to silence all trap reporting from the device. For example, setting hwTrapSwitch to disable(2) during planned maintenance would stop the device from flooding the NMS with traps caused by expected link flaps.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.6.3.14.1 snmpwalk -v2c -c public <target> HUAWEI-SNMPTrap-MIB::hwTrapSwitch
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.6.3.14.1.1 snmpget -v2c -c public <target> HUAWEI-SNMPTrap-MIB::hwTrapSwitch.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.6.3.14.1.1 i <value>
Start monitoring Huawei router, switch, or other networking equipment (SNMP community/trap source config) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-SNMPTrap-MIB::hwTrapSwitch OID value, configure state conditions and alerts, and monitor any Huawei router, switch, or other networking equipment (SNMP community/trap source config) 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.6 | huaweiUtility | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.6.3 | hwDev | HUAWEI-CPU-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.6.3.14 | hwSNMPTrapCommunity | HUAWEI-SNMPTrap-MIB |
| 1.3.6.1.4.1.2011.6.3.14.1 | hwTrapSwitch | HUAWEI-SNMPTrap-MIB |