4 network time, Etwork – GE MULTILINK ML1200 User Manual

Page 82

Advertising
background image

5–10

MULTILINK ML1200 MANAGED FIELD SWITCH – INSTRUCTION MANUAL

IP ADDRESSING

CHAPTER 5: IP ADDRESSING

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.

ML1200#

set time hour=8 min=10 sec=0 zone=GMT-5:00

Success in setting device time

ML1200#

show time

Time: 8:10:04

ML1200#

show timezone

Timezone: GMT-05hours:00minutes

ML1200#

set date year=2005 month=5 day=11

Success in setting device date

ML1200#

show date

System Date: Wednesday 15-11-2005 (in mm

-dd-yyyy format)

ML1200#

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:

ML1200#

set daylight country=Canada

Success in setting daylight savings to the

given location/country Canada

ML1200#

show daylight

Daylight savings location name: Canada

ML1200#

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]

Advertising