Command line interface
Configuration mode
LR54 User Guide
1060
Current value: true
> config service ssh enable
Configuration mode
Configuration mode allows you to perform multiple configuration tasks and validate the changes prior
to saving them. You can cancel all changes without saving them at any time. Configuration changes
do not take effect until the configuration is saved.
Enable configuration mode
To enable configuration mode, at the root prompt, enter the
config
command without any
parameters:
> config
(config)>
When the command line is in configuration mode, the prompt will change to include
(config)
, to
indicate that you are currently in configuration mode.
Enter configuration commands in configuration mode
There are two ways to enter configuration commands while in configuration mode:
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.