Switching Between Operational Mode and Configuration Mode
When you monitor and configure the SRC software, you may need to switch between operational mode and configuration mode. When you change to configuration mode, the command prompt also changes. By default, the operational mode prompt is a right angle bracket (
>
), and the configuration mode prompt is a pound sign (#
).Switching to Configuration Mode
user@host>configure
Entering configuration mode.[edit]user@host#The CLI prompt changes from
user@host>
touser@host#
and a banner appears to indicate the hierarchy level.Returning to Operational Mode
You can return to operational mode with or without committing configuration changes. You can enter or exit configuration mode as many times as you wish without committing your changes.
To commit the configuration and exit:
[edit]user@host#commit-and-quit
commit completeExiting configuration modeuser@host>[edit]user@host#exit
Exiting configuration modeuser@host>If there are changes that have not been committed, the CLI returns a message to that effect:
[edit]user@host#exit
Exiting configuration mode.The configuration has been changed but not committed.To return to operational mode from any configuration hierarchy level, such as
[edit system services]
:[edit system services]user@host#exit configuration-mode
user@host>Running Operational Mode Commands from Configuration Mode
To display the output of an operational mode command, such as
show
, while in configuration mode:[edit]user@host#run
operational-mode-command
For example, to display the SAE configuration and then check whether the SAE is running:
[edit shared sae configuration]user@host#show
plug-ins {pool rksPlugin {pcmm-rks {load-balancing-mode failover;failback-timer -1;retry-interval 3000;maximum-queue-length 10000;feid-mso-domain-name abcd.com;trusted-element;default-peer radius01;peer-group rksPeer {server-address 10.10.3.60;server-port 1812;}}}}driver {. . .[edit shared sae configuration]user@host#run show component
Installed Components
Name Version Status
cli Release: 7.0 Build: CLI.A.7.0.0.0171 runningacp Release: 7.0 Build: ACP.A.7.0.0.0174 disabledjdb Release: 7.0 Build: DIRXA.A.7.0.0.0176 runningeditor Release: 7.0 Build: EDITOR.A.7.0.0.0176 disabledredir Release: 7.0 Build: REDIR.A.7.0.0.0176 disabledlicSvr Release: 7.0 Build: LICSVR.A.7.0.0.0179 stoppednic Release: 7.0 Build: GATEWAY.A.7.0.0.0170 disabledsae Release: 7.0 Build: SAE.A.7.0.0.0166 runningwww Release: 7.0 Build: UMC.A.7.0.0.0169 disabledjps Release: 7.0 Build: JPS.A.7.0.0.0172 disabledagent Release: 7.0 Build: SYSMAN.A.7.0.0.0174 disabledwebadm Release: 7.0 Build: WEBADM.A.7.0.0.0173 disabled