© Microhard 105
5.0 AT Command Line Interface
Network AT Commands (Continued)
AT Command Description Syntax Effect
AT+MNIPMAC Show/Add/Delete/Release/ReleaseAll the MAC-IP
address binding
AT+MNIPMAC[=<Operation>[,<Name>[,<IP Address>,<MAC Address>]]]
Usage:
AT+MNIPMAC
AT+MNIPMAC=SHOW,<Name>
AT+MNIPMAC=ADD,<Name>,<IP Address>,<MAC Address>
AT+MNIPMAC=DEL,<NAME>
AT+MNIPMAC=RELEASE,<NAME>
AT+MNIPMAC=RELEASEALL
Parameters:
Operation : SHOW - Show the details of the MAC-IP address binding
ADD - Add a new MAC-IP address binding
DEL - Delete an existing MAC-IP address binding
RELEASE - Release the active DHCP lease
RELEASEALL - Release all active DHCP leases
Name : Name of the MAC-IP binding, 1-64 characters
IP Address : Valid IP address
MAC Address: The physical MAC address of the device or interface
AT&W
AT+MNEMAC Get the MAC address of the local Ethernet inter-
face
AT+MNEMAC <enter>
Sample Output:
+MNEMAC: "00:0F:92:02:F9:0F"
OK
Immediate
AT+MNPORT Get/Set the Ethernet port configuration AT+MNPORT[=<Ethernet Port>[,<Mode>[,<Auto Negotiation>,<Speed>,<Duplex>]]]
Parameters:
Ethernet Port : 0 - WAN
1 - LAN
Mode : 0 - Auto
1 - Manual
Auto-Negotiation : 0 - Off
: 1 - On
Speed : 0 - 10 Mbit/s
1 - 100 Mbit/s
Duplex : 0 - Full
1 - Half
AT&W
AT+MNSTATUS Get the network status AT+MNSTATUS <enter>
Sample Output:
LAN Port Status
General Status
IP Address : 192.168.168.1
Connection Type : static
Subnet Mask : 255.255.255.0
MAC Address : 00:0F:92:02:F9:0F
Traffic Status
Receive bytes : 262.633KB
Receive packets : 3345
Transmit bytes : 168.370KB
Transmit packets : 2229
WAN Port Status
General Status
IP Address : N/A
Connection Type : dhcp
Subnet Mask : N/A
MAC Address : 00:0F:92:03:F9:0F
Traffic Status
Receive bytes : 0B
Receive packets : 0
Transmit bytes : 0B
Transmit packets : 0
Default Gateway : 192.168.168.1
DNS Server(s) : None
Kernel IP routing table
Destination Gateway Subnet Mask Flags Metric Ref Use Iface
0.0.0.0 192.168.168.1 0.0.0.0 UG 0 0 0 br-lan
192.168.168.0 0.0.0.0 255.255.255.0 U 0 0 0 br-lan
Immediate