![Huawei Quidway S8500 Series Command Manual Download Page 215](http://html.mh-extra.com/html/huawei/quidway-s8500-series/quidway-s8500-series_command-manual_169479215.webp)
Command Manual – Network Protocol
Quidway S8500 Series Routing Switches
Chapter 4 DHCP Configuration Commands
Huawei Technologies Proprietary
4-7
System View: return to User View with Ctrl+Z.
[Quidway] interface vlan-interface 1
[Quidway-Vlan-interface1] dhcp server domain-name vlan-interface1.com
4.2.5 dhcp server expired
Syntax
In VLAN interface view:
dhcp server expired
{
day
day
[
hour
hour
[
minute
minute
] ] |
unlimited
}
undo dhcp server expired
In system view:
dhcp server expired
{
day
day
[
hour
hour
[
minute
minute
] ] |
unlimited
} {
interface
vlan-interface
vlan-id
[
to
vlan-interface
vlan-id
] |
all
}
undo dhcp server expired
{
interface
vlan-interface
vlan-id
[
to
vlan-interface
vlan-id
] |
all
}
View
VLAN interface view, system view
Parameter
day
day
: Sets the number of days. The
day
argument ranges from 0 to 365.
hour
hour
: Sets the number of hours. The
hour
argument ranges from 0 to 23.
minute
minute
: Sets the number of minutes. The
minute
argument ranges from 0 to 59.
unlimited
: Sets an unlimited lease time.
interface
vlan-interface
vlan-id
[
to
vlan-interface
vlan-id
]: Specifies one VLAN
interface, or a range of VLAN interfaces.
all
: Specifies all VLAN interfaces.
Description
Use the
dhcp server expired
command to set the IP address lease time for the DHCP
address pool of current VLAN interface, or for the DHCP address pool(s) of the
specified VLAN interface(s).
Use the
undo dhcp server expired
command to revert to the default IP address lease
time for the DHCP address pool of current VLAN interface, or for the DHCP address
pool(s) of the specified VLAN interface(s).
The default lease time is one day.
Related command:
expired
.