
CONFIGURATION COMMANDS
Configuration Commands Reference
2.10
•
19.01.2007
57
4.4.5.7 IP gateway: SPIPGW / GPIPGW
Syntax
Command
SPIPGW <a.b.c.d>
Response
none
Description
defines static IP gateway address
<a.b.c.d>
static IP gateway address
Arguments(s)
format: value
default: 0.0.0.0
Example
Host:
SPIPGW 192.168.0.1
Module:
OK
Application
PT
Notes
The gateway address will not be used if DHCP is active, see SPDHCP.
Syntax
Command
GPIPGW
Response
IP gateway address
Description
Returns IP gateway address
Return value(s) <a.b.c.d>
see SPIPGW
Example
Host:
GPIPGW
Module:
192.168.0.1
OK
Application
PT
Notes
4.4.5.8 Active IP gateway: GSIPGW
Syntax
Command
GSIPGW
Response
active IP gateway address
Description
Returns active IP gateway address
Return value(s) <a.b.c.d>
see SPIPGW
Example
Host:
GSIPGW
Module:
192.168.0.1
OK
Application
PT
Notes
Depending on the DHCP configuration either the locally entered netmask or
the netmask derived from a DHCP server.