-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:
-timezone set local time zone according to GMT
-----------------------------------------------------------------------------------------------
usr/config$ ifaddr -sntp 1 10.1.1.1
10.1.1.1 stands for SNTP server’s IP address.
-id To configure the pppoe connection account for the pppoe
connection.
-pwd To configure the pppoe connection password for the pppoe
connection.
-http To configure http port for the web configuration.
4.2.8 [time]
When SNTP function of 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
4.2.9 [ping]
Use
ping
to test whether a specific IP is reachable or not.
For example: if 192.168.1.2 is not existing while 192.168.1.254 exists.
Users will have the following results:
usr/config$ ping 192.168.1.2
no answer from 192.168.1.2
usr/config$ ping 192.168.1.254
PING 192.168.1.254: 56 data bytes
64 bytes from 192.168.1.254: icmp_seq=0. time=5. ms
59
64 bytes from 192.168.1.254: icmp_seq=1. time=0. ms