![D-Link DGS-3700 Series Скачать руководство пользователя страница 501](http://html.mh-extra.com/html/d-link/dgs-3700-series/dgs-3700-series_reference-manual_76575501.webp)
DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 501
config dhcp pool network_addr
Purpose
Used to configure the current DHCP Server pool information.
Syntax
config dhcp pool network_addr <pool_name 12> <network_address>
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 IP interface that received the
request packet against the network of each DHCP pool.
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-level users can issue this command.
Example usage:
To configure the address range of the DHCP address pool:
DGS-3700-12:5#config dhcp pool network_addr netpool 10.10.10.0/24
Command: config dhcp pool network_addr netpool 10.10.10.0/24
Success.
DGS-3700-12:5#
config dhcp pool domain_name
Purpose
Used to configure the current DHCP Server pool information.
Syntax
config dhcp pool domain_name <pool_name 12> {<domain_name 64>}
Description
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.
Parameters
<pool_name 12>
- Specify the DHCP pool name.
<domain_name 64>
- Specify the domain name of the client.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To configure the domain name option of the DHCP pool:
DGS-3700-12:5#config dhcp pool domain_name netpool name.com
Command: config dhcp pool domain_name netpool name.com
Success.
DGS-3700-12:5#
config dhcp pool dns_server
Purpose
Used to configure the current DHCP Server pool information.