ipRoutingDhcpServerEnable
MX-IP-ROUTING-MIB ·
.1.3.6.1.4.1.4935.15.110.1.10.3
Object
Indicates if the DHCP server service is active.
The DHCP service allocates IP addresses to the PC or IP equipment
located on the LAN. The DHCP server behavior depends on the routing
mode (ipRoutingMode) selected.
TAS routing mode:
- The DHCP server is always enable, even if this variable is set to disable.
- The DHCP server allocates only one lease and all other DHCP request are
silently rejected.
- The DHCP server allocates the value of localHostWanAddress as IP address.
- The DHCP server allocates the value of localHostDefaultRouter as default router.
- The DHCP server allocates the value of localHostSubnetMask as subnet mask.
- The DHCP server allocates the value of localHostPrimaryDns and
localHostSecondaryDns as DNS.
NAT and Normal routing mode:
- The DHCP server can allocate one lease for each IP address in the range.
- The DHCP server allocates a free lease in the range defined by
ipRoutingDhcpIpLeaseRangeStart to ipRoutingDhcpIpLeaseRangeEnd as IP address.
- The DHCP server allocates the value of lanStaticAddress as default router.
- The DHCP server allocates the value of lanStaticNetworkMask as subnet mask.
- The DHCP server allocates the value of localHostPrimaryDns and
localHostSecondaryDns as DNS.
enable(1) : The DHCP server service is activated.
disable(0) : The DHCP server service is deactivated.
This variable's semantics are different depending on protocol and/or
hardware platforms.
Please refer to the documentation shipped with your device for more details.
Context
- MIB
- MX-IP-ROUTING-MIB
- OID
.1.3.6.1.4.1.4935.15.110.1.10.3- Type
- scalar
- Access
- readwrite
- Status
- current
- Default
enable- Parent
- ipRoutingDhcp
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MX-IP-ROUTING-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-IP-ROUTING-MIB::ipRoutingDhcpServerEnable.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MX-IP-ROUTING-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MX-IP-ROUTING-MIB::ipRoutingDhcpServerEnable'
Syntax
- Source
- MX-TCMxEnableState
- Base type
Enumeration
Values & Constraints
Type Values
0 | disable |
1 | enable |
Conformance
Member of