Chapter 21 Appendix A: Operation Commands
129
Command: >set dhcp netmask
Syntax: set dhcp netmask mask
Explanation: Use this command to specify a default netmask
Parameters: mask Default netmask
Command: >set dhcp default_lease
Syntax: set dhcp default_lease value
Explanation: User this command to specify the default duration of a lease. If the user does not mention
a default lease in the subnet or host declaration, this value will be accepted.
Parameters: value duration of lease in seconds
Command: >set dhcp max_lease
Syntax: set dhcp max_lease value
Explanation: Use this command to specify the maximum duration of a lease (only applicable for dhcp
client). If dhcp client is asking for a lease for more than the max_lease, the server will only
give the lease for a period of max_lease. If a client does not mention anything, then the
default_lease will be assigned.
Parameters: value duration of lease in seconds
Command: >set dhcp next_server
Syntax: set dhcp next_name
Explanation: This is the next server in the dhcp client’s boot process which client should contact for a
boot file. This is typically a TFTP server name.
Parameters: name name of the next server in string format or IP address
Command: >set dhcp bootfile
Syntax: set dhcp bootfile filename
Explanation: The boot file is used to store the boot image for the client. The boot image is generally the
operating system the client uses for loading purposes.
Parameters: filename boot file name is ASCII form
Command: >set dhcp default_router
Syntax: set dhcp default_router ipaddr1 [ipaddr2] [ipaddr3] [ipaddr4]
Explanation: Use this command to specify routers in the lan that are available to the client. One IP
address is required although the user can specify up to four IP addresses.
Parameters: ipaddr1 The first router address
ipaddr2 The optional second router address
ipaddr3 The optional third router address
ipaddr4 The optional fourth router address
Command: >set dhcp bcast_address
Syntax: set dhcp bcast_address ipaddr
Explanation: Use this command to set the default broadcast address.
Parameters: ipaddr broadcast address in dotted decimal notation
Command: >set dhcp netbios_node
Syntax: set dhcp netbios_node value
Explanation:
Set netbios node type.
Screen Dump:
Parameters:
value possible values are B-node/M-node/H-node