Command Mode Prompts and Commands
The following table summarizes basic command mode prompts and other commands.
|
Mode |
Prompt |
To Enter |
To Exit |
|
User EXEC |
Router> |
Press <enter>, then log in |
exit |
|
Privileged EXEC |
Router# |
enable |
disable (exit disconnects) |
|
Global Configuration |
Router(config)# |
config terminal |
exit, ^Z* |
|
Line |
Router(config-line)# |
line <type> <number> |
exit, ^Z* |
|
Interface |
Router(config-if)# |
interface <type> <number> |
exit, ^Z* |
|
Subinterface |
Router(config-subif)# |
interface <type> <number>.<subnumber> |
exit, ^Z* |
|
Router |
Router(config-router)# |
router <type> |
exit, ^Z* |
|
Setup |
None, interactive dialog |
setup |
^C |
|
ROM Monitor |
rommon> |
ROM Monitor mode lets you configure your router if the router can't find a valid system image, or if the boot sequence is interrupted when you start the router. It is an emergency command-line access to the router. To go to EXEC mode from this mode, type continue at the prompt. |
|
|
RXBoot |
<boot> |
RXBoot mode lets a router boot with a limited version of the IOS when it cannot find a valid IOS image in Flash. You enter RXBoot mode by modifying the configuration register before rebooting the router. |
|
*^Z (Ctrl + Z) exits all configuration modes to privileged EXEC mode. exit "backs up" one configuration mode.