ifaddr -timezone 8
Parameters Usage:
print current IP setting | |
assigned IP address for VoIP FXO gateway | |
internet subnet mask | |
IP default gateway | |
Dynamic Host Configuration (1 = ON; 0 = OFF) | |
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.
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. |
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 |
| 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.
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
21