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. Topics that describe switching modes include:

  1. Switching to Configuration Mode
  2. Returning to Operational Mode
  3. Running Operational Mode Commands from Configuration Mode

Switching to Configuration Mode

To enter configuration mode:

  • Type the configure command or the edit command from the CLI operation mode. For example:
      user@host> configure
      Entering configuration mode.
      [edit]
      user@host#

    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:

  • Issue the run configuration mode command, then specify the operational mode command.
      [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               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