User’s Manual of
The Command Line Interface (CLI) syntax, conventions and terminology are described in this section. Each CLI command is illustrated using the structure outlined below.
IntroductionTo assist in configuring devices, the CLI
From each mode a specific command is used to navigate from one command mode to another. The standard order to access the modes is as follows: User EXEC mode, Privileged EXEC mode, Global Configuration mode, and Interface Configuration mode. The following figure illustrates the command mode access path.
When starting a session, the initial mode is the User EXEC mode. Only a limited subset of commands is available in User EXEC Mode. This level is reserved for tasks that do not change the configuration. To enter the next level, the Privileged EXEC mode, a password is required.
The Privileged mode gives access to commands that are restricted on EXEC mode and provides access to the device Configuration mode.
The Global Configuration mode manages the device configuration on a global level. For specific interface configurations enter the next level, the Interface Configuration Mode.
The Interface Configuration mode configures specific interfaces in the device.
User EXEC ModeAfter logging into the device, the user is automatically in user EXEC command mode unless the user is defined as a privileged user. In general, the user EXEC commands allow the user to perform basic tests, and list system information.
The
console >
The default host name is "Console" unless it has been changed using the hostname command in the Global Configuration mode.
Privileged EXEC ModeBecause many of the privileged commands set operating parameters, privileged access is password protected to prevent unauthorized use. The password is not displayed on the screen and is case sensitive.
Privileged users are entered directly into the Privileged EXEC mode. To enter the Privileged EXEC mode commands from the User EXEC mode perform the following: At the prompt enter the command enable and press <Enter>. A password prompt is displayed. Enter the password and press <Enter>. The password is displayed as "*". The privileged EXEC mode prompt is displayed. The Privileged EXEC mode prompt consists of the device "host name" followed by "#".
console #
- 154 –