5.5.8. Changing the GCap date and time

5.5.8.1. Introduction

Before pairing the GCap and GCenter, it is important to ensure that both systems are in sync in terms of time.
Once the pairing is complete, the GCenter acts as an NTP server for the GCap to ensure that the equipment clocks are synchronised.
When connecting for the first time, these items must be set via the 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, it is the time of the GCap that must be changed.


5.5.8.2. Prerequisites


5.5.8.3. Preliminary operations


5.5.8.4. Procedure for viewing the date and time on the GCap and GCenter

  • Enter the show datetime command then validate.
    The datetime command of the show subgroup enables displaying the date and time of the GCap in the format YYYY-MM-DD HH:MM:SS.

    (gcap-cli) show datetime
    Current datetime is 2022-01-26 16:10:44
    
  • Log in to the GCenter.

  • 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.


5.5.8.5. Procedure for changing the date and time of the GCap

  • Enter the command set datetime 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)

    (gcap-cli) set datetime 2022-01-26T16:00:00Z
    
  • Validate.
    A confirmation window is displayed.

     Date successfully changed to Wed Jan 26 2022 16:00:00