Changing DHCP Service Settings

To see a list of available service settings:

$ sudo serveradmin settings dhcp

Also see “DHCP Service Settings” on this page and “DHCP Subnet Settings Array” on page 220.

To change a single DHCP setting:

$ sudo serveradmin settings dhcp:setting = value

Parameter

Description

setting

A DHCP service setting. See table below.

 

 

value

An appropriate value for the setting.

 

 

To change several DHCP settings at once:

$ sudo serveradmin settings

dhcp:setting = value

dhcp:setting = value

dhcp:setting = value

[...]

Control-D

DHCP Service Settings

Use the following parameters with the serveradmin tool to change settings for the DHCP service.

Parameter (dhcp:)

Description

logging_level

"LOW""MEDIUM""HIGH"

 

Default = "MEDIUM"

 

Corresponds to the Log Detail Level pop-up menu

 

in the Logging pane of DHCP service settings in

 

the Server Admin application.

 

 

subnet_status

Default = 0

 

 

subnet_defaults:logVerbosity

"LOW""MEDIUM""HIGH"

 

Default = "MEDIUM"

 

 

subnet_defaults:logVerbosityList:_ar

Available values for the logVerbosity setting.

ray_index:n

Default = "LOW," "MEDIUM," and "HIGH"

 

 

subnet_defaults:WINS_node_type

Default = "NOT_SET"

 

 

subnet_defaults:routers

Default = empty_dictionary

 

 

subnet_defaults:selected_port_key

Default = en0

 

 

subnet_defaults:selected_port_key_li

An array of available ports.

st:_array_index:n

 

 

 

subnet_defaults:dhcp_domain_name

Default = The last portion of the server’s host

 

name, for example, example.com.

 

 

Chapter 14 Working with Network Services

219

Page 219
Image 219
Apple Mac OS X Server manual Changing Dhcp Service Settings, To see a list of available service settings