
User top commands:
Router> ? |
|
|
enable | Turn on privileged mode command | |
exit | Exit current | mode and down to previous mode |
help | Description of the interactive help system | |
ping | Send echo messages | |
quit | Exit current | mode and down to previous mode |
show | Show running | system information |
tracert | Trace route to destination | |
cls | Clear screen |
|
Router> |
|
|
|
|
|
You may also enter a question mark after a letter or string of letters to view all the commands that start with that letter (with no space between the letter and the question mark). See section 3.8.2.
3.2 Privileged Top (Privileged EXEC) Mode
Because many of the privileged commands set the system configuration parameters, privileged access can be password protected to prevent unauthorized use. The privileged command set includes those commands contained in user EXEC mode, as well as the configure command through which you can access the remaining command modes. Privileged EXEC mode also includes
The following example shows how to access privileged EXEC mode. Note that the prompt changes from Router> to Router#:
Router> enable
Password:
Router#
Command | Purpose |
|
|
Router> enable [password] | Enters the privileged EXEC mode. |
|
|
Router# ? | Lists privileged EXEC commands. |
|
|
If the user has set a password, the system prompts for it before allowing access to privileged EXEC mode. If an enable password has not been set, the enable mode can be accessed only through the console. The user can enter the enable password global configuration command to set the password that restricts access to privileged mode.
To return to user EXEC mode, use the following command:
Command | Purpose |
|
|
Router# disable | Returns you to user EXEC mode from privileged |
| EXEC mode. |
In general, the top (privileged) commands allow you to change terminal settings on a temporary basis, perform basic tests, and list system information. To list the commands available in top mode, enter a question mark (?) at the prompt, as shown in the following example. Enter a question mark (?) after a command to see all the options for that command.
20