Command line interface Configuration mode
Digi Connect IT® 4 User Guide
924
n Enter the full command string from the config prompt.
For example, to disable the ssh service by entering the full command string at the config
prompt:
(config)> service ssh enable false
(config)>
n Execute commands by moving through the configuration schema.
For example, to disable the ssh service by moving through the configuration and then
executing the enable false command:
1. At the config prompt, enter service to move to the service node:
(config)> service
(config service)>
2. Enter ssh to move to the ssh node:
(config service)> ssh
(config service ssh)>
3. Enter enable false to disable the ssh service:
(config service ssh)> enable false
(config service ssh)>
See Move within the configuration schema for more information about moving within the
configuration.
Save changes and exit configuration mode
To save changes that you have made to the configuration while in configuration mode, use save. The
save command automatically validates the configuration changes; the configuration will not be saved
if it is not valid. Note that you can also validate configuration changes at any time while in
configuration mode by using the validate command.
(config)> save
Configuration saved.
>
After using save to save changes to the configuration, you will automatically exit configuration mode.
To return to configuration mode, type config again.
Exit configuration mode without saving changes
You can discard any unsaved configuration changes and exit configuration mode by using the cancel
command:
(config)> cancel
>
After using cancel to discard unsaved changes to the configuration, you will automatically exit
configuration mode.