hwVOIPAddressObtainMode
HUAWEI-VLAN-MIB ·
.1.3.6.1.4.1.2011.5.6.1.19.1.10
Object
column Enumeration
ip address obtain mode: Options: 1. static(1) -static config 2. pppoe(2) -pppoe dynamic obtain 3. dhcp(3) -dhcp dynamic obtain
Context
- MIB
- HUAWEI-VLAN-MIB
- OID
.1.3.6.1.4.1.2011.5.6.1.19.1.10- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwVOIPAddressEntry
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-VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VLAN-MIB::hwVOIPAddressObtainMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VLAN-MIB::hwVOIPAddressObtainMode.<hwVOIPAddressIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-VLAN-MIB::hwVOIPAddressObtainMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | static |
2 | pppoe |
3 | dhcp |