Command lineinterface Configuration mode
IX20 User Guide
1145
(config)> service ssh enable false
(config)>
n
Execute commandsby 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 moveto 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 savechanges 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 changesat 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 changesand 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.
Configuration actions
In configuration mode, configuration actionsare available to perform tasksrelated to saving or
canceling the configuration changes, and to manage itemsand elementsin lists. The commandscan
be listed by entering a question mark (?) at the config prompt.