Displays individual WAN configuration information.
Syntax |
D_WAN [-E | -D | -I | -N | -G] |
---|---|
-E |
Returns the status of the WAN: •"WAN: Disabled" = WAN not enabled •"WAN: Enabled" = WAN enabled |
-D |
Returns the DHCP status of the WAN: •"WAN: DHCP Disabled" = DHCP not enabled •"WAN: DHCP Enabled" = DHCP enabled |
-I |
Returns the IP address of the WAN: •"WAN: IP" = address not configured or not yet configured by DHCP •"WAN: IP xxx.xxx.xxx.xxx" = configured address •"Not found" = parameter not found, Netcontrol version < 1.3.0 |
-N |
Returns the netmask of the WAN: •"WAN: NETMASK" = netmask not configured or not yet configured by DHCP •"WAN: NETMASK xxx.xxx.xxx.xxx" = netmask configured •"Not found" = parameter not found, Netcontrol version < 1.3.0 |
-G |
Returns the gateway of the WAN: •"WAN: GATEWAY" = gateway not configured or not yet configured by DHCP •"WAN: GATEWAY xxx.xxx.xxx.xxx" = configured gateway •"Not found" = parameter not found, Netcontrol version < 1.3.0 |
Notes |
In case no option is specified, "Missing argument(s)" is returned. In case of no netcontrol board, the response will be "Illegal Device". In case of error in reading information, the response will be "Device Error". In case of timeout in the execution of the read information command, the response will be "Device Busy" |