Setting System Clock
You can set the clock on a managed device manually or by configuring the managed device to use a NTP Network Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. server to synchronize its system clock with a central time source.
ArubaOS 8.2.0.0 introduces support for automatic timezone updates that include the relevant daylight savings time (DST Daylight Saving Time. DST is also known as summer time that refers to the practice of advancing clocks, so that evenings have more daylight and mornings have less. Typically clocks are adjusted forward one hour near the start of spring and are adjusted backward in autumn. ) across timezones. This is done in view with keeping the time up-to-date and precise with daylight savings time adjustments effected automatically. Hence, the check box that was available in earlier versions is no more available in the accordion.
This section describes the following topics:
Manually Setting Clock
The following procedure describes how to manually set the clock.
1. Login to the managed device.
2. Navigate to the page and expand the accordion.
3. For , select from the drop-down list.
4. To set the local time and date, click the button. The dialog box is displayed.
5. Enter the date and time in yyyy-mm-dd and hh:mm:ss formats, respectively, in the corresponding boxes. Note that hh is in 24-hr format. Click .
6. For , select the appropriate timezone from the list arranged in alphabetic order of countries.
|
An automatic update on the timezone picked and associated daylight savings time is available to keep the time up-to-date and relevant. |
7. Click .
8. Click .
9. In the window, select the check box and click .
The following CLI Command-Line Interface. A console interface with a command line shell that allows users to execute text input as commands and convert these commands to appropriate functions. command configures the date and time.
clock set <year> <month> <date> <hour> <minutes> <seconds>
The following CLI Command-Line Interface. A console interface with a command line shell that allows users to execute text input as commands and convert these commands to appropriate functions. command configures the time zone and daylight savings time adjustment.
clock timezone <WORD> <-23 - 23>
|
USE IANA time zone wording |
Clock Synchronization
You can use NTP Network Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. to synchronize the managed device to a central time source. Configure the managed device to set its system clock using NTP Network Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. by configuring one or more NTP Network Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. servers.
For each NTP Network Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. server, you can optionally specify the NTP Network Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. iburst mode for faster clock synchronization. The iburst mode sends up ten queries within the first minute to the NTP Network Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. server. (When iburst mode is not enabled, only one query is sent within the first minute to the NTP Network Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. server.) After the first minute, the iburst mode typically synchronizes the clock so that queries need to be sent at intervals of 64 seconds or more.
|
The iburst mode is a configurable option and not the default behavior for the managed device, as this option is considered “aggressive” by some public NTP Network Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. servers. If an NTP Network Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. server is unresponsive, the iburst mode continues to send frequent queries until the server responds and time synchronization starts. |
You can use either WebUI or CLI Command-Line Interface. A console interface with a command line shell that allows users to execute text input as commands and convert these commands to appropriate functions. to configure the system clock using NTP Network Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network.:
The following procedure describes how to configure the system clock using NTP Network Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network..
1. In the node hierarchy, navigate to the page.
2. For Time, select the option.
3. Complete the steps for NTP Network Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. servers and NTP Network Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. authentication, if you require any change in these options.
4. For , select the appropriate timezone from the list arranged in alphabetic order of countries.
|
An automatic update on the timezone picked and associated daylight savings time is available to keep the time up-to-date and relevant. |
5. Click .
6. Click .
7. In the window, select the check box and click .
The following CLI Command-Line Interface. A console interface with a command line shell that allows users to execute text input as commands and convert these commands to appropriate functions. command configures the system clock using NTP Network Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network..
ntp server ipaddr [iburst]
Configuring NTP Authentication
The Network Time Protocol adds security to an NTP Network Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. client by authenticating the server before synchronizing the local clock. NTP Network Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. authentication works by using a symmetric key which is configured by the user. The secret key is shared by both the managed device and an external NTP Network Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. server. This helps identify secure servers from fraudulent servers.
Starting from ArubaOS 8.2.1.0, a new NTP Network Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. authentication option using SHA1 digest is available. A new parameter, , is introduced in the command.
The following procedure describes how to configure NTP Network Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. authentication.
1. In the node hierarchy, navigate to the page.
2. To add a new NTP Network Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. server, under , click . Note that you can add up to 14 NTP Network Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. servers.
|
You can drag and drop the required NTP Network Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. servers in the table to reorder them in the list. Maintaining the correct order of the NTP Network Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. servers determines which server will be contacted first. |
3. In the section, select or from the drop-down list.
4. Enter the IPv4/IPv6 address of the NTP Network Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. server in the or text box.
5. Select the check box, if desired. It is disabled by default.
6. Enter the authentication key to be used by NTP Network Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. server in the text box. The range of allowed values is 1–65534; default is 1.
7. Click the toggle switch, if required. By default, the toggle switch is disabled.
8. Under , click . The section is displayed.
9. Enter the authentication key in the text box. The allowed range of numeric values is 1–65534.
10. Select an hash algorithm from the drop-down list. The two available options are md5 and sha1.
11. Enter the secret of the authentication key in the text box. The valid key value must be an ASCII American Standard Code for Information Interchange. An ASCII code is a numerical representation of a character or an action. string from 0 to 255 characters.
12. Select the check box to specify that the authentication key is trusted. By default, the check box is cleared.
13. Click .
14. Click .
15. In the window, select the check box and click .
The following CLI Command-Line Interface. A console interface with a command line shell that allows users to execute text input as commands and convert these commands to appropriate functions. commands enable NTP Network Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. authentication, add authentication secret keys into the database, specify a subset of keys which are trusted, and enable the iburst option.
(host) [md] (config) #ntp authenticate
(host) [md] (config) #ntp authentication-key <key-id> md5 <key-secret>
(host) [md] (config) #ntp trusted-key <key-id>
(host) [md] (config) #ntp server <ipaddr> <iburst> <key>
(host) [md] (config) #ntp server <server IP> <iburst key> <key>
The following CLI Command-Line Interface. A console interface with a command line shell that allows users to execute text input as commands and convert these commands to appropriate functions. command configures the SHA1authentication key option.
(host)[mynode](config) #ntp authentication-key <keyid> sha1 <keyvalue>
The authentication key ID must be in the range of 1–65534. The key value must be up to 255 ASCII American Standard Code for Information Interchange. An ASCII code is a numerical representation of a character or an action. characters.
The NTP Network Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. authentication key type. The output of this command displays the SHA1 key type and the secret field (in encoded format), when SHA1 authentication is configured. The following example shows the output of the command:
command helps you verify the(host) [mynode] # show ntp authentication-keys
Key Id Key Type Secret
------ -------- ------
41 sha1 ********
Timestamps in CLI Output
The timestamp feature can include a timestamp in the output of each show command issued in the command-line interface, indicating the date and time the command was issued. Note that the output of and do not include timestamps, even when this feature is enabled.
The following CLI Command-Line Interface. A console interface with a command line shell that allows users to execute text input as commands and convert these commands to appropriate functions. command enables timestamp.
(host) [md] (config) #clock append