134

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.

 

 

List of DHCP serveradmin Commands

You can use the following command with the serveradmin application to manage DHCP service.

Command

(dhcp:command=)Description

getLogPaths

Determine the location of the DHCP service logs.

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>

Value

Description

<system-log>

The location of the DNS service log.

 

Default = /var/logs/system.log

Chapter 13 Working With Network Services

Page 134
Image 134
Apple oxs manual List of Dhcp serveradmin Commands, Viewing the Dhcp Service Log, To display the log path