User Guide DDOC0099-000-AH
DTS1 CSfC 12 - 10 Command Line Interface
© 2020 Curtiss-Wright Defense Solutions Revision 5.0
12.3.5 dhcpconfig
Description
The dhcpconfig command allows the user to configure DHCP services on the DTS unit.
Syntax
dhcpconfig [-h | --help | --version]
dhcpconfig -A -s IP NM [-r val] [-n val] [-g val] [-d val] [-t val]
dhcpconfig -D -s IP NM
dhcpconfig -A -b NAME [-m val | -c val] [-t val] [-f val] [-n val] [-g val] [-d val]
dhcpconfig -D -b NAME
Options for subnet and BOOTP declarations
-h, --help............................Print help message.
--version............................Print program version.
-A, --add ..............................Add/Update subnet or bootp entry
-D, --delete........................Delete subnet or bootp entry
-n, --netmask <ip> .............Netmask to assign to subnet clients
-g, --gateway <ip> .............Gateway to assign to clients in subnet
-i, --domainserver <ip>...IP of Domain Name Server to assign to clients
-d, --domain <str> .............Domain Name to assign to clients
-o, --offset <str> .............Time offset from UTC in seconds
Options specific to subnet declarations
-s, --subnet <ip> <nm> ..... IP and netmask for DHCP Subnet entry (Required)
-r, --range <ip> <ip>..........Low to high range of IP addresses to provide
Options specific to BOOTP declarations
-b, --bootp <str>.................Name for bootp entry (Required)
-m, --mac <str>.....................Ethernet MAC to identify bootp client
-c, --clientid <str> ..........Alternative bootp client identifier value
-t, --tftpfile <str> ..........TFTP file for bootp client to download/boot
-f, --fixedip <ip> .............Fixed IP for bootp client
To start and stop the DHCP service, use command 'serv'.
Example: View configuration (enumerated)
Line Identifier
SUBNET.................................Reports a DHCP subnet declaration
HOST .....................................Reports a BOOTP client declaration
Fields (only fields defined for the entry are displayed)
cw_dts> dhcpconfig
[dhcpconfig]
SUBNET: subnet=<net> rn=<ip>-<ip> gw=<ip> dns=<ip> nm=<nm> dmn=<str> toff=<int>
status=<sts>
BOOTP: host=<str> mac=<mac> id=<str> tftp=<file> ip=<ip> nm=<nm> gw=<ip>
dmn=<str> dns=<ip> toff=<int> status=<sts>
[!dhcpconfig] <summary>