dhcp-pool (dhcpv4-server-policy-config)

Creates a DHCP server address pool and enters its configuration mode.

The DHCP pool command creates and manages a pool of IP addresses. These IP addresses are assigned to devices using the DHCP protocol. IP addresses have to be unique for each device in the network. Since IP addresses are finite, DHCP ensures that every device, in the network, is issued a unique IP address by tracking the issue, release, and reissue of IP addresses.

The DHCP pool command configures a finite set of IP addresses that can be assigned whenever a device joins a network.

DHCP services are available for specific IP interfaces. A pool (or range) of IP network addresses and DHCP options can be created for each IP interface defined. This range of addresses is available to DHCP enabled wireless devices on either a permanent or leased basis. This enables the reuse of limited IP address resources for deployment in any network. DHCP options are provided to each DHCP client with a DHCP response and provides DHCP clients information required to access network resources (default gateway, domain name, DNS server and WINS server configuration). An option exists to identify the vendor and functionality of a DHCP client. The information is a variable-length string of characters (or octets) with a meaning specified by the vendor of the DHCP client.

Supported on the following devices:

Syntax

dhcp-pool <POOL-NAME>

Parameters

dhcp-pool <POOL-NAME>
<POOL-NAME> Creates a DHCP server address pool
  • <POOL-NAME> – Specify a name that appropriately identifies this DHCP address pool. If a pool with the specified name does not exist, it is created. The pool name cannot be modified as part of the edit process. However, an obsolete address pool can be deleted.

Examples

Use the dhcp-pool command to configure a DHCP user pool.

nx9500-6C8809(config-dhcp-policy-test)#dhcp-pool pool1
nx9500-6C8809(config-dhcp-policy-test-pool-pool1)#?
DHCP pool Mode commands:
  address              Configure network pool's included addresses
  bootfile             Boot file name
  ddns                 Dynamic DNS Configuration
  default-router       Default routers
  dns-server           DNS Servers
  domain-name          Configure domain-name
  excluded-address     Prevent DHCP Server from assigning certain addresses
  lease                Address lease time
  netbios-name-server  NetBIOS (WINS) name servers
  netbios-node-type    NetBIOS node type
  network              Network on which DHCP server will be deployed
  next-server          Next server in boot process
  no                   Negate a command or set its defaults
  option               Raw DHCP options
  respond-via-unicast  Send DHCP offer and DHCP Ack as unicast messages
  static-binding       Configure static address bindings
  static-route         Add static routes to be installed on dhcp clients
  update               Control the usage of DDNS service

  clrscr               Clears the display screen
  commit               Commit all changes made in this session
  do                   Run commands from Exec mode
  end                  End current mode and change to EXEC mode
  exit                 End current mode and down to previous mode
  help                 Description of the interactive help system
  revert               Revert changes
  service              Service Commands
  show                 Show running system information
  write                Write running configuration to memory or terminal

nx9500-6C8809(config-dhcp-policy-test-pool-pool1)#
The following table summarizes the DHCP user pool configuration commands:
Table 1. DHCP-User-Pool Config Mode Commands
address (dhcpv4-pool-config) Specifies a range of addresses for a DHCP address pool
bootfile (dhcpv4-pool-config) Assigns a bootfile name. The bootfile name can contain letters, numbers, dots and hyphens. Consecutive dots and hyphens are not permitted.
ddns (dhcpv4-pool-config) Configures dynamic DNS parameters
default-router (dhcpv4-pool-config) Configures a default router or gateway IP address for the network pool
dns-server (dhcpv4-pool-config) Sets a DNS server‘s IP address available to all DHCP clients connected to the DHCP pool
domain-name (dhcpv4-pool-config) Sets the domain name for the network pool
excluded-address (dhcpv4-pool-config) Prevents a DHCP server from assigning certain addresses to the DHCP pool
lease (dhcpv4-pool-config) Sets a valid lease for the IP address used by DHCP clients in the DHCP pool
netbios-name-server (dhcpv4-pool-config) Configures a NetBIOS (WINS) name server‘s IP address
netbios-node-type (dhcpv4-pool-config) Defines the NetBIOS node type
network (dhcpv4-pool-config) Configures the network on which the DHCP server is deployed
next-server (dhcpv4-pool-config) Configures the next server in the boot process
option (dhcpv4-pool-config) Configures RAW DHCP options
respond-via-unicast (dhcpv4-pool-config) Sends a DHCP offer and DHCP Ack as unicast messages
static-route (dhcpv4-pool-config) Configures a static route for a DHCP pool
update (dhcpv4-pool-config) Controls the usage of the DDNS service
static-binding (dhcpv4-pool-config) Configures static address bindings
no (dhcpv4-pool-static-binding) Removes this DHCP pool settings or reverts them to default values