SMC Networks SMC6724L3 Lease days hoursminutes infinite no lease, One day, Command Modes

Models: SMC6724L3

1 618
Download 618 pages 36.53 Kb
Page 398
Image 398

COMMAND LINE INTERFACE

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.

Console(config-dhcp)#lease 7

Console(config-dhcp)#

4-112

Page 398
Image 398
SMC Networks SMC6724L3 manual Lease days hoursminutes infinite no lease, One day, Command Modes