Command Manual – Network Protocol
Quidway S8500 Series Routing Switches Chapter 4 DHCP Configuration Commands
Huawei Technologies Proprietary
4-24
Parameter
day day: Specifies the number of days. The day argument ranges from 0 to 365.
hour hour: Specifies the number of hours. The hour argument ranges from 0 to 23.
minute minute: Specifies the number of minutes. The minute argument ranges from 0
to 59.
unlimited: Specifies an unlimited lease time.
Description
Use the expired command to set the valid period for a global DHCP address pool.
Use the undo expired command to revert to the default valid period.
The default valid period is 1 day.
Related command: dhcp server ip-pool, dhcp server expired.
Example
# Set the IP address lease time of the global DHCP address pool 0 to one day plus two
hours and three minutes.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] dhcp server ip-pool 0
[Quidway-dhcp-0] expired day 1 hour 2 minute 3
4.2.22 gateway-list
Syntax
gateway-list ip-address [ ip-address ]
undo gateway-list { ip-address | all }
View
DHCP address pool view
Parameter
ip-address: IP address of an outbound gateway. You can specify up to eight IP
addresses (separated by spaces) in one command.
all: Specifies all outbound gateway IP addresses.
Description
Use the gateway-list command to configure one or more outbound gateway
addresses for DHCP clients.