User Guide
DDOC0099-000-AH
DTS1 CSfC
12 - 21
Command Line Interface
© 2020 Curtiss-Wright Defense Solutions
Revision 5.0
Enumerated types
<lnk> ......................................Link speed (10, 100, 1000, down)
<ipv4> ....................................IPv4 dotted-decimal address (Ex: 10.19.6.6), netmask (Ex:
255.255.255.0), gateway (Ex: 10.19.0.0), or 'NA' for "Not available"
<ipv6> ....................................IPv6 colon-hexadecimal address (Ex: fd01::1) or 'NA' for "Not
available"
<prot>....................................."dhcp" for DHCP assignment (ip, nm, gw fields absent) "static" for
static assignment (ip, nm, gw fields follow)
<sts> ......................................Status message (OK, ERR "<str>")
<str> .......................................Text string
<summary> ............................Command status summary (OK, ERR)
Example:
MAC display
Line Identifier
MAC_ETH_#..........................MAC address / current status for Ethernet device eth#.
Fields
mac=<mac>
............................Interface MAC address
link=<lnk>
..........................Link speed / link down indicator
status=<sts>
.....................Summary status for the given line.
Enumerated types
(See above examples in fields)
<mac> ....................................MAC address (Ex format: 00:11:22:33:44:55)
<summary> ............................Command status summary (OK, ERR)
Example:
Interface configuration
Set static IPv4 and netmask on interface eth1
Set static IPv6 on interface eth0
Set DHCP config / force reconfiguration on interface eth1
Configure (enable) boot configuration of eth1
Line Identifier
IP............................................Configuration status line
Fields
status=<sts>
.....................Summary status for the given line.
cw_dts>
ipconfig -M
[ipconfig]
MAC_ETH_0: mac=<mac> link=<lnk> status=<sts>
MAC_ETH_1: mac=<mac> link=<lnk> status=OK
[!ipconfig] <summary>
cw_dts>
ipconfig -e eth1 -i 192.168.1.5 -n 255.255.255.0
[ipconfig]
IP: status=<sts>
[!ipconfig] <summary>
cw_dts>
ipconfig -e eth0 -i6 fd01::1/64
[ipconfig]
IP: status=<sts>
[!ipconfig] <summary>
cw_dts>
ipconfig -e eth1 -D -F
[ipconfig]
IP: status=<sts>
[!ipconfig] <summary>
cw_dts>
ipconfig -e eth1 -O yes
[ipconfig]
IP: status=<sts>
[!ipconfig] <summary>