ip dhcp pool
ip dhcp pool
dhcp-relay
dhcp-server
dns-cache
dns-server
domain-name
lease-time
subnet
subnet-mask
no…
Description
This command configures a DHCP pool on the VirtualController. Use this command to configure a DHCP pool. The DHCP server is a built-in server, used for networks in which clients are assigned IP address by the Virtual Controller. You can customize the DHCP pool subnet and address range to provide simultaneous access to more number of clients. The pool can support up to 2048 addresses. The default size of the IP address pool is 512. When anInstant APreceives a DHCP request from a client, it examines the origin of the request to determine if it a response must be sent. If the IP address of the VLAN matches a configured DHCP pool, theInstant APanswers the request.
Parameter |
Description |
dhcp-relay |
Enables the AP to operate as a DHCP relay agent and forward DHCP information to a server. |
dhcp-server |
Configures the server to which the AP relays the DHCP information for profiling. |
dns-cache |
Enables DNS caching on theInstant AP, which allows theInstant APto respond to DNS requests from cache or deny the request immediately if the upstream DNS server is not reachable. When DNS caching is enabled, the DNS server configuration details are ignored. |
dns-server |
定义了DNS服务器的IP地址。You can specify up to eight IP addresses as a comma separated list. |
domain-name |
Defines the name of domain to which the client belongs. |
lease-time |
Configures the duration of the DHCP lease in minutes. 2–43200 minutes 720 minutes |
subnet |
Defines IP address of the subnet. |
subnet-mask |
Defines the subnet mask of the IP address, |
no… |
Removes any existing configuration |
Example
The following command configures a DHCP pool:
(Instant AP)(config)# ip dhcp pool
(Instant AP)(DHCP)# domain-name example.com
(Instant AP)(DHCP)# dns-cache
(Instant AP)(DHCP)# dns-server 192.0.2.1
(Instant AP)(DHCP)# lease-time 20
(Instant AP)(DHCP)# subnet 192.0.2.0
(Instant AP)(DHCP)# subnet-mask 255.255.255.0
(Instant AP)(DHCP)# end
(Instant AP)# commit apply
Command History
Release |
Modification |
Aruba Instant8.9.0.0 |
Two new parameters,dhcp-relayanddhcp-server, to configure DHCP relay for networks with IP addresses assigned by the VirtualControllerwere added. |
ArubaInstant8.3.0.0 |
Command introduced. |
Command Information
Platforms |
Command Mode |
All platforms |
Configuration mode and IP DHCP configuration sub-mode. |