9.1. Overview of the CLI
9.1.1. Introduction to the CLI
9.1.2. Overview of the command prompt
[Monitoring DOWN] gcap-name (gcap-cli)
It includes:
The status of the Sigflow detection engine (here
`Monitoring down`)The name of the GCap (here
`gcap-name`)The level information in the tree :
Here (
`gcap-cli`): means the command prompt is at the root of the commandsFor example (
`gcap-cli show`): means the command prompt is in the`show`sub-group
9.1.3. Accessible commands grouped by sub-group
The set...
is used to...
show
display the system configuration
set
modify the system configuration
system
manage system operations
These sets are accessible from the root.
Note
du type d'utilisateur courant
The status of the GCap
This information can be found in the documentation.
Note
If a command is entered in the wrong set, or If the access level is not the correct one
If the access level is not the correct one
... then the command is not recognized and the message Command `X is not recognized` is displayed.
Note
User type or context elements are specified where necessary.
9.1.4. Directly accessible commands
The commands below are directly accessible:
Use the command... |
For... |
|---|---|
manage the detection engine |
|
Pair the GCap and GCenter |
|
Pair the GCap and GCenter |
|
obtain help with the available commands |
|
enable or disable colors for the current CLI session |
|
return to the root of the CLI or exit the CLI |
9.1.5. Completion
To complete the name of a command or an argument, it is possible to use the completion, i.e. :
Start by entering a command, then
Use the tab key on the keyboard
`set keymap`:set keymap
fr us
9.1.7. Launching a command
A command can be launched in two different ways:
Either with only the command name but the command prompt must be at the set level
Or from the root but the name of the set must be entered followed by the name of the command
9.1.7.1. Example of launching from the root for the `show interfaces` command
(gcap-cli)
Enter the
`show interfaces`command then validate
9.1.7.2. Example of launching the `show interfaces` command from the `show` sub-group
(gcap-cli show)
Enter the
`interfaces`command then validate
9.1.8. Obtaining information on commands via Help
`?` or `help` command.Prefix it with
`help`(example`help pairing`)Suffix the command with
`?`(example`pairing?`)
For more information on assistance, see the paragraph on help.
9.1.9. Exit
`exit` command must be used to return to the root of the command tree.`exit` command, see the paragraph exit.