Apple oxs Server User Manual


 
13
129
13 Working With Network Services
Commands you can use to manage DHCP, DNS, Firewall,
NAT, and VPN service in Mac OS X Server.
DHCP Service
Starting and Stopping DHCP Service
To start DHCP service:
$ sudo serveradmin start dhcp
To stop DHCP service:
$ sudo serveradmin stop dhcp
Checking the Status of DHCP Service
To see summary status of DHCP service:
$ sudo serveradmin status dhcp
To see detailed status of DHCP service:
$ sudo serveradmin fullstatus dhcp
Viewing DHCP Service Settings
To list DHCP service configuration settings:
$ sudo serveradmin settings dhcp
To list a particular setting:
$ sudo serveradmin settings dhcp:setting
To list a group of settings:
You can list a group of settings that have part of their names in common by typing
only as much of the name as you want, stopping at a colon (:), and typing an asterisk
(*) as a wildcard for the remaining parts of the name. For example,
$ sudo serveradmin settings dhcp:subnets:*
LL2354.book Page 129 Monday, October 20, 2003 9:47 AM