DHCP Example
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
Command
set eth_settings 1
"mode='dhcp'"
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'"
get eth_settings 1
Polycom, Inc.
Response
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'"
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'"
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'"
Description
Sets the Ethernet settings on device 1 to dhcp and
returns the full Ethernet settings.
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.
Queries the Ethernet settings on device 1.
689