Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Noprint
Panel
borderColorgreen
bgColortransparent
borderWidth2

Back to Table of Contents

Back to CLI Basics
Panel

In this section:

Table of Contents
maxLevel3

 

The 

Spacevars
0series4
CLI includes two modes:

  • System Mode—The default mode when you first login to CLI for performing various system-level operations and viewing configuration details, status and statistics.
  • Configure Mode—Use this mode to create, modify, view, and delete configurable 
    Spacevars
    0product
    objects.

...

System Mode

The following system operations are available from the top-level (System) CLI mode:

  • change-password  – Change your password
  • commit – Confirm a pending commit
  • configure – Switch to Configure mode to provision the system.
  • exit – Exit the management session
  • help – View help information
  • quit – Exit the management session
  • request – Make system-level requests
  • reset – Reset the terminal
  • reset-password – Reset another user's password
  • set – Set CLI properties
  • set-path – Set relative show path
  • show – View information about the system
  • source – Select a CLI configuration file to load
  • top – Exit to top level and optionally run command
  • up – Exit one level of configuration

...

Noprint

Back To Top

...

...

Configure Mode

To access Configure mode, enter the following command from CLI prompt:

Code Block
languagenone
admin@SBC1> configure <exclusive | private | no-confirm>

where,

<exclusive | private> represents the type of configuration access for the session, either Exclusive or Private. The no-confirm setting can be used in either Exclusive or Private sessions to suppress system prompts for confirmations when entering commands.

If you enter configure with no argument, the system defaults to the Private session.

The following operations are supported in both Exclusive and Private sessions:

  • commit – Commit the current set of changes
  • delete – Delete a data element
  • edit – Edit a sub-element
  • exit – Exit from this level
  • help – Provide help information
  • quit – Exit from this level
  • request – Make system-level requests
  • revert – Remove latest uncommitted configuration changes from memory
  • rollback – Roll back database to last committed version
  • set – Set a parameter, flag or configuration
  • show – Show a parameter
  • status – Display users currently editing the configuration
  • top – Exit to top level and optionally run command
  • up – Exit one level of configuration

To exit Configure mode, enter either quit or exit.

...

Excerpt Include
CLI Configure Mode
CLI Configure Mode
nopaneltrue

Exclusive Session

...

The Exclusive session allows a user to exclusively configure the system via CLI. Only one exclusive session is possible at a time. An exclusive session cannot start if a private session is in the process of committing changes.

Below is an example of setting configure mode to ‘exclusive’.

Code Block
languagenone
admin@SBC1> configure exclusive
Entering configuration mode exclusive
Warning: uncommitted changes will be discarded on exit
[ok][2013-07-05 01:53:11]
 
[edit]
admin@SBC1%
Info
title

...

Note

Uncommitted changes are discarded upon exit from Configure mode.

...

 

...

Back To Top

Private Session

Multiple private sessions can occur simultaneously.

...

Committed changes in a private session

...

will update the current configuration while other private sessions are open and active.

...

Private sessions are allowed concurrently with an exclusive session; however,

...

private session users cannot commit their changes until the exclusive session ends.

...

 

Note
A total of six simultaneous sessions are allowed at one time (including the exclusive session).

Multiexcerpt
MultiExcerptNameCLI Session Limit
Info
titleNote

Up to 16 simultaneous CLI sessions are allowed.  

 

The following

...

is an example of setting

...

a session to ‘private’:

Code Block
languagenone
admin@SBC1> configure private
Entering configuration mode private
[ok][2013-01-05 17:06:22]
 
[edit]
admin@SBC1%
Info
title

...

Note

Uncommitted changes are discarded upon exit from Configure mode.

...

 

...

Pagebreak