H3C S3100 Series Command Manual page 559

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Examples
# Enter system view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
# Configure the domain name suffix mydomain.com in the DHCP global address pool 0 for the DHCP
client.
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] domain-name mydomain.com
expired
Syntax
expired { day day [ hour hour [ minute minute [ second second ] ] ] | unlimited }
undo expired
View
DHCP address pool view
Parameters
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.
second second: Specifies the number of seconds. The second 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 to be assigned dynamically
in the DHCP global 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
# Enter system view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
# Set the lease time of the IP addresses to be dynamically assigned in the DHCP global address pool 0
to 1 day, 2 hours and 3 minutes.
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] expired day 1 hour 2 minute 3
1-28

Advertisement

Table of Contents
loading

Table of Contents