Network (dhcp), Syntax description, Defaults – Cisco 32369 User Manual
Page 38: Command modes, Usage guidelines, Examples, Related commands
To configure the subnet number and mask for a Dynamic Host Configuration Protocol (DHCP)
address pool on a Cisco IOS DHCP Server, use the network DHCP pool configuration command.
Use the no form of this command to remove the subnet number and mask.
network network-number [mask |
DHCP pool configuration
This command first appeared in Cisco IOS Release 12.0(1)T.
This command is valid for DHCP subnetwork address pools only. If the mask or prefix length is not
specified, the class A, B, or C natural mask is used. The DHCP server assumes that all host addresses
are available. The system administrator can exclude subsets of the address space by using the ip
dhcp excluded-address command.
You can not configure manual bindings within the same pool that is configured with the network
The following example configures 172.16.0.0/16 as the DHCP pool’s subnetwork number and mask:
network 172.16.0.0 /16
ip dhcp excluded-address
ip dhcp pool
The IP address of the DHCP address pool.
(Optional) The bit combination that renders which portion of the
address of the DHCP address pool refers to the network or subnet and
which part refers to the host.
(Optional) Specifies the number of bits that comprise the address
prefix. The prefix is an alternative way of specifying the network mask
of the client. The prefix length must be preceded by a forward slash (/).