Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Navigation

Direct answer

IOS/IOS XE CLI navigation moves between user EXEC (>), privileged EXEC (#, via enable) and configuration modes (configure terminal, then interface/router sub-modes); exit, end and Ctrl-Z move back up.

When to use this

Use it when learning the IOS CLI, or when a command is rejected because you are in the wrong mode.

First 30 seconds

1. Navigation: modes, help (?), Tab completion, abbreviations, output filters.

2. do runs EXEC commands from config mode.

3. end/Ctrl+Z returns to privileged EXEC.

4. Filters: include, exclude, begin, section.

5. terminal length 0 for full captures.

Operational verification

user EXEC → privileged EXEC → global config → interface config

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE
Key commandenable
Scope / prerequisiteUse it when learning the IOS CLI, or when a command is rejected because you are in the wrong mode.
Configure · 1Reference · 6
What next?3 suggested next steps
Catalog command links7
Evidence0
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification and output interpretation Verify boundary

Verify the prompt/mode, use show running-config or scoped show commands to confirm resulting state, and distinguish leaving a submode with exit from returning directly to privileged EXEC with end. Prefer read-only canonical commands first and preserve exact software release, hardware identity and configuration scope in copied evidence. Compare active state with intended state and, where persistence matters, compare running and startup sources. For a claim about forwarding or protocol behavior, follow the configuration evidence with the corresponding operational table rather than stopping at configuration text.

Command lookup Jump straight to Cisco syntax
Key points
  • User EXEC, privileged EXEC, global and subconfiguration modes have different scope
  • Running-config is active state; startup-config is boot input
  • IOS XE separates a Linux-based platform and modular processes from the IOS CLI experience
  • Syntax and feature support remain model, license and release specific.
Key checks
  • show history — recent commands
  • terminal length 0 — no paging for captures
  • show running-config | include <text> — filter output
ReferenceWhy it matters1 section · depth on demand

When to use it

Use it to navigate safely, distinguish configuration from observation, and capture the exact platform and release before applying syntax.

ReferenceImportant terms & boundaries4 sections · depth on demand

In depth

Navigating the IOS XE CLI

The CLI is fast once its navigation aids are familiar. Cisco's IOS XE CLI fundamentals guide documents them: ? for context-sensitive help (with or without a space), Tab completion, unique abbreviations, a command history (10 lines by default) recalled with the Up arrow or Ctrl-P, and editing keys for moving and deleting within a line.

Moving between modes (CLI guide)

FromCommandTo
User EXECenablePrivileged EXEC
Privileged EXECconfigure terminalGlobal configuration
Global configurationinterface <type> <number>Interface configuration
Any configuration modeexitOne level up
Any configuration modeend or Ctrl-ZPrivileged EXEC
Privileged EXECdisableUser EXEC

Help and completion (CLI guide)

InputResult
?Commands in the current mode
sh? (no space)Commands starting with "sh"
show ip ? (with space)Next keywords or arguments
<cr> in help outputCommand is complete; press Enter
TabCompletes a partial keyword

Editing keys (CLI guide)

KeyAction
Ctrl-A / Ctrl-EStart / end of line
Ctrl-UDelete to start of line
Ctrl-KDelete to end of line
Ctrl-WDelete word to the left
Ctrl-P / Up arrowPrevious command
R1# show ip int?
interface
R1# show ip interface ?
  Async               Async interface
  GigabitEthernet     GigabitEthernet IEEE 802.3z
  brief               Brief summary of IP status and configuration
R1# show ip interface brief | exclude unassigned
R1# show running-config | begin router ospf
R1(config-if)# do show ip interface brief
R1# terminal length 0
R1# show history

do runs an EXEC command from configuration mode; terminal length 0 turns off paging for the session.

Paging (CLI guide)

At a --More-- prompt, /regex searches forward, +regex shows matching lines and -regex hides them; Ctrl-Z stops the output.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

IOS / IOS XE navigation uses a hierarchy of modes: user EXEC (>) for basic checks, privileged EXEC (#) for full show and debug, global configuration ((config)#) and sub-modes for interfaces, routing and lines.

Key/commandUse
enable / disableEnter/leave privileged EXEC
configure terminalGlobal configuration
exit / end / Ctrl+ZUp one level / back to EXEC
?Context help
TabComplete command
do show ...Run EXEC commands from config mode
Output filters include, section, beginFilter long output after a pipe

Commands can be abbreviated to the shortest unique prefix (sh ip int br).

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Architecture/protocol mechanics and state model

IOS/IOS XE CLI navigation is a hierarchy of EXEC and configuration modes; the prompt and current mode determine which commands are valid and whether a command changes running state. Cisco IOS/IOS XE reference work should keep parser context, active running state, persistent startup state and device runtime state as separate concepts. Commands can be syntactically valid in one mode and invalid or semantically different in another. A useful reference records the exact prompt/mode and distinguishes observation commands from state-changing commands, because the CLI itself is an interface to multiple subsystems rather than a single flat shell.

Limits and common misconceptions

Being at a privileged prompt shows only authorization to run commands, but it does not show saved configuration, device health or that a previous change persists across reload. CLI state, stored configuration, software image, hardware inventory and service health are different evidence layers. The site should make those boundaries explicit and leave live fault synthesis to ChatGPT. Exact output fields and some defaults vary by platform/release, so generic Cisco references should retain version context whenever a feature claim depends on it.

ReferenceConfiguration & state1 section · depth on demand

Design and configuration intent

Treat mode transitions as an operational boundary: privileged EXEC is normally the observation/administration context, while global and subconfiguration modes change the active running configuration. Configuration intent should be reviewable before and after change. Capture the relevant current state, make the smallest scoped change, verify the resulting runtime behavior and decide explicitly whether persistence across reload is intended. Avoid equating command acceptance with technical success, and avoid saving unrelated changes simply because the device has unsaved configuration.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

Authoritative/upstream documentation reviewed for bounded claims in IOS / IOS XE Fundamentals → Navigation. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%
2026-09-13 · vendor docCisco IOS / IOS XE CLI fundamentals

Official Cisco CLI-mode and navigation reference reviewed for. Verification covers the reference concepts represented by this Topic; deployment-specific runtime behavior still requires local evidence.

Basis: https://www.cisco.com/c/en/us/td/docs/ios/ios_xe/fundamentals/configuration/guide/2_xe/cf_xe_book/cf_cli-basics_xe.pdf · confidence 92%
Embedded reference data

Quick lookup tables

Navigation · operational reference

Compact state/design/evidence reference for fast lookup.

ContextPurposeKey boundary
User EXEC >Limited observationNot configuration mode
Privileged EXEC #Operational/admin commandsStill not config mode
Global config (config)#System configurationChanges running state
SubmodeFeature/interface scopeScope controls command meaning
Confirmation

Confirm action

Continue?