EasyManua.ls Logo

Microhard Systems pX2 - Page 102

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. 102
5.0 AT Command Line Interface
AT+MNLAN
Command Syntax (Effect: AT&W)
Show/Add/Edit/Delete the network interface.
AT+MNLAN
AT+MNLAN=<LAN Name>
AT+MNLAN=<LAN Name>,DEL
AT+MNLAN=<LAN Name>,ADD/EDIT,<Protocol>[,<IP>,<Netmask>[,<Gateway>,<DNS>[,<STP>]]]
Where <Protocol>=0
AT+MNLAN=<LAN Name>,ADD/EDIT,<Protocol>[,<STP>[,Route]]
Where <Protocol>=1
AT+MNLAN=<LAN Name>,EDIT,<Protocol>[,<IP>,<Netmask>[,<STP>[,Route]]]
Where <Protocol>=2 and <LAN Name>="lan"
Parameters:
LAN Name: Name of Network LAN interface
Operation: ADD - Add a new LAN interface
EDIT - Edit an exsiting LAN interface
DEL - Delete an existing LAN interface
Protocol: 0 - Static IP
1 - DHCP with LAN alias disabled
2 - DHCP with LAN alias enabled, for "lan"
IP Address: Valid IP address
Netmask: Valid netmask
Gateway: Valid IP address. 0 - Reset gateway
DNS: Valid IP address. 0 - Reset DNS
STP: 0 - Spanning Tree Off
1 - Spanning Tree On
Route: 0 - No
1 - Yes
Description
Example
Input:
AT+MNLAN?
Response:
1. lan: [static], [192.168.168.1/255.255.255.0], LAN DHCP [On], STP [off]
OK

Table of Contents