User Manual

Table Of Contents
Document Name: Common Commands and Attributes v1.3.0 Revision: 1.2
where <Interface> is the network interface to read configuration for.
Reply:
<Method> <IP Address> <Net mask> <Broadcast>
where
<Method> is DYNAMIC for interfaces using DHCP, and STATIC for interfaces using
static IP-address assignment.
<IP Address> is the IP address of the interface (0.0.0.0 if not configured or not
received by DHCP) on the format X.Y.Z.W, where 0<X<255, 0<=Y<=255,
0<=Z<=255, 0<W<255.
<Net mask> is the net mask for the interface on the format X.Y.Z.W
0<X<255, 0<Y<255, 0<Z<255, 0<W<255.
<Broadcast> is the broadcast address for the interface on the format X.Y.Z.W
0<X<255, 0<Y<255, 0<Z<255, 0<W<255.
Format on setting dynamic IP:
SET NIC <Interface> DYNAMIC
causing <Interface> to automatically attempt to retrieve an IP address from the
DHCP server.
Format on setting static IP:
SET NIC <Interface> STATIC <IP Address> <Net mask> <Broadcast>
configuring <Interface> to use the static IP address
where
<IP Address> is the on the format X.Y.Z.W, where 0<X<255, 0<=Y<=255,
0<=Z<=255, 0<W<255.
<Net mask> is the net mask on the format X.Y.Z.W
0<X<255, 0<Y<255, 0<Z<255, 0<W<255.
<Broadcast> is the broadcast address for the interface on the format X.Y.Z.W
0<X<255, 0<Y<255, 0<Z<255, 0<W<255.
Example on configuring dynamic IP address:
SET NIC ETH0 DYNAMIC
will cause ethernet interface to attempt to retrieve address from the DHCP server
immediately. Refer to attribute DAS for details on when IP address is received.
Example on configuring static IP address:
SET NIC ETH0 STATIC 192.168.1.52 255.255.255.0 255.255.255.255
configures ethernet interface for static IP address 192.168.1.52 and associated net
mask and broadcast address.
Note 1! Loop back interface cannot be configured using the NIC attribute.
Note 2! For each change in NIC parameters, corresponding interface will, if
enabled, be shut down and then started again so that all parameters are initialized
correctly.
Note 3! When configuring DYNAMIC IP addressing, parameter DAS determines if an
address has been received from the DHCP server.
Note 4! If this controller should access addresses outside this subnet, default
gateway must be configured using the GWY attribute.
Note 5! Addresses for GPRS may not be altered using this attribute. Please refer to
attribute GPR for altering GPRS settings.
Common Commands and Attributes 103/123