Use it to navigate safely, distinguish configuration from observation, and capture the exact platform and release before applying syntax.
IOS / IOS XE Fundamentals
IOS and IOS XE expose hierarchical CLI modes, running/startup configuration, software/platform identity and operational state.
1. IOS/IOS XE has user EXEC, privileged EXEC and configuration modes.
2. Running config is in RAM; startup config in NVRAM.
3. copy running-config startup-config (or write memory) saves.
4. Use show commands before changing anything.
5. Use ? and Tab for help and completion.
user EXEC → enable → configure terminal → change → verify → save
1. Record model, serial, image, release and uptime.
2. Confirm privilege and current configuration mode.
3. Inspect running state before changing it.
4. Make the smallest scoped change.
5. Verify and deliberately save only approved state.
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show running-config | section interfaceVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Everyday commands Verify boundary
show running-config | section interface
show running-config | include hostname|ntp|logging
show version | include uptime|Version|System image
show ip interface brief
copy running-config startup-config
archive config ; show archive
configure replace flash:backup.cfg
configure replace rolls back to a saved configuration safely; reload in 10 before risky remote changes gives an automatic recovery.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
Subtopics
Go one level deeper into this subject.
Deep reference for Cisco IOS/IOS XE CLI navigation, EXEC/configuration modes and command-context boundaries.
Subtopic ConfigurationDeep reference for IOS/IOS XE running/startup configuration, change persistence and configuration-file boundaries.
Subtopic Device InformationDeep reference for identifying Cisco device software, hardware, uptime, inventory and license/platform context.
- 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.
show version— software, uptime, reload reasonshow running-config— active configshow ip interface brief— interface state and IPs
ReferenceWhat it is1 section · depth on demand
What this area covers
IOS and IOS XE share the same CLI model:
| Mode | Prompt | Used for |
|---|---|---|
| User EXEC | Router> | Basic show commands |
| Privileged EXEC | Router# | All show, debug, copy and reload commands |
| Global configuration | Router(config)# | Device-wide settings |
| Sub-modes | Router(config-if)# etc. | Interfaces, routing processes, lines |
Changes go into the running-config immediately; copy running-config startup-config (or write memory) saves them for the next reload. show version gives the software release, uptime and platform; show inventory gives serial numbers.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
IOS and IOS XE fundamentals
Cisco routers and switches are operated through a command-line interface organised in modes. Cisco's IOS XE CLI fundamentals guide describes the hierarchy: user EXEC (Router>) after login, privileged EXEC (Router#) after enable, global configuration (Router(config)#) after configure terminal, and sub-modes such as interface configuration (Router(config-if)#). Configuration changes take effect immediately in the running configuration and are lost on reboot unless saved with copy running-config startup-config.
Building blocks
| Element | Purpose |
|---|---|
| Command modes | Separate viewing, privileged actions and configuration |
| Running configuration | Active configuration in memory |
| Startup configuration | Configuration loaded at boot |
| Context-sensitive help | ? lists commands and arguments |
| Abbreviation | Any unique prefix (conf t) |
no and default forms | Disable a feature or restore its default |
| Output filters | | include, | begin, | exclude |
| ROM monitor | Low-level mode for recovery and boot problems |
Switch> enable
Switch# configure terminal
Switch(config)# hostname ACC-2F-01
ACC-2F-01(config)# interface GigabitEthernet1/0/5
ACC-2F-01(config-if)# description PC-1025
ACC-2F-01(config-if)# end
ACC-2F-01# copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
ACC-2F-01# show version | include IOS XE|uptime
Cisco IOS XE Software, Version 17.12.04
ACC-2F-01 uptime is 41 weeks, 2 days, 3 hours, 12 minutes
IOS versus IOS XE
| Classic IOS | IOS XE | |
|---|---|---|
| Architecture | Monolithic | IOS daemon on a Linux kernel, with separate processes |
| Platforms | Older routers and switches | Catalyst 9000, ISR 1000/4000, Catalyst 8000, ASR 1000 |
| Programmability | Limited | NETCONF, RESTCONF, gNMI, guest shell |
| CLI | Same command style | Same command style, with additions |
Working safely
Read before changing (show running-config), change in small steps, verify, then save. Use reload in <minutes> before risky remote changes so the device reverts if you lock yourself out.
Documented example, not captured output.
Quick reference
Cisco IOS and IOS XE are the operating systems on most Cisco routers and switches. Knowing how the command line is organised, how configurations are saved and how software is managed is the basic skill set for working on these devices.
IOS / IOS XE fundamentals: privilege levels (user EXEC, privileged EXEC, configuration modes), running vs startup config, file systems (flash:, bootflash:), install mode on IOS XE (packages, install add file … activate commit), and show/debug commands.
show version | include IOS|uptime|System image
show running-config | section interface Gi1/0/1
show archive config differences nvram:startup-config system:running-config
copy running-config startup-config
install add file flash:cat9k_iosxe.17.12.05.SPA.bin activate commit
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in IOS / IOS XE Fundamentals. 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%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
IOS / IOS XE Fundamentals evidence chain
Configuration, operational state, counters and downstream proof remain separate.
| Boundary | Question | Evidence | Does not prove |
|---|---|---|---|
| Definition | What is configured or intended? | running configuration / controller policy | live operation |
| Local state | Is the feature active at the expected scope? | show version | remote success |
| Counters | Did controlled traffic or an event reach this stage? | scoped counters/timestamps | complete return path |
| Next boundary | What consumes or transports this state? | platform/release → privilege/mode → running configuration → operational state → controlled change → verification/persistence | application success |