All MIBs › HUAWEI-SNMP-NOTIFICATION-MIB › hwTrapFormatMode
hwTrapFormatMode
Module: HUAWEI-SNMP-NOTIFICATION-MIB
OID (symbolic): HUAWEI-SNMP-NOTIFICATION-MIB::hwTrapFormatMode
OID (numeric): 1.3.6.1.4.1.2011.6.30.16.1
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: The format of the reported trap. Options: 1. standard(1) -The trap message is in the standard format. 2. private(2) -The trap message is in the private format. DEFVAL { private }.
What is hwTrapFormatMode?
Selects whether the device emits traps in the SNMP standard format or Huawei's private, extended format; devices default to private, so switch to standard only if the receiving NMS specifically expects RFC-standard trap PDUs.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.6.30.16.1 snmpwalk -v2c -c public <target> HUAWEI-SNMP-NOTIFICATION-MIB::hwTrapFormatMode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.6.30.16.1.1 snmpget -v2c -c public <target> HUAWEI-SNMP-NOTIFICATION-MIB::hwTrapFormatMode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.6.30.16.1.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> hwTrapFormatMode.1
Start monitoring Huawei router or switch (alarm/event/trap notification delivery config) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-SNMP-NOTIFICATION-MIB::hwTrapFormatMode OID value, configure state conditions and alerts, and monitor any Huawei router or switch (alarm/event/trap notification delivery 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 | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.6 | huaweiUtility | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.6.30 | hwSyntrap | HUAWEI-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.6.30.16 | hwTrapConfig | HUAWEI-SNMP-NOTIFICATION-MIB |
| 1.3.6.1.4.1.2011.6.30.16.1 | hwTrapFormatMode | HUAWEI-SNMP-NOTIFICATION-MIB |