20 netbios-name-server – PLANET XGS3-24040 User Manual

Page 323

Advertising
background image


24-36

no lease

Function:

Sets the lease time for addresses in the address pool; the “no lease” 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 duration is 1 day.

Command Mode:

DHCP Address Pool Mode

Usage Guide:

DHCP is the protocol to assign network addresses dynamically instead of permanently, hence the

introduction of ease duration. Lease settings should be decided based on network conditions: too

long lease duration offsets the flexibility of DHCP, while too short duration results in increased

network traffic and overhead. The default lease duration of switch is 1 day.

Example:

Setting the lease of DHCP pool “1” to 3 days 12 hours and 30 minutes.

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

24.1.20 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.

Default:

No WINS server is configured by default.

Command Mode:

DHCP Address Pool Mode

Usage Guide:

This command is used to specify WINS server for the client, up to 8 WINS server addresses can be

configured. The WINS server address assigned first has the highest priority. Therefore, address 1

has the highest priority, and address 2 the second, and so on.

Example:

Setting the server address of DHCP pool “1” to 192.168.1.1.

Switch(dhcp-1-config)#netbios-name-server 192.168.1.1

Advertising