
2. Enter
clock set
dateTime (CCYY-MM-DDTHH:MM:SS)
command while in privileged EXEC mode.
The following example sets the clock to August 17, 2016, 12:15 p.m.
device# clock set 2016-08-17T12:15:00
If you want to show the clock and time zone settings, use the
show clock
command.
device# show clock
2016-08-29 12:15:00 location/GMT
Time zones
You can set the time zone for a device by using the
clock timezone
command. The time zone setting has the following characteristics:
•
The time zone setting automatically adjusts for Daylight Savings Time.
•
Changing the time zone on a device updates the local time zone setup and is reflected in local time calculations.
•
By default, all devices are in the Greenwich Mean Time (GMT) time zone (0,0).
•
System services that have already started will reflect the time zone changes only after the next reboot.
•
Time zone settings persist across failover for high availability.
•
Time zone settings are not affected by Network Time Protocol (NTP) server synchronization.
The following regions are supported: Africa, America, Arctic, Antarctica, Asia, Atlantic, Australia, Europe, Indian, and Pacific. One of these,
along with a city name, establishes the time zone. Refer to
on page 72.
Time synchronization
To keep the time in your network current, it is recommended that each device has its time synchronized with at least one external NTP
server.
The device maintains the current clock server value in nonvolatile memory. By default, this value is the local device clock.
The
ntp server
command accepts multiple server addresses in either IPv4 or IPv6 format. When multiple NTP server addresses are
passed,
ntp server
sets the first obtainable address as the active NTP server. If there are no reachable time servers, then the local time is
the default time.
Synchronizing local time using NTP
Perform the following steps to synchronize the local time using NTP.
1. Log in to the device using the admin account (the default password is
password
).
2. Enter
configure terminal
to enter global configuration mode.
3. Set the clock manually within 1000 seconds of the current time before setting up NTP on the device. Refer to
on page 70 for more information.
4. Enter
ntp server
IPv4 address
, where
IPv4 address
is the IP address of the first NTP server in IPv4 format, which the device
must be able to access. By default, this value is LOCL, which uses the local clock as the clock server.
device(config)# ntp server "132.163.135.131"
To display the NTP server IP address, use the
show ntp status
command. If you are in global configuration mode, enter
do
before the
show
command.
Setting the date and time
ExtremeRouting SLX 9850-4 Hardware Installation Guide
9035474-02 Rev AA
71
Summary of Contents for ExtremeRouting SLX 9850-4
Page 10: ...ExtremeRouting SLX 9850 4 Hardware Installation Guide 10 9035474 02 Rev AA...
Page 22: ...ExtremeRouting SLX 9850 4 Hardware Installation Guide 22 9035474 02 Rev AA...
Page 30: ...ExtremeRouting SLX 9850 4 Hardware Installation Guide 30 9035474 02 Rev AA...
Page 56: ...ExtremeRouting SLX 9850 4 Hardware Installation Guide 56 9035474 02 Rev AA...
Page 94: ...ExtremeRouting SLX 9850 4 Hardware Installation Guide 94 9035474 02 Rev AA...
Page 102: ...ExtremeRouting SLX 9850 4 Hardware Installation Guide 102 9035474 02 Rev AA...
Page 114: ...ExtremeRouting SLX 9850 4 Hardware Installation Guide 114 9035474 02 Rev AA...
Page 118: ...ExtremeRouting SLX 9850 4 Hardware Installation Guide 118 9035474 02 Rev AA...
Page 136: ...ExtremeRouting SLX 9850 4 Hardware Installation Guide 136 9035474 02 Rev AA...
Page 146: ...ExtremeRouting SLX 9850 4 Hardware Installation Guide 146 9035474 02 Rev AA...
Page 150: ...ExtremeRouting SLX 9850 4 Hardware Installation Guide 150 9035474 02 Rev AA...