![Curtiss-Wright CNS4 CSfC Скачать руководство пользователя страница 107](http://html.mh-extra.com/html/curtiss-wright/cns4-csfc/cns4-csfc_user-manual_2700348107.webp)
User Guide
DDOC0108-000-A2
CNS4 CSfC
11 - 11
Command Line Interface
Revision 0.0
ip=<ip> ................................ Reports IP address to assigned 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 1.
View configuration (sample command output)
Example 2.
Add subnet configuration
Example 3.
Delete subnet configuration
Example 4.
Add BOOTP client
Example 5.
Delete BOOTP client
cns>
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="/fsm_shares/fsm_nas0/bootfile"
status=OK
[!dhcpconfig] OK
cns>
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=OK
[!dhcpconfig] OK
cns>
dhcpconfig -D -s 192.168.3.0 255.255.255.0
[dhcpconfig]
SUBNET: status=<sts>
[!dhcpconfig] OK
cns>
dhcpconfig -A -b mypc -m 20:50:A4:FC:6B:B5 -f 192.168.3.55 -t /fsm_shares/
fsm_nas0/bootfile
[dhcpconfig]
BOOTP: status=<sts>
[!dhcpconfig] <summary>
cns>
dhcpconfig -D -b mypc
[dhcpconfig]
BOOTP: status=<sts>
[!dhcpconfig] <summary>