382 Appendix
WAGO-I/O-SYSTEM 750
750-8207 PFC200 CS 2ETH RS 3G
Manual
Draft version 1.2.1 from 2017-09-13, valid from FW Version 02.06.20(09)
Table 300: Description of the Configuration Scripts for “Networking - TCP/IP”
Parameters Status Call
Output/Input
Effecti
ve
Default Gateway 1
Default
Gateway
read
get_default_gateway_
config number=1 state
Current status of the default
gateway 1.
Possible return values:
-
enabled
-
disabled
Immedia
tely
write
config_default_gateway
number=1
state=<stateval>
Possible entries for <Value>:
-
enabled
-
disabled
Default
Gateway
read
get_default_gateway_
config number=1 value
Current IP address of the default
gateway 1
Immedia
tely
write
config_default_gateway
number=1 value=<gw>
Enter the IP address of the
default gateway 1 here.
<gw> is an IP address with the
format “Number. Number.
Number. Number.”
Default
Gateway
read
get_default_gateway_
config number=1 metric
Current metric (cost factor) of the
default gateway 1
The default value is “20.”
Immedia
tely
write
config_default_gateway
number=1 metric=<n>
Enter the metric of the default
gateway 1 here.
<n> is a number between “0” and
“4.294.967.295.”
Default Gateway 2
See “Default Gateway 1.” When calling the gateway number, replace 1 with 2.
DNS Server 1
DNS Server 1
read
get_dns_server 1
DNS server address with the
consecutive number 1
Immedia
tely
write/
change
edit_dns_server
dns-server-nr=1
change=change
dns-server-
name=<Value>
Set the address of the DNS
server with 1 as the consecutive
number.
<Value> is an IP address with the
format
“Number.Number.Number.Numbe
r.”
write/
delete
edit_dns_server
dns-server-nr=1
delete=delete
Delete the DNS server with the
consecutive number 1.
DNS Server 2 … n
See “DNS Server 1.” When calling, adjust the server number (2 … n).
Add DNS Server
Add DNS server write
edit_dns_server
add=add dns-server-
name=<Value>
Add additional DNS addresses
here.
<Value> is an IP address with the
format
“Number.Number.Number.Numbe
r.”
Immedia
tely