EasyManuals Logo

H3C S3100 Series Command Manual

H3C S3100 Series
1244 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #541 background imageLoading...
Page #541 background image
1-10
dhcp server expired { day day [ hour hour [ minute minute [ second second ] ] ] | unlimited }
undo dhcp server expired
In system view, use the following commands to configure the lease time of the IP addresses in multiple
DHCP interface address pools.
dhcp server expired { day day [ hour hour [ minute minute [ second second ] ] ] | unlimited }
{ interface interface-type interface-number [ to interface-type interface-number ] | all }
undo dhcp server expired { interface interface-type interface-number [ to interface-type
interface-number ] | all }
View
System view, VLAN interface 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 l ease time is unlimited. (But actually, the system limits the maximum lease
time to about 25 years.)
interface interface-type interface-number [ to interface-type interface-number ]: Specifies the
interface(s), through which you can specify the corresponding interface address pool(s). The
interface-type argument specifies an interface type; the interface-number argument specifies an
interface number; the interface interface-type interface-number [ to interface-type interface-number ]
keyword and argument combination specifies an interface range.
all: Specifies all interface address pools.
Description
Use the dhcp server expired command to configure the lease time of the IP addresses dynamically
obtained in the specified DHCP interface address pool(s).
Use the undo dhcp server expired command to restore the default lease time.
The default lease time is one day.
Related commands: 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 dynamically obtained in all DHCP interface address pools to be
1 day, 2 hours and 3 minutes.
[Sysname] dhcp server expired day 1 hour 2 minute 3 all
# Set the lease time of the IP addresses dynamically obtained from DHCP interface address pools on
VLAN-interface 2 through VLAN-interface 5 to be 2 days.
[Sysname-Vlan-interface1] quit

Table of Contents

Other manuals for H3C S3100 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the H3C S3100 Series and is the answer not in the manual?

H3C S3100 Series Specifications

General IconGeneral
BrandH3C
ModelS3100 Series
CategorySwitch
LanguageEnglish

Related product manuals