EasyManua.ls Logo

Microhard Systems pX2 - Page 104

Microhard Systems pX2
141 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
© Microhard Systems Inc. 104
5.0 AT Command Line Interface
AT+MNWAN
Command Syntax (Effect: AT&W)
Show/Add/Edit/Delete the WAN interface.
AT+MNWAN=<Mode>[,<Protocol>[,<Route>][,<IP>,<Netmask>[,<Gateway>]]]
Usage:
AT+MNWAN
AT+MNWAN=<Mode>,<Protocol>,<Route>,<IP>,<Netmask>[,<Gateway>]
Where <Mode>=0 and <Protocol>=0
AT+MNWAN=<Mode>,<Protocol>,<Route>
Where <Mode>=0 and <Protocol>=1
AT+MNWAN=<Mode>
Where <Mode>=1
AT+MNWAN=<Mode>,<Protocol>,<IP>,<Netmask>[,<Gateway>]
Where <Mode>=2 and <Protocol>=0
AT+MNWAN=<Mode>,<Protocol>
Where <Mode>=2 and <Protocol>=1
Parameters:
Mode: 0 - Independent WAN
1 - Bridge with LAN Port
2 - Independent LAN
Protocol: 0 - Static IP
1 - DHCP
IP: Valid IP address
Netmask: Valid netmask
Gateway: Valid IP address. 0 - Reset
Route: Default Route
0 - No
1 - Yes
Description
Example
Input:
AT+MNWAN?
Response:
Working Mode : Independent WAN
WAN Configuration
Connection Type : Static IP
IP Address : 10.10.10.254
Netmask : 10.10.10.10.1
Default Gateway: 255.255.255.252
DefaultRoute : No
DNS Server
Mode : manual
Primary DNS :
Secondary DNS :
OK

Table of Contents