VMware ESXi and vSphere Cluster Management
Powering On a Cisco IOS Device: POST and Initial Setup Mode
Learn what happens when a Cisco IOS router or switch starts, how POST checks hardware, and how to enter, use, or cancel the initial setup dialog.
When a new Cisco router or switch is powered on, it does more than immediately display a command prompt. The device first checks its hardware, identifies the available components, and then determines how to continue startup. If no saved configuration is available, Cisco IOS can offer an interactive initial setup dialog.
Cisco IOS is Cisco's network-device operating system and command-line environment. A console connection is commonly used during first startup because it shows boot messages and provides local access for configuration.
The Cisco IOS First-Power-On Sequence
| Stage | What the Device Does | What the Administrator Should Observe or Do |
|---|---|---|
| Power applied | The device begins its boot process and initializes its hardware. | Connect to the console and monitor the startup messages. |
| POST | The device discovers installed hardware and checks whether required components are operating. | Look for successful diagnostic output or messages indicating a hardware problem. |
| Initial setup prompt | After successful startup, IOS may ask whether to enter the initial configuration dialog when no saved configuration is available. | Enter yes to begin the guided setup, or decline it to continue without the dialog. |
| Setup dialog or normal CLI access | The device either asks configuration questions or provides normal command-line access. | Complete the questions, or configure the device manually through the IOS CLI. |
What POST Does
Power-on self-test (POST) is the startup diagnostic process that runs after power is applied. POST discovers installed hardware and verifies that important components can perform basic operations.
- It helps identify the hardware present in the device.
- It checks required components before normal software operation continues.
- It produces console messages and may be accompanied by status indicators.
- Its results help distinguish a startup hardware problem from a configuration problem.
A successful POST allows the device to proceed with the rest of its startup process. If POST reports a failure or the device does not proceed beyond diagnostics, focus first on hardware, power, or boot conditions rather than on the initial configuration dialog.
Initial Setup Mode
Setup mode is an interactive, question-based IOS process for creating an initial device configuration. After a successful startup, a device without a saved configuration may display a question asking whether to enter the initial configuration dialog.
Respond affirmatively with:
yes
The dialog then presents a sequence of basic questions. The exact questions vary by IOS platform and software version, but they commonly cover:
- The device hostname, which is the name shown in prompts and used to identify the device.
- Administrative password settings.
- Management or interface IP addressing.
- Other foundational settings offered by that platform's setup dialog.
The answers are used to produce the device's initial configuration file, meaning the starting configuration created through the setup process. Review the prompts carefully because the available options and wording can differ between routers, switches, and IOS releases.
Example: First Startup of a New Device
- Apply power to the router or switch.
- Open a console session and monitor the boot output.
- Identify the POST portion of the output and confirm that the device proceeds beyond the hardware checks.
- When IOS asks whether to enter the initial configuration dialog, enter
yes. - Answer the questions for the hostname, password settings, interface or management IP address, and other requested foundational settings.
- Finish the dialog so IOS can create the initial configuration.
Setup mode is guided configuration, not a replacement for understanding the IOS command-line interface. It is useful when an administrator is unfamiliar with IOS command syntax or wants a question-based starting point. Administrators who understand IOS command modes and configuration commands commonly configure devices directly through the CLI instead.
Guided Setup Versus Manual CLI Configuration
| Approach | How It Works | Typical Use |
|---|---|---|
| Guided setup | IOS asks a series of questions and uses the answers to create an initial configuration. | Helpful for beginners or for a quick, basic starting configuration. |
| Manual CLI configuration | The administrator enters commands in the appropriate IOS command modes. | Preferred when precise, repeatable, or platform-specific configuration is required. |
Starting Setup Mode After Initial Boot
Setup mode is not limited to the first time the device is powered on. If the initial dialog was skipped, an administrator can start it later from privileged EXEC mode.
Privileged EXEC mode is the higher-permission operational mode in the IOS command-mode hierarchy. A simplified hierarchy is:
- User EXEC mode: limited operational commands; the prompt commonly ends with
>. - Privileged EXEC mode: administrative and diagnostic commands; the prompt commonly ends with
#. - Configuration modes: modes used to change global, interface, and other configuration settings.
The setup command is launched from privileged EXEC mode:
Router# setup
Running this command starts the interactive configuration workflow so you can answer the same general categories of questions later in the device's operation.
Setup Mode Actions
| Goal | Required Access or Input | Result |
|---|---|---|
| Enter setup during first startup | Enter yes at the initial configuration prompt. | IOS begins the guided setup dialog. |
| Launch setup later | Reach privileged EXEC mode and enter setup. | IOS reopens the guided configuration process. |
| Cancel setup without saving | Press Ctrl+C while the dialog is active. | The interactive process is interrupted and its pending setup-dialog changes are not saved. |
Leaving the Setup Dialog Without Keeping Changes
If setup was started accidentally or the answers should not be retained, press Ctrl+C while the interactive dialog is active.
Ctrl+C
This interrupts and exits the setup process. The unfinished changes from that guided session are abandoned rather than saved. If configuration is needed later, restart setup with the setup command from privileged EXEC mode or configure the device manually.
Troubleshooting Startup and Setup
The device does not proceed beyond POST
Treat this as a potential hardware or boot problem rather than an initial-configuration problem. Review the console messages and device status indicators. Confirm that the device has stable power and note any diagnostic error information before attempting setup mode.
The initial dialog was skipped
Access privileged EXEC mode and run:
Router# setup
The guided workflow can be started after the initial boot; it is not available only during the first power-on.
Setup was started accidentally
Press Ctrl+C while the dialog is active. This exits the dialog and avoids saving the pending answers from that setup session.
The setup command is unavailable
Check the current prompt and command mode. A prompt ending in > usually indicates user EXEC mode, while a prompt ending in # commonly indicates privileged EXEC mode. Move to privileged EXEC mode before running setup.
Key Points to Remember
- Power is applied before the device begins its startup diagnostics.
- POST discovers hardware and checks that required components function.
- A successful POST allows IOS to continue toward normal operation and possible initial setup.
- The startup dialog is a guided way to create an initial configuration file.
- Common setup questions cover the hostname, administrative passwords, interface or management IP addressing, and other basic settings.
- The
setupcommand starts the dialog from privileged EXEC mode. Ctrl+Cexits the active dialog without saving its pending setup changes.