9.3.2.3. set datetime

A - Introduction

The `datetime` command of the `set` sub-group enables the date and time of the GCap to be adjusted.
This enables avoiding clock problems that could lead to the impossibility of establishing an IPSec tunnel with GCenter.

Note

This clock must always be adjusted so that the GCap and the associated GCenter are on the same time (e.g. for the timestamping of events).


B - Prerequisites

  • User: setup

  • Dependencies: N/A


C - Command

`set datetime {YYYY-MM-DDThh:mm:ssZ}`


D - Procedure to change the GCap date and time

The command prompt is displayed.

(gcap-cli)
  1. Enter the command

    set datetime 2022-01-26T16:00:00Z
    
  2. Validate
    The system displays the result
    Date successfully changed to Wed Jan 26 2022 16:00:00