DHCP C
OMMANDS
4-171
lease
This command configures the duration that an IP address is assigned to a
DHCP client. Use the
no
form to restore the default value.
Syntax
lease
{
days
[
hours
][
minutes
] |
infinite
}
no lease
•
days
- Specifies the duration of the lease in numbers of days.
(Range: 0-364)
•
hours
- Specifies the number of hours in the lease. A
days
value must be
supplied before you can configure
hours
. (Range: 0-23)
•
minutes
- Specifies the number of minutes in the lease. A
days
and
hours
value must be supplied before you can configure
minutes
. (Range: 0-59)
•
infinite
- Specifies that the lease time is unlimited. This option is
normally used for addresses manually bound to a BOOTP client via
the
host
command.
Default Setting
One day
Command Modes
DHCP Pool Configuration
Example
The following example leases an address to clients using this pool for 7 days.
Console(config-dhcp)#lease 7
Console(config-dhcp)#
Содержание 8724ML3 - annexe 1
Страница 2: ......
Страница 26: ...TABLE OF CONTENTS xxvi ...
Страница 64: ...MANAGING SYSTEM FILES 2 18 ...
Страница 366: ...CONFIGURING THE SWITCH 3 302 Web Click Routing Protocol RIP Statistics Figure 3 132 RIP Statistics ...
Страница 400: ...CONFIGURING THE SWITCH 3 336 ...
Страница 798: ...SOFTWARE SPECIFICATIONS A 6 ...
Страница 802: ...TROUBLESHOOTING B 4 ...
Страница 812: ...GLOSSARY Glossary 10 ...
Страница 818: ...INDEX Index 6 ...
Страница 819: ......