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 Automatically adjust clock for Daylight Saving Time check box that was available in earlier versions is no more available in the Clock 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 Configuration > System > General page and expand the Clock accordion.

3. For Time, select Manually from the drop-down list.

4. To set the local time and date, click the Modify Date and Time button. The Modify Date and Time 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 OK.

6. For Time zone, 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 Submit.

8. Click Pending Changes.

9. In the Pending Changes window, select the check box and click Deploy changes.

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 Managed Network node hierarchy, navigate to the Configuration > System > General > Clock page.

2. For Time, select the Using NTP 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 Time zone, 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 Submit.

6. Click Pending Changes.

7. In the Pending Changes window, select the check box and click Deploy changes.

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, sha1, is introduced in the ntp authentication-key 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 Managed Network node hierarchy, navigate to the Configuration > System > General > Clock 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 NTP Servers, 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 NTP Servers 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 Add NTP Server section, select IPv4 or IPv6 from the IP version 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 IPv4 or IPv6 text box.

5. Select the iburst mode 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 Authentication key ID text box. The range of allowed values is 1–65534; default is 1.

7. Click the Use NTP authentication toggle switch, if required. By default, the toggle switch is disabled.

8. Under NTP Authentication Keys, click +. The Add NTP Authentication Key section is displayed.

9. Enter the authentication key in the Authentication key ID text box. The allowed range of numeric values is 1–65534.

10. Select an hash algorithm from the Hash algorithm drop-down list. The two available options are md5 and sha1.

11. Enter the secret of the authentication key in the Secret key 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 Trusted check box to specify that the authentication key is trusted. By default, the check box is cleared.

13. Click Submit.

14. Click Pending Changes.

15. In the Pending Changes window, select the check box and click Deploy changes.

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 show ntp authentication-keys command helps you verify 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 show ntp authentication-keys command:

(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 show clock and show log 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