lease [<0-365>|infinite]
lease infinite
lease <0-365> {0-23} {0-59} {0-59}
lease infinite
infinite |
The lease never expires (equal to a static IP address assignment) |
lease <0-365> {<0-23>} {<0-59>} {<0-59>}
<0-365> |
Configures the lease duration in days Note: Days may be 0 only when hours and/or minutes are greater than
0.
|
<0-23> |
Optional. Sets the lease duration in hours |
<0-59> |
Optional. Sets the lease duration in minutes |
<0-59> |
Optional. Sets the lease duration in seconds |
If lease parameter is not configured on the DHCP pool, the default is used. The default is 24 hours.
rfs4000-229D58(config-dhcp-policy-test-pool-testPool)#lease 100 23 59 59
rfs4000-229D58(config-dhcp-policy-test-pool-testPool)#show context dhcp-pool testPool network 192.168.13.0/24 address 192.168.13.4 class dhcpclass1 lease 100 23 59 59 ddns server 192.168.13.9 ddns domainname WID ddns multiple-user-class excluded-address range 192.168.13.25 192.168.13.28 domain-name documentation bootfile test.txt default-router 192.168.13.8 192.168.13.9 dns-server 192.168.13.19 rfs4000-229D58(config-dhcp-policy-test-pool-testPool)#
no |
Resets values or disables the DHCP pool lease settings |