5–10 MULTILINK ML1600 ETHERNET COMMUNICATIONS SWITCH – INSTRUCTION MANUAL
SETTING PARAMETERS CHAPTER 5: IP ADDRESSING
set time hour=<0-23> min=<0-59> sec=<0-59> [zone=GMT[+/-]hh:mm]
To set the time to be 08:10 am in the -5 hours from GMT (Eastern Standard Time) and to set
the date as 11 May 2005, the following sequence of commands are used.
ML1600# set time hour=8 min=10 sec=0 zone=GMT-5:00
Success in setting device time
ML1600# show time
Time: 8:10:04
ML1600# show timezone
Timezone: GMT-05hours:00minutes
ML1600# set date year=2005 month=5 day=11
Success in setting device date
ML1600# show date
System Date: Wednesday 15-11-2005 (in mm
-dd-yyyy format)
ML1600#
The syntax for other date and time commands are:
set timeformat format=<12|24>
set daylight country=<country name>
The following command sequence sets the daylight location:
ML1600# set daylight country=Canada
Success in setting daylight savings to the
given location/country Canada
ML1600# show daylight
Daylight savings location name: Canada
ML1600#
The date and time can only be set through the command line interface software.
5.3.4 Network Time
Many networks synchronize the time using a network time server. The network time server
provides time to the different machines using the Simple Network Time Protocol (SNTP). To
specify the SNTP server, one has to
1. Set the IP parameters on the switch
2. Define the SNTP parameters
To set the SNTP parameter with the command line software, enter the SNTP configuration
mode from the manager. The
setsntp, sync, and sntp commands can then be used to
setup the time synchronization automatically from the SNTP server. Note it is not sufficient
to setup the SNTP variables. Make sure to setup the synchronization frequency as well as
enable SNTP. The syntax for the above commands is shown below.
setsntp server = <ipaddress> timeout = <1-10>
retry = <1-3>
sync [hour=<0-24>] [min=<0-59>] (default = 24
hours)
sntp [enable|disable]