User Guide
DDOC0108-000-A2
CNS4 CSfC
11 - 24
Command Line Interface
Revision 0.0
<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 2.
MAC display
Line Identifier
MAC_ETH_#....................... MAC address / current status for Ethernet device eth#.
Fields
mac=<mac> ........................ Interface MAC address
ip=<ipnm> .......................... IPv4 dotted-decimal address and netmask length
link=<lnk>............................ Link speed / link down indicator
status=<sts>........................ Summary status for the given line.
Enumerated types (See also above examples):
<mac> ................................. MAC address (Ex format: 00:11:22:33:44:55)
<ipnm> ................................ IP/netmask length (Ex: 10.19.6.6/20) or "NA" for "Not available"
<summary> ......................... Command status summary (OK, ERR)
Example 3.
Set static IP and netmask on interface eth1
Example 4.
Set DHCP config / force reconfiguration on interface eth1
Example 5.
Configure (enable) boot configuration of eth1
Line Identifier
IP......................................... Configuration status line
Fields
status=<sts>........................ Summary status for the given line.
cns>
ipconfig -M
[ipconfig]
MAC_ETH_0: mac=<mac> ip=<ipnm> link=<lnk> status=<sts>
MAC_ETH_1: mac=<mac> ip=<ipnm> link=<lnk> status=OK
[!ipconfig] <summary>
cns>
ipconfig -e eth1 -i 192.168.1.5 -n 255.255.255.0
[ipconfig]
IP: status=<sts>
[!ipconfig] <summary>
cns>
ipconfig -e eth1 -D -F
[ipconfig]
IP: status=<sts>
[!ipconfig] <summary>
cns>
ipconfig -e eth1 -O yes
[ipconfig]
IP: status=<sts>
[!ipconfig] <summary>