Directive to display data for the WAN:
Syntax |
WAN |
---|---|
Notes |
|
Directive to set the data for the WAN:
Syntax |
WAN [-E e] [-D d] [-I "iii.iii.iii"] [-N "nnn.nnn.nnn"] [-G "ggg.ggg.ggg"] |
---|---|
e |
•0 = disable WAN •1 = enable WAN |
d |
•0 = disable DHCP •1 = enable DHCP |
iii.iii.iii.iii |
IP address (IPV4) |
nnn.nnn.nnn.nnn |
Netmask (IPV4) |
ggg.ggg.ggg.ggg |
Gateway Address (IPV4) |
Notes |
If the assumption of the new parameters is correct then the NETWORK.CFG file is also updated. The previous file is renamed as NETWORK.BAK. NOTE: The execution of this command takes about 10 seconds. |
Example
From shell, I enable WAN without DHCP, Address 10.0.36.110, Subnet mask 255.0.0.0, gateway 0.0.0.0, and then read back the current configuration. |