The CLI: System Level Commands
The following section provides a list of system level commands you can reference when using the CLI.
Table 9: System Level CLI Commands
Command | Syntax | Description |
---|---|---|
set | set <setting> <value> set interface <interface> <attribute> <value> set dns <setting> <value> | Sets local system level properties, including the hostname, network interfaces, DNS servers, proxy servers and more. For more information about the various settings available with this command use help set for usage information. Example: system> set interface eth2 onboot no See The CLI: The Set Command for details. |
show | show [category] | Shows system configuration. When given without a [category], this command will show the entire system configuration. Example: system> show management-interface "eth0" |
status | status <item> | Depending on the item supplied, this will look over the local system for the status of the component requested. For a list of all available items to retrieve status information for, type help status. Example: system> status network system> status ha |
unset | unset <setting> <value> unset interface <interface> <attribute> <value> unset dns <setting> <value> | Unsets the given local system configuration. If allowed to be empty or unset this command will remove the specified setting completely. Not all system level properties are allowed to be unset, such as hostname and the management interface. |
backup | backup | Initiate a system backup. Backups are stored in /home/mykonos/backups/ directory. Example: system> backup Confirm Backup [y|N]: y |
initialize | initialize | Runs the system initialization process. Example: [mykonos@webappsecure ~]$ cli system initialize |
services | services [subcommand] | Enter the services level of the CLI. This level allows you to control the services running on the local system. The subcommand can consist of two parts, the action to take, and the component to take that action. Actions
Example: system> services status nginx nginx (pid 1614) is running... Note: To see all available components, type the action, a space, and then hit the TAB key to see a list of components available for that action. To restart the network for interface configurations to update, type cli system services restart network. |