DHCP Command-Line Utilities
All DHCP management functions can be performed by using command-line
utilities. You can run the utilities if you are logged in as superuser or
as a user assigned to the DHCP Management profile. See Setting Up User Access to DHCP Commands.
The following table lists the utilities and describes the purpose of
each utility.
Table 11–2 DHCP Command-Line Utilities
Command
|
Description and Purpose
|
Man Page Links
|
in.dhcpd
|
The DHCP service daemon. Command-line arguments enable you to
set several runtime options.
|
in.dhcpd(1M)
|
dhcpconfig
|
Used to configure and unconfigure a DHCP server. This utility
enables you to perform many of the functions of DHCP Manager from the command
line. This utility is primarily intended for use in scripts for sites that
want to automate some configuration functions. dhcpconfig collects
information from the server system's network topology files to create useful
information for the initial configuration.
|
dhcpconfig(1M)
|
dhtadm
|
Used to add, delete, and modify configuration options and macros
for DHCP clients. This utility lets you edit the dhcptab table
indirectly, which ensures the correct format of the dhcptab table.
You should not directly edit the dhcptab table.
|
dhtadm(1M)
|
pntadm
|
Used to manage the DHCP network tables. You can use this utility
to perform the following tasks:
-
Add and remove IP addresses and networks under DHCP management.
-
Modify the network configuration for specified IP addresses.
-
Display information about IP addresses and networks under
DHCP management.
|
pntadm(1M)
|