
IP Configuration Command Set
Configuring Dynamic Host Configuration Protocol (DHCP)
Matrix NSA Series Configuration Guide
12-129
12.2.9.15 lease
Use this command to specify the duration of the lease for an IP address assigned by a DHCP server
to a client.
lease
{
days
[
hours
] [
minutes
] |
infinite
}
Syntax Description
Command Syntax of the “no” Form
The “no” form of this command resets the lease duration to the default value of 1
day (24 hours):
no lease
Command Type
Router command.
Command Mode
Any DHCP configuration mode.
Command Defaults
If
hours
or
minutes
are
not specified, no values will be configured.
Example
This example shows how to set a one-hour lease to the “localpool” address pool:
days
Specifies the number of days an address lease will remain
valid.
hours
(Optional) When a
days
value has been assigned, specifies
the number of hour an address lease will remain valid.
minutes
(Optional) When a
days
value has been assigned, specifies
the number of minutes an address lease will remain valid.
infinite
Specifies that the duration of the lease will be unlimited.
Matrix>Router1(config)#
ip dhcp pool localpool
Matrix>Router1(config-dhcp-pool)#
lease 0 1
Содержание Matrix N Standalone Series
Страница 2: ......
Страница 14: ...Figures xii Matrix NSA Series Configuration Guide ...
Страница 18: ...Tables xvi Matrix NSA Series Configuration Guide ...
Страница 742: ...IGMP Configuration Command Set Configuring IGMP 10 30 Matrix NSA Series Configuration Guide ...
Страница 912: ...Logging And Network Management Command Set Configuring NetFlow 11 170 Matrix NSA Series Configuration Guide ...
Страница 1052: ...IP Configuration Command Set Configuring Dynamic Host Configuration Protocol DHCP 12 140 Matrix NSA Series Configuration Guide ...
Страница 1160: ...Routing Protocol Configuration Command Set Configuring VRRP 13 108 Matrix NSA Series Configuration Guide ...