
30-33
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
30.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.
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