D-Link DVG-3004S User Manual
58
-mode
Switch the network type (0 = Static IP; 1 = DHCP mode 2 =
PPPoE mode)
-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:
-dns
configure the IP address for the DNS server
-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
Change the http port. User can change default HTTP port
(80) to another one for security or NAT application.
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
Please make sure about that the SNTP server was configured before you
used this command.
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