lease-max

Use the lease-max command to set the maximum time limit, in seconds, that an IP address would be assigned by the DHCP server to a wireless device. The lease-max command is available from the topology:<named-topology>:l3:dhcp context of the CLI for b@ac, physical, and routed topologies. This command is visible only when mode is set to local. See mode.

After you run the lease-max command, run the apply command to implement the changes.

lease-max int

Parameters

int Specifies the time limit in seconds.

Example

The following example sets the maximum time to keep a DHCP-ed IP address to 2592000 seconds:

EWC.extremenetworks.com:topology:routed2:l3:dhcp# mode local
EWC.extremenetworks.com:topology:routed2:l3:dhcp# lease-max 2592000
EWC.extremenetworks.com:topology:routed2:l3:dhcp# apply