All MIBs › HUAWEI-IF-EXT-MIB › hwIfIpMethod
hwIfIpMethod
Module: HUAWEI-IF-EXT-MIB
OID (symbolic): HUAWEI-IF-EXT-MIB::hwIfIpMethod
OID (numeric): 1.3.6.1.4.1.2011.5.25.41.1.2.1.1.7
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Interface IP address acquiring method.
assignedIp(1) indicates that the address was manually configured to a specified address, for example, by user configuration.
dhcpIp(2) indicates an address that was assigned to this system by a DHCP server.
bootpIp(3) indicates an address that was assigned to this system by the bootp protocol.
other(4) indicates an address created by another method.
linklayer(5) indicates an address created by IPv6 stateless auto-configuration.
random(6) indicates an address chosen by the system at random, for example, an IPv4 address within 169.254/16, or an RFC 3041 privacy address.
What is hwIfIpMethod?
Reports/sets how the interface obtained its IP address - manually assignedIp(1), from a dhcpIp(2) server, via bootpIp(3), or auto-generated via linklayer(5)/random(6) - helping an admin quickly tell a statically configured interface apart from a DHCP client one.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.41.1.2.1.1.7 snmpwalk -v2c -c public <target> HUAWEI-IF-EXT-MIB::hwIfIpMethod
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.41.1.2.1.1.7.1 snmpget -v2c -c public <target> HUAWEI-IF-EXT-MIB::hwIfIpMethod.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.25.41.1.2.1.1.7.1 i <value>
Start monitoring Huawei router or switch (extended interface/SDH/VRRP statistics) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-IF-EXT-MIB::hwIfIpMethod OID value, configure state conditions and alerts, and monitor any Huawei router or switch (extended interface/SDH/VRRP statistics) 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.5 | huaweiMgmt | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5.25 | huaweiDatacomm | HUAWEI-3COM-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.5.25.41 | hwIFExtMib | HUAWEI-IF-EXT-MIB |
| 1.3.6.1.4.1.2011.5.25.41.1 | hwIFExtObjects | HUAWEI-IF-EXT-MIB |
| 1.3.6.1.4.1.2011.5.25.41.1.2 | hwInterfaceIp | HUAWEI-IF-EXT-MIB |
| 1.3.6.1.4.1.2011.5.25.41.1.2.1 | hwIfIpTable | HUAWEI-IF-EXT-MIB |
| 1.3.6.1.4.1.2011.5.25.41.1.2.1.1 | hwIfIpEntry | HUAWEI-IF-EXT-MIB |
| 1.3.6.1.4.1.2011.5.25.41.1.2.1.1.7 | hwIfIpMethod | HUAWEI-IF-EXT-MIB |