8.9. Procedure to change the date and time of the GCap

A - Introduction

Before pairing between the GCap and the GCenter, it is necessary to ensure that both systems are at the same time.
Once the pairing is functional, the GCenter acts as the NTP server for the GCap so that the clocks of the equipment are synchronized.
When connecting for the first time, these items must be set via the show datetime command in the CLI.
The adjustment is necessary for establishing the IPsec tunnel.
The datetime of the GCap and the GCenter must be the same to within 1 minute.

Important

If there is a discrepancy between the GCap and the GCenter, the GCap time is the one to be changed.

To perform this procedure, you must perform all the steps described in the following sections:


B - Prerequisites


C - Preliminary operations

  1. Connect to the GCap (refer to Procedure to remote connection to GCap via an SSH tunnel)

  2. Connect as setup


D - Procedure to view the date and time on the GCap and GCenter

The command prompt is displayed.

(gcap-cli)
  1. Enter the command

    show datetime
    
  2. Validate

    show datetime
    Current datetime is 2022-01-26 16:10:44
    
    The `datetime` command of the `show` sub-group enables displaying the date and time of the GCap in the format `YYYY-MM-DD HH:MM:SS`.
  3. Log in to the GCenter

  4. Display the GCenter date and time and note them down
    If there is a discrepancy between the GCap and the GCenter, the GCap time is the one to be changed
    To correct this, perform the following procedure

F - Procedure to change the date and time of the GCap

The command prompt is displayed.

(gcap-cli)
  1. Enter the show datetime command followed by the parameters in the following order {YYYY-MM-DDThh :mm :ssZ}
    Example: set datetime 2022-01-26T16:00:00Z
    • YYYY indicates a four-digit year from 0000 to 9999

    • MM indicates a two-digit year from 01 to 12

    • DD indicates a two-digit year from 01 to 31

    • T indicates the beginning of the field defining the time format

    • hh indicates the two-digit hour from 00 to 23

    • mm indicates the two-digit minutes from 00 to 59

    • ss indicates the two-digit seconds from 00 to 59

    • Z indicates CUT (Coordinated Universal Time)

    set datetime 2022-01-26T16:00:00Z
    
  2. Validate
    A confirmation window is displayed
    Date successfully changed to Wed Jan 26 2022 16:00:00