Navigating the CLI
You can use the commands described in this topic to navigate the CLI. For a complete description of the CLI, see Command-Line Interface.
To navigate the CLI:
- Move from User Exec to Privileged Exec mode. Privileged
Exec mode allows you to access all other user interface modes. From
here you can configure, monitor, and manage all aspects of the router.
You can access the Privileged Exec commands using one of 16 levels
of command privilege. If you do not enter a privilege level and you
are not accessing the router through a RADIUS authentication account,
the default CLI access level is 10. For information about CLI levels
of access, see Privileged-Level Access in Command-Line Interface.host1>enable 15host1#
Set a password for this mode by using either the enable password or the enable secret command in Global Configuration mode. This protects the system from any unauthorized use. Once a password is set, anyone trying to use Privileged Exec mode will be asked to provide the password.
host1>enablepassword:*******host1# - Enter Global Configuration mode. This mode provides access
to other configuration modes, such as Interface Configuration mode.
See Command-Line Interface.
- To allow other commands to be executed from a terminal:host1#configureConfiguring from terminal or file [terminal]?Enter configuration commands, one per line. End with CNTL/Z.host1(config)#
- To allow other commands to be executed from a file:host1#configureConfiguring from terminal or file [terminal]? fileFile name: system1.scrProceed with configure? [confirm] host1(config)#

Note: This command is not allowed for a short time after a warm restart (warm switchover) occurs. This delay allows some applications time to complete their warm-restart initialization. However, if the warm restart is not complete in 5 minutes, the warm start is cancelled and configuration access is restored.
- To allow other commands to be executed from a terminal:
- Issue an Exec mode command from any CLI configuration
command mode. The run command functions the same as the do command.host1(config)#run show configuration | begin interface
- Issue an Exec mode command from any CLI configuration
command mode. The do command functions the same as the run command.host1(config)#do show configuration | begin interface
- Exit Global Configuration
mode or any of the other Configuration modes and return to the User
Exec mode. You may also use Ctrl+z to exit these modes.host1(config)#end host1#
- Display basic information about the interactive help
system.host1#helpUse the help options as follows:
?, or command<Space>? - Lists the set of all valid next keywords or argumentspartial-keyword? - Lists the keywords that begin with a certain character stringpartial-keyword<Tab> - Completes the partial keyword - Make the CLI pause
for a specified period of time (in seconds). Pausing is very useful
in configuration script files.host1#sleep 60
- Move to a lower Privileged Exec mode level without returning
to User Exec mode. Specifying a privilege level after the disable command changes the Privileged Exec mode to
the lower level that you specify; you do not return to User Exec mode.host1#show privilege Privilege level is 10host1#disable 5 host1#show privilege Privilege level is 5
- Exit Privileged Exec mode and return
to User Exec mode.host1#disablehost1>
- Exit the current
command mode or the system when issued from the User Exec mode.host1#exithost1>
Hide Navigation Pane
Show Navigation Pane
SHA1