Zyxel XS3700-24 [58/371] This example sets the current date current time time zone and daylight savings time

Zyxel XS3700-24 [58/371] This example sets the current date current time time zone and daylight savings time
Chapter 13 Date and Time Commands
Ethernet Switch CLI Reference Guide
58
13.2 Command Examples
This example sets the current date, current time, time zone, and daylight savings time.
time daylight-saving-time start-
date <week> <day> <month> <o’clock>
Sets the day and time when Daylight Saving Time starts.
In most parts of the United States, Daylight Saving Time
starts on the second Sunday of March at 2 A.M. local
time. In the European Union, Daylight Saving Time starts
on the last Sunday of March at 1 A.M. GMT or UTC, so
the o’clock field depends on your time zone.
C13
time daylight-saving-time end-date
<week> <day> <month> <o’clock>
Sets the day and time when Daylight Saving Time ends.
In most parts of the United States, Daylight Saving Time
ends on the first Sunday of November at 2 A.M. local
time. In the European Union, Daylight Saving Time ends
on the last Sunday of October at 1 A.M. GMT or UTC, so
the o’clock field depends on your time zone.
C13
no time daylight-saving-time Disables daylight saving on the Switch. C 13
time daylight-saving-time help Provides more information about the specified command. C 13
Table 39 timesync Command Summary
COMMAND DESCRIPTION M P
show timesync Displays time server information. E 3
timesync server <address> Sets the IP address or domain name of up to three
timeservers. The Switch tries to synchronize with the first
server. If the synchronization fails, then the Switch goes
through the rest of the list in order. The Switch attempts
to connect to the timeserver for up to 60 seconds.
The Switch synchronizes with the time server in the
following situations:
When the Switch starts up.
Every 24 hours after the Switch starts up.
When the time server IP address or protocol is
updated.
C13
timesync <daytime|time|ntp> Sets the time server protocol. You have to configure a
time server before you can specify the protocol.
C13
no timesync Disables timeserver settings. C 13
Table 38 time Command Summary (continued)
COMMAND DESCRIPTION M P
sysname# configure
sysname(config)# time date 06/04/2007
sysname(config)# time timezone -600
sysname(config)# time daylight-saving-time
sysname(config)# time daylight-saving-time start-date second Sunday
--> March 2
sysname(config)# time daylight-saving-time end-date first Sunday
--> November 2
sysname(config)# time 13:24:00
sysname(config)# exit
sysname# show time
Current Time 13:24:03 (UTC-05:00 DST)
Current Date 2007-06-04

Содержание

Скачать