30
7.
Use “settime” to change the current system time.
Usage: settime <hh:mm:ss> [yy/mm/dd] [TZ(GMT +/- hour)]
(4)
“ifShow” command shows all network interface information, including IP address, subnet
mask, and information of packets.
Usage: ifShow [ifname]
To show all network interface, just type “ifShow” at command line prompt.
Lo – Loopback interface.
adm – LAN interface.
wlan – Wireless LAN interface.
cmd>ifShow
lo (unit number 0):
Type: SOFTWARE_LOOPBACK
Internet address: 127.0.0.1
Netmask 0xff000000 Subnetmask 0xff000000
Metric is 0
Maximum Transfer Unit size is 1536
0 packets received; 0 packets sent
0 multicast packets received
0 multicast packets sent
0 input errors; 0 output errors
0 collisions; 0 dropped
adm (unit number 0):
Type: ETHERNET_CSMACD
Internet address: 192.168.1.1
Broadcast address: 192.168.1.255
Netmask 0xffffff00 Subnetmask 0xffffff00
cmd>settime 15:50:00 2002/12/13
cmd>time
Time zone:
GMT+6
Local time:
Fri Dec 13 15:50:02 2002
GMT time:
Fri Dec 13 21:50:02 2002
cmd>