hwTrapFormatMode
HUAWEI-SNMP-NOTIFICATION-MIB ·
.1.3.6.1.4.1.2011.6.30.16.1
Object
scalar r/w
Enumeration
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 }.
Context
- MIB
- HUAWEI-SNMP-NOTIFICATION-MIB
- OID
.1.3.6.1.4.1.2011.6.30.16.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwTrapConfig
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::hwTrapFormatMode.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::hwTrapFormatMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | standard |
2 | private |