20 netbios-name-server – PLANET XGS3-24040 User Manual
Page 323
24-36
no lease
Function:
Sets the lease time for addresses in the address pool; the “no lease” command restores the default
setting.
Parameters:
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
no netbios-name-server
Function:
Configures WINS servers’ address; the “no netbios-name-server” command deletes the WINS
server.
Parameters:
<address1>…
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