Free tech learning for everyone, from basics to pro

Routing & SwitchingNetworking SecurityBeginner

IOS, IOS XE, IOS XR and NX-OS: the differences that matter to engineers

In short: Cisco uses several operating systems. Classic IOS runs on older routers and switches, IOS XE is its modern Linux-based successor for Catalyst switches and ISR routers, IOS XR runs on service provider routers with a commit-based configuration, and NX-OS runs on Nexus data centre switches with features you enable one by one. The basics feel similar, but the details matter.

Why so many?

Cisco's products grew from different engineering teams and acquisitions, and each market wanted something different. Campus networks wanted familiar commands. Service providers needed huge routers that never go down and are changed under strict control. Data centres needed new features such as vPC and VXLAN quickly. The result is a family of systems with a familiar look but real differences.

Cisco network operating systemsIOSclassic, monolithicIOS XELinux base, Catalyst and ISRIOS XRservice provider routersNX-OSNexus data centreASA / FTDfirewallsMerakicloud managed
Figure 1. The CLI looks similar across many of them, but the software underneath and the way changes are applied are different.

IOS (classic)

The original monolithic operating system. One image contains everything and runs as a single process. Found on older ISR G2 routers and Catalyst 2960, 3560 and 3750 switches, and in many labs. Commands take effect the moment you press Enter.

IOS XE

The modern successor for enterprise products: Catalyst 9000 switches, ISR 1000 and 4000, Catalyst 8000 routers and the 9800 wireless controller. It runs the familiar IOS code as a process on top of a Linux kernel, which allows install-mode upgrades, patches (SMUs), Guest Shell with Python, and programmability with NETCONF and RESTCONF. For most day-to-day work, the commands are the same as classic IOS.

IOS XR

Built for service provider routers such as the ASR 9000, NCS and 8000 series. It is fully modular, with each feature as a separate process, so one crash does not take down the router. The big difference for engineers is commit-based configuration:

RP/0/RSP0/CPU0:PE1# configure
RP/0/RSP0/CPU0:PE1(config)# interface TenGigE0/0/0/1
RP/0/RSP0/CPU0:PE1(config-if)# ipv4 address 10.0.0.1 255.255.255.252
RP/0/RSP0/CPU0:PE1(config-if)# no shutdown
RP/0/RSP0/CPU0:PE1(config-if)# commit

Nothing changes until you type commit, and every commit can be rolled back with rollback configuration last 1. Interfaces are shut down by default, routing policy is written in RPL instead of route maps, and eBGP neighbours need explicit inbound and outbound route policies before they exchange any routes.

NX-OS

Runs on Nexus data centre switches. Also Linux-based and modular. Key differences:

  • Most protocols must be turned on first: feature ospf, feature interface-vlan, feature lacp, feature vpc.
  • Interfaces are named Ethernet1/1 whatever their speed, and are often Layer 3 (routed) by default on some models.
  • Routing protocols are enabled under the interface: ip router ospf 1 area 0.
  • Configuration is applied immediately, but checkpoints and rollback are built in.
  • Prefix lengths are written with a slash: ip address 10.1.1.1/24.

Tips when switching between them

  • show version tells you exactly which system and release you are on.
  • Remember to commit on IOS XR, and to copy running-config startup-config on IOS, IOS XE and NX-OS.
  • Keep a small "translation sheet" of common commands for each system you support.

Real-world example: the change that never happened

A new engineer at a provider configured a customer's BGP session on an IOS XR router, saw everything typed correctly, and left. The next morning the customer was still down. The engineer had exited configuration mode and answered "no" when asked about uncommitted changes. On IOS XR, nothing had ever been applied. The team now includes "confirm commit" in its change checklists.

Practice

Which Cisco operating system uses commit-based configuration?
IOS XR.
On NX-OS, what must you usually do before configuring OSPF?
Enable it with feature ospf.
What runs underneath IOS XE?
A Linux kernel, with IOS running as a process on top.

Key takeaways

  • IOS is the classic monolithic system; IOS XE is its Linux-based successor.
  • IOS XR runs provider routers and only applies changes on commit.
  • NX-OS runs Nexus switches and needs features enabled first.
  • show version tells you which system you are on.
Tracks your learning on this device only. See your progress on the learning paths.
Verified author✓ Valid
Issued to
Mohamed Fayas
Role
Founder of FM TecHub
Credentials
CCNABTEC HND Network EngineeringBEng (Hons) Computer Networking & Cloud Security
Issuer
FM TecHub · fmtechub.com

He writes practical, plain-English guides on networking, security and cloud.

More about the author →

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Email updates: coming soon

New notes, tools and security news from FM TecHub by email, explained simply. Free. We're not collecting email addresses yet; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesopening soon

Meanwhile, stay connected: