SNTP mode (0=no update, 1=specify server IP, 2=broadcast mode). Example:

ifaddr -ip 210.59.163.202 -mask 255.255.255.0 -gate 210.59.163.254 ifaddr -mode 1

ifaddr -sntp 1 210.59.163.254 ifaddr -autodns 1

ifaddr -dns 1 168.95.1.1

ifaddr -ipsharing 1 210.59.163.254

---------------------------------------------------------------

2.8 [time]

When SNTP function of Micronet SP5052A/S / SP5054A/S 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 WED JUL 14 16:00:00 2004

---------------------------------------------------------------

2.9 [ping]

Use ping to test whether a specific IP is reachable or not.

Responsed

---------------------------------------------------------------

usr/config$ ping www.yahoo.com

PING www.yahoo.com (66.94.230.46): 56 data bytes

64 bytes from 66.94.230.46: icmp_seq=0. time=195. ms

64 bytes from 66.94.230.46: icmp_seq=1. time=195. ms

64 bytes from 66.94.230.46: icmp_seq=2. time=195. ms

64 bytes from 66.94.230.46: icmp_seq=3. time=195. ms

----www.yahoo.com PING Statistics----

4 packets transmitted, 4 packets received, 0% packet loss round-trip (ms) min/avg/max = 195/195/195

29

Page 30
Image 30
MicroNet Technology SP5052A/S, SP5054A/S user manual Time, Ping, Responsed