User Guide DDOC0099-000-AH
DTS1 CSfC 12 - 11 Command Line Interface
© 2020 Curtiss-Wright Defense Solutions Revision 5.0
subnet=<net> .....................Reports subnet on which to assign addresses
rn=<ip>-<ip> .....................Reports range of addresses to assign to clients
gw=<ip> ................................Reports gateway address passed to clients
dns=<ip>..............................Reports DNS server address passed to clients
nm=<nm> ................................Reports netmask passed to clients
dmn=<str>............................Reports domain name passed to clients
toff=<int>..........................Reports time offset passed to clients
host=<str>..........................Reports name of BOOTP entry / hostname of client
mac=<mac>............................Reports MAC address of BOOTP client
id=<str>..............................Reports client ID of BOOTP client
tftp=<file> .......................Reports BOOTP file name
ip=<ip> ................................Reports IP address to assign to client
status=<sts> ...................Summary status for the given line.
Enumerated types:
<net> ......................................IPv4 dotted-decimal subnet address (Ex: 192.168.1.0)
<ip> ........................................IPv4 dotted-decimal address (Ex: 192.168.1.1)
<nm> ......................................IPv4 dotted-decimal netmask (Ex: 255.255.255.0)
<int> .......................................An integer value (Ex: -28800, 7200)
<mac> ....................................MAC address (Ex: 00:11:22:33:44:55)
<file> ......................................File name for BOOTP client (Ex: "/rmc0/bootimage")
<str> .......................................Text string
<sts> ......................................Status message (OK, ERR "<str>")
<summary> ............................Command status summary (OK, ERR)
Example: View configuration (sample command output)
Example: Add subnet configuration
Example: Delete subnet configuration
Example: Add BOOTP client
Example: Delete BOOTP client
cw_dts> dhcpconfig
[dhcpconfig]
SUBNET: subnet=192.168.1.0 rn=192.168.1.1-192.168.1.10 gw=192.168.1.1
dns=192.168.1.1 nm=255.255.255.0 dmn="CWNAS" toff=-8 status=OK
BOOTP: host=target mac=00:1b:ac:70:10:42 tftp="/rmc0/bootfile" status=OK
[!dhcpconfig] OK
cw_dts> dhcpconfig -A -s 192.168.3.0 255.255.255.0 -g 192.168.3.5 -r 192.168.3.10
192.168.3.20 -i 192.168.3.10 -o -8
[dhcpconfig]
SUBNET: status=<sts>
[!dhcpconfig] <summary>
cw_dts> dhcpconfig -D -s 192.168.3.0 255.255.255.0
[dhcpconfig]
SUBNET: status=<sts>
[!dhcpconfig] <summary>
cw_dts> dhcpconfig -A -b mypc -m 20:50:A4:FC:6B:B5 -f 192.168.3.55 -t /rmc0/bootfile
[dhcpconfig]
BOOTP: status=<sts>
[!dhcpconfig] <summary>
cw_dts> dhcpconfig -D -b mypc
[dhcpconfig]
BOOTP: status=<sts>
[!dhcpconfig] <summary>