All MIBs › HUAWEI-SNMPTrap-MIB › hwInterfaceNumber
hwInterfaceNumber
Module: HUAWEI-SNMPTrap-MIB
OID (symbolic): HUAWEI-SNMPTrap-MIB::hwInterfaceNumber
OID (numeric): 1.3.6.1.4.1.2011.6.3.14.3
Node type: OBJECT-TYPE
Type: Integer32
Access: read-write
Description: The number of the source interface for sending trap. If hwTrapSourceType is set to meth(2) or vlanif(3), you also need to set hwInterfaceNumber.
What is hwInterfaceNumber?
hwInterfaceNumber specifies the numeric identifier of the interface used as the trap source when hwTrapSourceType is set to meth or vlanif. Admins configure it together with hwTrapSourceType to pin the source IP address that appears in outgoing SNMP traps to a specific interface. For example, setting hwInterfaceNumber to 1 alongside hwTrapSourceType meth(2) would make the device's management Ethernet interface 1 the trap source.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.6.3.14.3 snmpwalk -v2c -c public <target> HUAWEI-SNMPTrap-MIB::hwInterfaceNumber
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.6.3.14.3.1 snmpget -v2c -c public <target> HUAWEI-SNMPTrap-MIB::hwInterfaceNumber.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.6.3.14.3.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::hwInterfaceNumber 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.3 | hwInterfaceNumber | HUAWEI-SNMPTrap-MIB |