23 netbios-name-server, 23 netbios-name-server -60 – PLANET WGSW-52040 User Manual

Page 449

Advertising
background image

28-60

max-lease-time {[<days>] [<hours>] [<minutes>] | infinite}

no max-lease-time

Function:

Set the maximum lease time for the addresses in the address pool; the no command restores the default setting.

Parameters:

<days> is number of days from 0 to 365; <hours> is number of hours from 0 to 23; <minutes> is number of minutes

from 0 to 59; infinite means perpetual use.

Default:

The default lease time is 1 day.

Command Mode:

DHCP Address Pool Mode

Usage Guide:

This command is used to DHCP request packets with option51. If the lease time (user requests the address)

exceeds the maximum lease time configured, the lease that DHCP server assigns the address is the maximum lease

time configured. If the lease time requested by the user is less than the maximum lease time configured, the lease

that DHCP server assigns the address is the lease time requested by the user. The maximum lease time is able to be

set by the administrator according to the actual network condition, and the maximum lease time is 1 day by default.

Example:

Set the maximum lease time of DHCP address pool1 to 3 days 12 hours and 30 minutes.

Switch(dhcp-1-config)#max-lease-time 3 12 30

28.1.23 netbios-name-server

Command:

netbios-name-server <address1>[<address2>[…<address8>]]

no netbios-name-server

Function:

Configures WINS servers’ address; the “no netbios-name-server” command deletes the WINS server.

Parameters:

<address1>…<address8> are IP addresses, in decimal format.

Advertising