hwIpDslamInterfaceIpMethod
HUAWEI-IPDSLAM-INTERFACE-MIB ·
.1.3.6.1.4.1.2011.6.161.1.2.1.6
Object
column Enumeration
Interface IP address acquiring method. Options: 1. static(1) -indicates the address was manually configured 2. dhcp(2) -indicates the address was assigned by a DHCP server
Context
- MIB
- HUAWEI-IPDSLAM-INTERFACE-MIB
- OID
.1.3.6.1.4.1.2011.6.161.1.2.1.6- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwIpDslamInterfaceIpEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HUAWEI-IPDSLAM-INTERFACE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-IPDSLAM-INTERFACE-MIB::hwIpDslamInterfaceIpMethod'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-IPDSLAM-INTERFACE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-IPDSLAM-INTERFACE-MIB::hwIpDslamInterfaceIpMethod.<hwIpDslamInterfaceIpIfIndex>.<hwIpDslamInterfaceIpAddressType>.<hwIpDslamInterfaceIpAddress>.<hwIpDslamInterfaceIpPfxLen>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-IPDSLAM-INTERFACE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-IPDSLAM-INTERFACE-MIB::hwIpDslamInterfaceIpMethod'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | static |
2 | dhcp |