adGenDhcpClientStatusSubnetMask
ADTRAN-GEN-DHCP-CLIENT-MIB ·
.1.3.6.1.4.1.664.5.80.1.1.1.1.1.7
Object
column INET-ADDRESS-MIBInetAddress
The IP subnet mask options specified by DHCPv4 option 1
for the client to use. This field is reported as an IP
address for easier display to the user.
The IP address version (ipv4 or ipv6) can be determined by
retrieval of the adGenDhcpClientStatusSubnetMaskType column.
Context
- MIB
- ADTRAN-GEN-DHCP-CLIENT-MIB
- OID
.1.3.6.1.4.1.664.5.80.1.1.1.1.1.7- Type
- column
- Access
- readonly
- Status
- current
- Parent
- adGenDhcpClientStatusEntry
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 'ADTRAN-GEN-DHCP-CLIENT-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ADTRAN-GEN-DHCP-CLIENT-MIB::adGenDhcpClientStatusSubnetMask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ADTRAN-GEN-DHCP-CLIENT-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ADTRAN-GEN-DHCP-CLIENT-MIB::adGenDhcpClientStatusSubnetMask.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ADTRAN-GEN-DHCP-CLIENT-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ADTRAN-GEN-DHCP-CLIENT-MIB::adGenDhcpClientStatusSubnetMask'
Syntax
- Source
- INET-ADDRESS-MIBInetAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..255