Page 556 / 998 Scroll up to view Page 551 - 555
SNTP
SNTP command reference
iMG/RG Software Reference Manual (System Administration)
5-96
Example
Example 1 - IP address
--> sntpclient add server ipaddress 129.6.15.28
Example 2 - hostname
--> sntpclient add server hostname time-a.nist.gov
5.3.3.1.2 SNTPCLIENT CLEAR SERVERS
Syntax
SNTPCLIENT CLEAR SERVERS
Description
This command deletes the servers added using the sntpclient add server command.
Example
--> sntpclient clear servers
See also
SNTPCLIENT ADD SERVER
5.3.3.1.3 SNTPCLIENT DELETE SERVER
Syntax
SNTPCLIENT DELETE SERVER <serverid>
Description
This command deletes a single server previously added using the sntpclient add server
command.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example
--> sntpclient delete server 1
See also
SNTPCLIENT ADD SERVER
SNTPCLIENT LIST SERVERS
Option
Description
Default Value
sntpipaddress
The IP address of the dedicated unicast server
that SNTP can use to synchronize its time.
N/A
sntphostname
The hostname of the dedicated unicast server
that SNTP can use to synchronize its time.
N/A
Option
Description
Default Value
serverid
The server ID displayed by the
SNTPCLIENT LIST
SERVERS
command.
N/A
Page 557 / 998
SNTP command reference
SNTP
5-97
iMG/RG Software Reference Manual (System Administration)
5.3.3.1.4 SNTPCLIENT LIST SERVERS
Syntax
SNTPCLIENT LIST SERVERS
Description
This command lists the servers added using the
SNTPCLIENT ADD SERVER
com-
mand.
Example
--> sntpclient list servers
SNTPClient Servers:
ID
| IP Address
-----|------------------
1 | 239.252.197.0
------------------------
See also
SNTPCLIENT ADD SERVER
5.3.3.1.5 SNTPCLIENT SET DAYLIGHTSAVINGTIME
Syntax
SNTPCLIENT SET DAYLIGHTSAVINGTIME ENABLE|DISABLE
Description
This command sets the SNTP client to automatically switch between the standard time
and the daylight saving time according to the time zone.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example
--> sntpclient set daylightsavigntime enable
5.3.3.1.6 SNTPCLIENT SET TIMEZONE
Syntax
SNTPCLIENT SET TIMEZONE <timezone>
Description
This command sets the local time zone abbreviation as a parameter and configures the
local system to be up to + 13 hours of the
Universal Time Coordinate
(UTC). Sixty-four
of the world’s most prominent time zones are represented (including those using stan-
dard time and summer/daylight savings time).
Options
The following table gives the 64 time zone abbreviations that you can use in this com-
mand to set the timezone difference for the system timer. The table also contains the dif-
Option
Description
Default Value
enable
Enables the selected time synchronous access mode.
N/A
disable
Disables the selected time synchronous access mode.
N/A
Page 558 / 998
SNTP
SNTP command reference
iMG/RG Software Reference Manual (System Administration)
5-98
ference in time (in hours and minutes) from the UTC, and a description of the area of
the world (from west to east) where the time difference is calculated:
TABLE 5-7
Time Abbreviations when Setting Timezone Difference
Time Zone
+ UTC
World Area of Time Zone
IDLW
-1200
International Date Line West
NT
-1100
Nome
HST
-1000
Hawaii Standard
AKST
-0900
Alaska Standard
YST
-0900
Yukon Standard
YDT
-0800
Yukon Daylight
PST
-0800
US Pacific Standard
MST
-0700
US Mountain Standard
MDT
-0600
US Mountain Daylight
CST
-0600
US Central Standard
EST
-0500
US Eastern Standard
AST
-0400
Atlantic Standard
NFST
-0330
Newfoundland Standard
NFT
-0330
Newfoundland
BRA
-0300
Brazil Standard
ADT
-0300
Atlantic Daylight
NDT
-0230
Newfoundland Daylight
AT
-0200
Azores
WAT
-0100
West Africa
GMT
+0000
Greenwich Mean
UTC
+0000
Universal (Coordinated)
WET
+0000
Western European
CET
+0100
Central European
FWT
+0100
French Winter
Page 559 / 998
SNTP command reference
SNTP
5-99
iMG/RG Software Reference Manual (System Administration)
MET
+0100
Middle European
MEWT
+0100
Middle European Winter
SWT
+0100
Swedish Winter
BST
+0100
British Summer
EET
+0200
Eastern Europe
FST
+0200
French Summer
MEST
+0200
Middle European Summer
SST
+0200
Swedish Summer
IST
+0200
Israeli Standard
IDT
+0300
Israeli Daylight
BT
+0300
Baghdad
IT
+0330
Iran
USZ3
+0400
Russian Volga
USZ4
+0500
Russian Ural
INST
+0530
Indian Standard
USZ5
+0600
Russian West-Siberian
NST
+0630
North Sumatra
WAST
+0700
West Australian Standard
USZ6
+0700
Russian Yenisei
JT
+0730
Java
CCT
+0800
China Coast
WADT
+0800
West Australian Daylight
ROK
+0900
Korean Standard
KST
+0900
Korean Standard
JST
+0900
Japan Standard
CAST
+0930
Central Australian Standard
KDT
+1000
Korean Daylight
TABLE 5-7
Time Abbreviations when Setting Timezone Difference (Continued)
Page 560 / 998
SNTP
SNTP command reference
iMG/RG Software Reference Manual (System Administration)
5-100
Example
In the example below, the time zone is set to Unites States Eastern Standard Time, which
is five hours earlier than UTC (-0500):
--> sntpclient set timezone EST
5.3.3.1.7 SNTPCLIENT SET MODE
Syntax
SNTPCLIENT SET MODE {UNICAST|BROADCAST|ANYCAST} {ENABLE|DIS-
ABLE}
Description
This command enables/disables the STNP client in a particular time synchronous access
mode. There are three modes to choose from, and each mode has enable and disable
options:
Unicast mode
Enable
the mode uses a unicast server and the IP address or hostname in the SNTP server
association list is used to synchronize the client time with the server. The SNTP cli-
ent attempts to contact the specific server in the association in order to receive a
timestamp when the
SNTPCLIENT SYNC COMMAND
is issued.
Disable
the unicast server is removed from the association list.
Broadcast mode
Enable
allows the SNTP client to accept time synchronization broadcast packets from an
SNTP server located on the network, and updated the local system time accordingly.
Disable
stops synchronization via broadcast mode
EAST
+1000
Eastern Australian Standard
GST
+1000
Guam Standard
CADT
+1030
Central Australian Daylight
EADT
+1100
Eastern Australian Daylight
IDLE
+1200
International Date Line East
NZST
+1200
New Zealand Standard
NZT
+1200
New Zealand
NZDT
+1300
New Zealand Daylight
TABLE 5-7
Time Abbreviations when Setting Timezone Difference (Continued)

Rate

4 / 5 based on 3 votes.

Popular Allied-Telesis Models

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top