cDhcpv4ServerClientSubnetMask
CISCO-IETF-DHCP-SERVER-MIB ·
.1.3.6.1.4.1.9.10.102.1.4.4.1.2
Object
The subnet mask (DHCP option 1) provided to the client offered this address. The subnet, resulting from logically ANDing the subnet mask with the entry's IPv4 address, MUST be configured on this server and appear as a row in the cDhcpSubnetTable.
Context
- MIB
- CISCO-IETF-DHCP-SERVER-MIB
- OID
.1.3.6.1.4.1.9.10.102.1.4.4.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- cDhcpv4ServerClientEntry
- Groups
- 1
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 'CISCO-IETF-DHCP-SERVER-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-IETF-DHCP-SERVER-MIB::cDhcpv4ServerClientSubnetMask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-IETF-DHCP-SERVER-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-IETF-DHCP-SERVER-MIB::cDhcpv4ServerClientSubnetMask.<cDhcpv4ServerClient>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-IETF-DHCP-SERVER-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-IETF-DHCP-SERVER-MIB::cDhcpv4ServerClientSubnetMask'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressPrefixLength
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..2040
Conformance
Member of