MES1000, MES2000 Ethernet Switches
193
Commands of the Configuration Mode for Static Addresses of DHCP Server
Command line request in the configuration mode for DHCP server static addresses appears as
follows:
console#
configure
console(config)#
ip dhcp pool host
name
console(config-dhcp)#
Table 5.234 Commands of the configuration mode
Command
Value
Action
address
ip_address
{
mask
|
prefix-length
}
{client-identifier
id
|
hardware-address
mac_address
}
-
Manual IP address reservation for a DHCP client.
-
ip_address—
the IP address which will be assigned to the
client's physical address;
-
mask/prefix-length—
subnet mask / prefix length;
-
id
—NIC physical address (identifier);
- mac_address
—МАС address.
no address
Removes reserved IP address.
client-name
name
(1–32) characters
Defines the name of the DHCP client.
no client-name
Removes the name of the DHCP client.
Commands of the Configuration Mode for DHCP Server Pool
Command line request in the configuration mode for DHCP server pool appears as follows:
console#
configure
console(config)#
ip dhcp pool network
name
console(config-dhcp)#
Table 5.235 Commands of the configuration mode
Command
Value
Action
address {
network-number
|
low
low-address
high
high-address
}
{
mask
|
prefix-length
}
-
Sets the subnet number and mask for address poll of DHCP
server.
- network-number
— IP address of the subnet number;
-
low-address
—the first IP address of the range;
-
high-address
—the last IP address of the range;
-
mask/prefix-length—
subnet mask / prefix length.
no address
Removes configuration of DHCP address pool.
lease {
days
[{
hours
}
[
minutes
]] | infinite}
-/1 day
Lease period for the IP address which is assigned by DHCP.
-
infinite
—the lease period is not limited;
-
days
—the number of days;
-
hours
—the number of hours;
-
minutes
— the number of minutes.
no lease
Sets the default value.
ping enable
-/disabled
Enables ICMP requests prior to address assignment to a DHCP
client to ensure that the IP address is not already in use.
no ping enable
Sets the default value.
Commands of the Configuration Mode for DHCP Server Pool and Static Addresses of DHCP
Server
Command line request appears as follows:
console(config-dhcp)#
Table 5.236 Commands of the configuration mode
Command
Value
Action
default-router
ip_address_list
The list of routers is not
defined by default.
Defines the default list of routers for a DHCP client.
-
ip_address_list
: list of TFTP server IP addresses; may
contain up to 8 space-delimited entries.