Command Protocol Reference Guide
A - 111
set eth_settings 1 "mode='dhcp'"
val eth_settings 1 "mode='dhcp',addr='172.22.2.129',dns='172.22.1.1
172.22.1.2',gw='172.22.2.254',nm='255.255.255.0'"
Static IP Example
set eth_settings 1
"mode='static',addr='172.22.2.200',dns='172.22.1.1',gw='172.22.2.254',nm='255.
255.255.0'"
val eth_settings 1
"mode='static',addr='172.22.2.200',dns='172.22.1.1',gw='172.22.2.254',nm='255.
255.255.0'"
Examples
eth_ip_mode Select Method For Obtaining IP Address
Command Response Description
set eth_settings 1
"mode='dhcp'"
val eth_settings 1
"mode='dhcp',addr='172.
22.2.129',dns='172.22.1.1
172.22.1.2',gw='172.22.2.
254',nm='255.255.255.0'"
Sets the ethernet settings on device 1 to dhcp and
returns the full ethernet settings.
set eth_settings 1
"mode='static',addr='192.
168.10.63',dns='192.168.
10.1',gw='192.168.10.254
',nm='255.255.255.0'"
val eth_settings 1
"mode='static',addr='192.
168.10.63',dns='192.168.
10.1',gw='192.168.10.254
',nm='255.255.255.0'"
Sets the ethernet settings on device 1 to the static IP
address of 192.168.10.63 and returns the full ethernet
settings. All parameters must be specified even if just
changing one parameter.
get eth_settings 1 val eth_settings 1
"mode='static',addr='192.
168.10.63',dns='192.168.
10.1',gw='192.168.10.254
',nm='255.255.255.0'"
Queries the ethernet settings on device 1.
Argument Argument value
Channel Type Device-Specific System
Value Type List
Read/Write Mode Read/Write
Values static : Static IP Address
dhcp : Dynamic IP Address via DHCP (default)