Apple oxs Server User Manual


 
134 Chapter 13 Working With Network Services
List of DHCP serveradmin Commands
You can use the following command with the serveradmin application to manage
DHCP service.
Viewing the DHCP Service Log
You can use tail or any other file listing tool to view the contents of the DHCP service
log.
To view the latest entries in a log:
$ tail log-file
You can use the serveradmin getLogPaths command to see where the current DHCP
log is located.
To display the log path:
$ sudo serveradmin command dhcp:command = getLogPaths
Output
dhcp:systemLog = <system-log>
Parameter Description
subnetID
A unique number that identifies the subnet. Can be any number
not already assigned to another subnet defined on the server. Can
include embedded hyphens (-).
dns-server-
n To specify additional DNS servers, add additional
dhcp_name_server settings, incrementing
_array_index:
n
for each additional value.
Other parameters The standard subnet settings described under “DHCP Subnet
Settings Array” on page 131.
Command
(dhcp:command=)
Description
getLogPaths Determine the location of the DHCP service logs.
Value Description
<system-log> The location of the DNS service log.
Default = /var/logs/system.log
LL2354.book Page 134 Monday, October 20, 2003 9:47 AM