xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
355
23-6
config dhcp pool network_addr
Description
This command is used to specify the network for the DHCP pool. The addresses in the network
are free to be assigned to the DHCP client. The prefix length 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 (/). When the DHCP server receives
a request from the client, the server will automatically find a pool to allocate the address. If the
request is relayed to the server by the intermediate device, the server will match the gateway IP
address carried in the packet against the network of each DHCP pool. The pool which has the
longest match will be selected. If the request packet is not through relay, then the server will match
the IP address of the IPIF that received the request packet against the network of each DHCP pool.
Format
config dhcp pool network_addr <pool_name 12> <network_address>
Parameters
<pool_name 12>
- Specify the DHCP pool name.
<network_address>
- Specify the IP address that the DHCP server may assign to clients.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To configure the address range of the DHCP address pool:
DGS-3620-28SC:admin#config dhcp pool network_addr nyknicks 10.10.10.0/24
Command: config dhcp pool network_addr nyknicks 10.10.10.0/24
Success.
DGS-3620-28SC:admin#
23-7
config dhcp pool domain_name
Description
This command is used to specify the domain name for the client if the server allocates the address
for the client from this pool. The domain name configured here will be used as the default domain
name by the client. By default, the domain name is empty. If the domain name is empty, the
domain name information will not be provided to the client.
Format
config dhcp pool domain_name <pool_name 12> {<domain_name 64>}