Cisco IOS Command Modes Explained: User EXEC, Privileged EXEC, and Global Configuration Modes (2024 Guide)

Cisco IOS configuration modes CLI example: Privileged EXEC to Global Configuration Mode transition.

Learn how to navigate Cisco IOS configuration modes using CLI commands like enable and configure terminal.

Introduction – Cisco IOS Command Modes

Cisco IOS devices use hierarchical command modes to control access and prevent accidental misconfigurations. Whether you’re managing a router, switch, or preparing for the CCNA exam, understanding these modes is critical:

  • User EXEC Mode: Basic monitoring commands.
  • Privileged EXEC Mode: Advanced diagnostics and configuration access.
  • Global Configuration Mode: Device-wide settings.

In addition, the Global configuration mode contains sub-configuration Modes. The figure below illustrates the Cisco IOS sub-configuration modes, also called extended configuration mode or specific configuration mode of the global configuration.

Router ModePrompt
Global ConfigurationRouter(config)#
Interface ConfigurationRouter(config-if)#
Controller ConfigurationRouter(config-controller)#
Map-list ConfigurationRouter(config-map-list)#
Line ConfigurationRouter(config-line)#
Router ConfigurationRouter(config-router)#
IPX-router ConfigurationRouter(config-ipx-router)#
DHCP ConfigurationRouter(dhcp-config)#

Why This Matters for CCNA: Over 30% of CCNA exam labs involve navigating these modes. Let’s break them down.


User EXEC Mode

User EXEC Mode, or User mode, is the first Cisco IOS mode a user enters after logging in and getting access to the router. We can recognize user mode by its prompt.

PromptRouter>
Access Level: Limited (view-only).

Key Commands & Examples

  • show running-config → Fails! (Requires Privileged EXEC).
  • ping 192.168.1.1 → Tests connectivity.
  • enable → Switches to Privileged EXEC.

The router’s default name is Router, and the switch’s default name is Switch. We can change the default hostname from Global Configuration mode using the hostname command.

The user mode is usually password-protected. You need a valid username and password to access this mode. This mode allows the user to execute only the basic commands, such as those that show the system’s status. The router cannot be configured or restarted from this mode. The figure below illustrates the user mode at the CLI.

CCNA Tip: User EXEC is the default mode after login. Use disable to return here from Privileged EXEC.


Privileged EXEC Mode: Admin Access

This mode is also known as enable mode. Privileged exec mode allows a user to view extensive information about the router’s configuration and change some configuration parameters. It is also password protected. The user should enter the password to access this mode.

In the lab environment, it’s usually unprotected. You can use this mode by executing an enable command at user exec mode. We can list all available commands of this mode by entering a command-line interface (CLI). Most commands of this mode are one-time commands. Which shows the result, the current status, and clear counters on interfaces? We can enter common show commands from user exec or privileged exec modes. The Exec mode commands do not save when the device is rebooted.

PromptRouter#
Access Level: Full control (read/write).

How to Enter

Critical Commands

  • show running-config → Views current settings.
  • reload → Reboots the device.
  • configure terminal → Enters Global Configuration Mode.

Troubleshooting Example:

Solution: VLAN commands require Global Configuration Mode.


Global Configuration Mode: Making Changes

The configuration mode is only a temporary gateway IOS mode to get to the extended configuration modes. Global configuration mode is used for configuring devices globally or to enter an element, like an interface or protocol-specific configuration mode. Access global configuration mode in the configure terminal command at privileged exec mode.

Global and extended (specific) configuration modes allow users to change the running configuration. By default, the running configuration is not stored across reboots, but you can save it to keep it across reboots. To save the running configuration, copy the running-config startup-config from privileged EXEC mode commands. We have used three commands to return to privileged exec mode from global or specific configuration modes.

  • Ctrl + Z – This key combination works in all modes.
  • Exit – Only works in global configuration mode
  • The end command is the safest way to exit from global configuration or interface-specific modes.

PromptRouter(config)#
Access Level: Configuration access.

Step-by-Step Guide

Global Configuration Mode
Cisco IOS Command Modes Explained: User EXEC, Privileged EXEC, and Global Configuration Modes (2024 Guide) 3

Key Submodes:

  • Interface ConfigurationRouter(config-if)#
  • Line Configuration (SSH/Telnet)Router(config-line)#
  • Router Configuration (OSPF, EIGRP)Router(config-router)#

Subconfiguration Modes Demystified

SubmodePromptUse Case
InterfaceRouter(config-if)#Assign IP addresses, VLANs.
LineRouter(config-line)#Configure SSH, passwords.
RouterRouter(config-router)#Set up OSPF, BGP.

Example:


IOS XE vs. Traditional IOS: What’s New in 2024?

Modern devices (e.g., Catalyst 9000 switches) use IOS XE, which adds:

  • Guest Shell: A Linux container for Python scripting.
  • RESTCONF API: Configure devices via HTTP requests.

Mode Transition in IOS XE:


Troubleshooting Common Errors

Error 1: % Invalid input detected

Cause: Wrong mode for the command.
Fix:

Error 2: % Ambiguous command

Cause: Abbreviated command matches multiple options.
Fix:


Setup Mode

When a Cisco router is powered on, it first runs a POST test to ensure all hardware is working fine, and then the router tries to find the running configuration. If the router finds the configuration, it will load it. It will start the setup mode if it fails to see the configuration. The setup mode is a step-by-step process that helps you configure the router’s essential aspects. In this mode, the router will ask questions about the first settings in a sequence for fundamental configuration values. Depending on your answers, the router will automatically build the initial configuration.


ROMMON Mode

ROMMON Mode, or ROM Monitor Mode, is used if a router does not find a valid IOS image during the boot process and fails to load IOS in RAM. It will enter ROMMON mode. We can also access ROMMON Mode manually.

It is the diagnostic mode, just like the safe mode in Windows. By default, the router does not enter ROMMON Mode unless it fails to find the IOS image. To enter manually in ROMMON mode, execute the reload command from privileged exec mode, press the CTRL + C key combination, or break during the first 60 seconds of startup. We can also use this mode to recover passwords. Prompt for this mode is rommon>


Conclusion

Mastering Cisco IOS modes is the foundation of network administration. Bookmark this guide, practice with our CLI examples, and ace your next CCNA lab!

FAQs

  • What is the difference between User EXEC and Privileged EXEC mode in Cisco IOS?

    User EXEC allows basic monitoring, while Privileged EXEC grants full configuration access using enable.

  • How do I enter Interface Configuration Mode from Global Configuration Mode?

    Use interface [type/number] (e.g., interface GigabitEthernet0/0) in Global Config Mode

  • Why can’t I run show running-config in User EXEC mode?

    show running-config requires Privileged EXEC mode access. Use enable to switch modes.

  • What is the do command used for in Cisco IOS?

    The do command lets you execute Privileged EXEC commands directly from Global Configuration Mode.

  • How do I save configuration changes in Cisco IOS?

    Use copy running-config startup-config in Privileged EXEC Mode to save changes.

Self-Assessment – Cisco IOS Command Modes Self-Assessment – Cisco Router Interfaces Self-Assessment – How to Connect and Access Cisco Router Self-Assessment – In-band vs Out-of-band Network Management Self-Assessment – Network Layer