WAN

Description

Get the WAN port configuration. If the WAN Type is Dynamic, the networking address (IP, Netmask and Gateway) in the return message is not the runtime setting.

If the CHANNEL=n was set with this URL to the Multi-Channel device, the Router's WAN port configuration will be returned.

Input Argument

None

Attribute

Return of Message

WAN_TYPE='1'
WAN_IP='192.168.0.100'
WAN_NETMASK='255.255.255.0'
WAN_GATEWAY='192.168.0.254'
WAN_PPPOE_USERNAME=''
WAN_PPPOE_PASSWORD=''

Applicability

Status

Valid

See Also

WAN_STATUS, V2_WAN_STATUS, WAN_TYPE, WAN_IP, WAN_NETMASK, WAN_GATEWAY, WAN_PPPOE_USERNAME, WAN_PPPOE_PASSWORD

Example

http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&WAN
or
http://ip:port/cgi-bin/cmd/system?WAN

Back to

HOME, SYSTEM CGI