[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


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

To enter configuration mode:

The CLI prompt changes from user@host> to user@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 complete
Exiting configuration mode
user@host>

To exit without committing:

[edit]
user@host# exit
Exiting configuration mode
user@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:

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               running 
acp       Release: 7.0 Build: ACP.A.7.0.0.0174               disabled
jdb       Release: 7.0 Build: DIRXA.A.7.0.0.0176             running 
editor    Release: 7.0 Build: EDITOR.A.7.0.0.0176            disabled
redir     Release: 7.0 Build: REDIR.A.7.0.0.0176             disabled
licSvr    Release: 7.0 Build: LICSVR.A.7.0.0.0179            stopped 
nic       Release: 7.0 Build: GATEWAY.A.7.0.0.0170           disabled
sae       Release: 7.0 Build: SAE.A.7.0.0.0166               running 
www       Release: 7.0 Build: UMC.A.7.0.0.0169               disabled
jps       Release: 7.0 Build: JPS.A.7.0.0.0172               disabled
agent     Release: 7.0 Build: SYSMAN.A.7.0.0.0174            disabled
webadm    Release: 7.0 Build: WEBADM.A.7.0.0.0173            disabled


[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]