Command Manual - Network Protocol
Quidway S3500 Series Ethernet Switches Chapter 6 DHCP Configuration Commands
Huawei Technologies Proprietary
6-22
6.2.20 expired
Syntax
expired { day day [ hour hour [ minute minute ] ] | unlimited }
undo expired
View
DHCP address pool view
Parameter
day day: Number of days in the range of 0 to 365.
hour hour: Number of hours in the range of 0 to 23.
minute minute: Number of minutes in the range of 0 to 59.
unlimited: Unlimited lease (actually the system-defined lease duration is 25 years).
Description
Using the expired command, you can specify the duration that addresses in the global
DHCP address pool can be leased. Using the undo expired command, you can
restore the default address lease duration used by the DHCP address pools.
By default, address lease duration is one day.
The lease duration can be extended up to the year 2106.
For the related commands, see dhcp server ip-pool and dhcp server expired.
Example
# IP addresses from DHCP address pool 0 can be leased for 1 day, 2 hours, and 3
minutes.
[Quidway] dhcp server ip-pool 0
[Quidway-dhcp-0] expired day 1 hour 2 minute 3
6.2.21 gateway-list
Syntax
gateway-list ip-address [ ip-address ]
undo gateway-list { ip-address | all }
View
DHCP address pool view