6.2.2.14. setup-mode

6.2.2.14.1. Introduction

The setup-mode command of the set subgroup enables choosing, for each user profile:

  • Either the graphical interface (GUI mode)

  • Or the command line interface (CLI mode)

The CLI mode is activated by default on all user profiles (setup, gview, and gviewadm).
Modifying this configuration is possible at any time. It has no impact on the overall operation of the GCap.

Note

The GUI mode is deprecated and will be removed in a future release.

The possibility of displaying the current configuration is provided by the show setup-mode command.


6.2.2.14.2. Prerequisites

  • Users: setup, gviewadm, gview

  • Dependencies: N/A


6.2.2.14.3. Command

set setup-mode {setup|gview|gviewadm} {gui|cli}


6.2.2.14.4. Example of changing the default mode from setup user profile to CLI mode

  • Enter the following command.

    (gcap-cli) set setup-mode setup cli
    
  • Validate.
    The system displays change the default mode to CLI mode.

    Setting setup to mode cli
    Default setup mode successfully updated. Changes will be effective on next login
    

    As indicated, the change will be made upon the next login.

    Note

    If the following message is displayed:

    User setup is already set to mode cli
    Default setup mode successfully updated.
    Changes will be effective on next login

    this means that the current mode is in CLI mode but, for safety, it is reapplied.