HUAWEI-SNMPTrap-MIB
This mib is used to set and query the community name of the SNMP and the information about the trap source interface.
- Source file
HUAWEI-SNMPTrap-MIB- Last revised
- Identity
hwSNMPTrapCommunity- Base OID
1.3.6.1.4.1.2011.6.3.14- Objects
- 3 scalars · 3 columns
- Tables
- 1 tables
Net-SNMP examples using the huawei MIB directory
These commands use the standard Observium installation path and load the selected MIB variant before the RFC and Net-SNMP directories.
Translate the module identity
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-SNMPTrap-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-SNMPTrap-MIB::hwSNMPTrapCommunity'
Walk the MIB subtree
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HUAWEI-SNMPTrap-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-SNMPTrap-MIB::hwSNMPTrapCommunity'
Imported Objects
| HUAWEI-DEVICE-MIB | hwDev |
| SNMPv2-SMI | Integer32 IpAddress MODULE-IDENTITY (no object page) NOTIFICATION-TYPE (no object page) OBJECT-TYPE (no object page) TimeTicks |
| SNMPv2-TC | DateAndTime DisplayString RowStatus TruthValue |
hwSNMPTrapCommunity
.1.3.6.1.4.1.2011.6.3.14
| Object | Syntax | OID |
|---|---|---|
| hwTrapSwitch | Enumerationr/w | .1.3.6.1.4.1.2011.6.3.14.1 |
| hwTrapSourceType | Enumerationr/w | .1.3.6.1.4.1.2011.6.3.14.2 |
| hwInterfaceNumber | SNMPv2-SMIInteger32r/w | .1.3.6.1.4.1.2011.6.3.14.3 |
.1.3.6.1.4.1.2011.6.3.14.4
· 3 columns
Used to configure and query the community name of the SNMP. If an SNMP manager can provide the correct community name, the SNMP manager has the permission to access the corresponding community. The index of this table i…
hwCommunityInfoEntry
.1.3.6.1.4.1.2011.6.3.14.4.1
Index
hwCommunityName
| Column | Syntax | OID |
|---|---|---|
| hwCommunityName | OctetString | .1.3.6.1.4.1.2011.6.3.14.4.1.1 |
| hwCommunityAccess | Enumerationr/w | .1.3.6.1.4.1.2011.6.3.14.4.1.2 |
| hwCommunityRowStatus | SNMPv2-TCRowStatusr/w | .1.3.6.1.4.1.2011.6.3.14.4.1.3 |
Dependencies (15) 3 direct · 12 transitive Show tree and compile order Hide dependency details
Each imported module is resolved in the importing module's source directory first, then through the normal default-variant rules.
Dependency tree
Dependency-first compile order
- SNMPv2-SMIrfc
- SNMPv2-TCrfc
- IANA-ENTITY-MIBrfc
- SNMPv2-CONFrfc
- SNMP-FRAMEWORK-MIBrfc
- UUID-TC-MIBrfc
- ENTITY-MIBrfc
- HCNUM-TCrfc
- HUAWEI-MIBhuawei
- HUAWEI-TC-MIBhuawei
- IANAifType-MIBrfc
- SNMPv2-MIBrfc
- IF-MIBrfc
- INET-ADDRESS-MIBrfc
- HUAWEI-DEVICE-MIBhuawei
- HUAWEI-SNMPTrap-MIBhuaweiselected