EasyManua.ls Logo

Microhard Systems pX2 - Page 105

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. 105
5.0 AT Command Line Interface
AT+MNWANLANDHCP
Command Syntax (Effect: AT&W)
Get/Set LAN DHCP when WAN set to Independent LAN
AT+MNWANLANDHCP=[<Mode>[,<Start IP>,<Limit>,<Lease Time>[,<Alt.Gateway>,<Pre.DN
S>,<Alt.DNS>]]]
Usage:
AT+MNWANLANDHCP
AT+MNWANLANDHCP=<Mode>
Where <Mode>=0
AT+MNWANLANDHCP=<Mode>,<Start IP>,<Limit>,<Lease Time>[,<Alt.Gateway>,<Pre.DNS>
,<Alt.DNS>] Where <Mode>=1
Parameters:
Mode : 0 - Disable DHCP Server
1 - Enable DHCP Server
Start IP : The starting address DHCP assignable IP Addresses
Limit : The maximum number of IP addresses. min=0 max=16777214
Lease Time : The DHCP lease time in minutes. min=0 max=214748364
Alt. Gateway : Alternate Gateway for DHCP assigned devices if the default gatew
ay is not to be used
Pre. DNS : Preferred DNS server address to be assigned to DHCP devices
Alt. DNS : Alternate DNS server address to be assigned to DHCP devices
Description
Example
Input:
AT+MNWANLANDHCP?
Response:
Mode : 1 - DHCP Server enabled
Start IP :
Limit :
Lease Time :
Alt. Gateway :
Pre. DNS :
Alt. DNS :
OK
AT+MNWANDNS
Command Syntax (Effect: AT&W)
Get/Set DNS Server when WAN set to independent
WAN.
AT+MNWANDNS=[<Mode>[,<Primary
DNS>,<Secondary DNS>]]
Parameters:
Mode : 0 - Auto
1 - Manual
Primary DNS : Valid IP Address
Secondary DNS : Valid IP address
Description

Table of Contents