Multi-Tech Systems iCell GPRS (MTSMC-G2-IP Manual Do Utilizador

Página de 119
Part 2 – AT Commands for the SocketEthernet IP  
Chapter 8 – General AT Commands for SocketEthernet IP 
Universal IP AT Commands Reference Guide (Document S000457K) 
51 
 
#IPNETMASK – Set Subnet Mask  
Description: 
  Sets the subnet mask. 
 
Note:
 The module must be reset to put the command into effect. 
Syntax:
    
AT#IPNETMASK="<Subnet Mask value>" 
 
AT#IPNETMASK? Read or display the current setting. 
Responses: 
AT#IPNETMASK = 255.255.255.0 returns and OK 
 
AT#NETMASK? returns 255.255.255.0 (Manually Configured) and OK 
Values:
 
IP Address in dotted decimal notation (xxx.xxx.xxx.xxxx). "x" = a number between 0-255. 
Default: 
 
255.255.255.0 
 
 
 
 
#DNSSERV1 – Set DNS Server IP Address 
Description:
 
In order to translate the server names from literal format into IP addresses, the TCP/IP stack 
software implements the Domain Name System (DNS) protocol. The DNS Server IP address 
must be specified for use by the TCP/IP stack software. 
Syntax:
  
AT#DNSSERV1="<value>" 
 
AT#DNSSERV1? Read or display the current setting. 
Responses: 
AT# DNSSERV1=192.168.0.1  returns and OK 
 
AT# DNSSERV1? returns 192.168.0.1 and OK 
Values:
 
32-bit number in dotted-decimal notation (i.e., xxx.xxx.xxx.xxx).  
Default
:  
202.56.215.6 
 
 
 
 
#DNSSERV2 – Set Secondary DNS Server 
Description:
 
In order to translate the server names from literal format into IP addresses, the TCP/IP stack 
software implements the Domain Name System (DNS) protocol. The DNS Server IP address has 
to be specified for use by the TCP/IP stack software. This secondary DNS server is used in the 
case where the primary DNS server does not respond to a request
.
 
Syntax:  
AT#DNSSERV2="<value>"  
 
AT#DNSSERV2? Read or display the current setting. 
Values:
 
32-bit number in dotted-decimal notation (i.e., xxx.xxx.xxx.xxx).  
Default:
  
202.56.230.6 
Note:
 
The Universal IP resolver (DNS Client) has a list that holds up to 4 DNS servers, the first 2 in the 
list are populated by the #DNSSERV1 and #DNSSERV2 commands, the 3rd and 4th are 
populated by DNS information provided by the ISP or cellular carrier. The list is checked in order 
(1-4). This means that user configured name servers will be checked before dynamically 
assigned name servers. 
 
 
 
 
 
#EMACSPD – Set Ethernet Connection  
Description: 
  Sets the Ethernet connection at 10 or 100 full or half duplex. 
Syntax:
    
AT#EMACSPD=x 
where x stands for 0,1,2,3,4 
Values:
 
0 – Auto Sensing 
 
1 – 10Mbis half duplex 
 
2 – 10Mbis full duplex 
 
3 – 100Mbis half duplex 
 
4 – 100Mbis full duplex 
 
AT#EMACSPD? View the current setting. Can view with AT#VALL or AT#VIP also. 
Default: 
 
AT#EMACSPD=0