C
OMMAND
L
INE
I
NTERFACE
4-170
lease
Use this command to configure 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.
host
Use this command to specify the IP address and network mask to
manually bind to a DHCP client. Use the
no
form to remove the IP
address for the client.
Console(config-dhcp)#lease 7
Console(config-dhcp)#
Summary of Contents for 8612XL3
Page 2: ......
Page 26: ...CONTENTS xxvi ...
Page 40: ...INTRODUCTION 1 14 ...
Page 69: ...BASIC CONFIGURATION 3 15 ...
Page 175: ...PORT CONFIGURATION 3 121 ...
Page 337: ...IP ROUTING 3 283 Web Click Routing Protocol RIP Statistics ...
Page 379: ...MULTICAST ROUTING 3 325 Command Usage ...
Page 396: ...CONFIGURING THE SWITCH 3 342 ...
Page 582: ...COMMAND LINE INTERFACE 4 186 ...
Page 806: ... 224 Command Mode Privileged Exec Example Console clear vrrp 1 interface 1 counters Console ...
Page 826: ... 6 ...
Page 828: ...TROUBLESHOOTING B 2 ...
Page 838: ...GLOSSARY Glossary 10 ...
Page 845: ......