H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – DHCP
H3C S7500 Series Ethernet Switches Chapter 1
DHCP Server Configuration Commands
1-24
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 that the lease time is unlimited. (But actually, the system limits the
maximum lease time to about 25 years.)
Description
Use the expired command to configure the lease time of the IP addresses in a global
DHCP address pool.
Use the undo expired command to restore the default lease time.
The default lease time is one day.
Related commands: dhcp server ip-pool, dhcp server expired.
Examples
# Set the lease time of the IP addresses in the global DHCP address pool 0 to 1 day, 2
hours and 3 minutes.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] dhcp server ip-pool 0
[H3C-dhcp-pool-0] expired day 1 hour 2 minute 3
1.1.24 gateway-list
Syntax
gateway-list ip-address&<1-8>
undo gateway-list { ip-address | all }
View
DHCP address pool view
Parameters
ip-address&<1-8>: IP address of a gateway. &<1-8> means you can provide up to eight
gateway IP addresses. When inputting more than one IP address, separate two
neighboring IP addresses with a space.
all: Specifies all configured gateway IP addresses.
Description
Use the gateway-list command to configure one or multiple gateway IP addresses for
the DHCP clients of a DHCP address pool.