3.6.2.10
ip_setadr
Format: ip_setadr DHCP IPAdr Netmask Gateway
Parameter:
DHCP = [0..1]
IPAdr = aaa.bbb.ccc.ddd
Netmask
=
aaa.bbb.ccc.ddd
Gateway
=
aaa.bbb.ccc.ddd
Sets the parameters of IP network interface.
Setting DHCP=1, you determine the unit to try to adress a DHCP server in your local network after boot/reset. If
there is a DHCP server, and it is responding, the unit will assign the network configuration (reported by DHCP
server) to it’s network interface. If communication with a DHCP server fails with timout, the network operation
mode is switched to static mode and parameters IPAdr, Netmask and Gateway are used for network configura-
tion.
If you have assigned a new IP Adress for the unit using your DHCP administration panel, you have to reboot the
unit to restart DHCP renegotiation.
Setting DHCP=0 you will disable DHCP and always use static IP parameters IPAdr, Netmask und Gateway for
network configuration. In doing so, bootup time of the unit can be faster because it does not try to communicate
with a DHCP server.
All command parameters must be entered in IPv4-dotted-format (decimal), i.e. 192.168.0.1. The unit is not sup-
porting name resolution (DNS = domain name services), so only dotted nomerical format is available.
For netmask, use standard form, like for class C subnets: 255.255.255.0.
Example: ip_setadr 1 192.168.0.100 255.255.255.0 192.168.0.1
Enabled DHCP and configures IP-adress 192.168.0.100 using a class-C subnet and IP 192.168.0.1 as gatways to
access external networks.
Remark: this example is exacly the factory setting of the unit’s network interface
All IP parameters are stored persistently. To make changes effective, unit has to be rebooted. Please use com-
mand reboot (siehe section 3.5.2.15).
3.6.2.11
Ping
Format: ping IPAdr
Parameter:
IPAdr = aaa.bbb.ccc.ddd
Send out Ping-messaged (ICMP-Messages ECHO) to IP-adress ‚IPAdr’ reports reply messages.
When there is no network connectivity (i.e. no cable, misconfigured setting, etc.) display text reads like this:
>ping 10.0.1.1
ZTP2.0.0(C) ZiLOG Inc. [ping utility]
PING#1
PING#2
PING#3
Ping Stats:
Sent:3
Recvd:0
Success:0%
No response from 10.0.1.1
When target IP adress is reachable, display will be:
[x8]>ping 10.0.1.2
ZTP2.0.0(C) ZiLOG Inc. [ping utility]
PING#1, Reply from 10.0.1.2 :rtt < 50 ms
PING#2, Reply from 10.0.1.2 :rtt < 50 ms
Summary of Contents for DXS-44
Page 7: ......