![Huawei Quidway S5600 Operation Manual Download Page 648](http://html.mh-extra.com/html/huawei/quidway-s5600/quidway-s5600_operation-manual_169841648.webp)
Operation Manual - DHCP
Quidway S5600 Series Ethernet Switches-Release 1510
Chapter 2 DHCP Server Configuration
Huawei Technologies Proprietary
2-18
Table 2-15
Configure to assign IP addresses dynamically
Operation
Command
Description
Enter system view
system-view
—
interface interface-type
interface-number
dhcp server expired
{
day
day
[
hour
hour
[
minute
minute
] ] |
unlimited
}
Configure
for the
current
interface
quit
Configure
the lease
time
Configure
multiple
interfaces
in system
view
dhcp server expired
{
day
day
[
hour
hour
[
minute
minute
] ] |
unlimited
}
{
interface
interface-type
interface-number
[
to
interface-type
interface-number
] |
all
}
Optional
The default lease time is
one day
Specify the IP
addresses that are not
dynamically assigned
dhcp server forbidden-ip
low-ip-address
[
high-ip-address
]
Optional
By default, all IP
addresses in a DHCP
address pool are available
for being dynamically
assigned.
Note:
z
The
dhcp server forbidden-ip
command can be executed repeatedly. That is, you
can repeatedly configure IP addresses that are not dynamically assigned to DHCP
clients.
z
Use the
dhcp server forbidden-ip
command to configure the IP addresses that
are not assigned dynamically in global address pools and interface address pools.
z
If an IP address that is not to be automatically assigned has been configured as a
statically-bound IP address, the DHCP server still assigns this IP address to the
client whose MAC address has been bound.