hwDhcpGatewayGroupGatewayAddressInetType
HUAWEI-DHCP-PROXY-MIB ·
.1.3.6.1.4.1.2011.5.18.1.45.1.2
Object
Indicates the type of the gateway IP address. Only support the IPv4 addresses. Options: 1. ipv4(1) -An IPv4 address as defined by the InetAddressIPv4 textual convention.
Context
- MIB
- HUAWEI-DHCP-PROXY-MIB
- OID
.1.3.6.1.4.1.2011.5.18.1.45.1.2- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- hwDhcpGatewayGroupGatewayEntry
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-DHCP-PROXY-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DHCP-PROXY-MIB::hwDhcpGatewayGroupGatewayAddressInetType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-DHCP-PROXY-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DHCP-PROXY-MIB::hwDhcpGatewayGroupGatewayAddressInetType.<hwDhcpGatewayGroupName>.<hwDhcpGatewayGroupGatewayType>.<hwDhcpGatewayGroupGatewayAddressInetType>.<hwDhcpGatewayGroupGatewayAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-DHCP-PROXY-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-DHCP-PROXY-MIB::hwDhcpGatewayGroupGatewayAddressInetType'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressType
- Base type
Enumeration
Values & Constraints
Type Values
0 | unknown |
1 | ipv4 |
2 | ipv6 |
3 | ipv4z |
4 | ipv6z |
16 | dns |
25 | l2vpn |