MicroNet Technology SP5052 Manuel D’Utilisation

Page de 61
 
 
21
 
ifaddr -timezone 8    
 
Parameters Usage: 
-print 
 
print current IP setting 
-ip   
 
assigned IP address for VoIP FXO gateway 
-mask   
internet subnet mask 
-gate 
 
IP default gateway 
-dhcp 
 
Dynamic Host Configuration (1 = ON; 0 = OFF) 
-sntp 
Simple Network Time Protocol (1 = ON; 0 = OFF) When SNTP 
function is activated, users have to specify a SNTP server as 
network time source. An example is demonstrated below: 
 
usr/config$ ifaddr -sntp 1 10.1.1.1 
 
while 10.1.1.1 stands for SNTP server’s IP address. 
 
-timezone      Set timezone for VoIP FXO gateway. User can set different time 
zone according to the location VoIP FXO gateway. For example, 
in Taiwan the time zone should be set as 8,which means 
GMT+8.  
-cmcenter 
Set management center IP address. IF user specifies 
management center IP address, VoIP FXO gateway will send 
information to management center, let user can easily configure 
via management center interface. (sysconf –cmcenter “IP 
address of management center”) 
 
Note: 
Mmanagement center is optional software to help user can easily configure 
Micronet products, please contact your reseller to know more about it. 
 
-ipsharing 
Specify usage of an IP sharing device and IP address. If VoIP 
FXO gateway is behind a IP-sharing , user can enable IP 
sharing function and specify public IP address of IP sharing 
device. 
 
5.8 [time] command 
 
When SNTP function of VoIP FXO gateway is enabled and SNTP server can 
be found as well, type time command to show current network time. 
 
usr/config$ time 
Current time is THU JAN 01 05:29:23 1970 
 
5.9 [ping] command 
 
Use ping to test whether a specific IP is reachable or not. For example: if 
192.168.1.2 is not existing while 210.63.15.32 exists. Users will have the 
following results: 
usr/config$ ping 210.54.23.129 
PING 210.54.23.129: 56 data bytes