mac
Commands for DHCP
308
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
26.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
26.1.24 netbios-node-type
Command: netbios-node-type {b-node | h-node | m-node | p-node |
<type-number>}
no netbios-node-type
Function: Sets the node type for the specified port; the “no netbios-node-type”
command cancels the setting.
Parameters: b-node stands for broadcasting node, h-node for hybrid node that
broadcasts after point-to-point communication; m-node for hybrid node to communicate
in point-to-point after broadcast; p-node for point-to-point node; <type-number> is the










