Basic and Essential Cisco IOS Commands for Device Management

This article provides a complete and practical guide to the most important basic Cisco IOS commands. It covers switching between different modes (enable, disable, exit, configure terminal), setting hostname, entering interface mode, viewing IP information, displaying and managing configurations (running-config and startup-config), as well as commands for saving and erasing configuration. Each command is explained with clear descriptions and practical examples.

Cisco IOS Basic Commandsenable conf tshow running-config

~3 min read · Updated Apr 8, 2026

Introduction

Learning the basic Cisco IOS commands is the first and most important step when working with Cisco routers and switches. These commands allow you to move between different device modes, perform configurations, check the device status, and save or erase changes.

Mode Switching Commands

1. enable

Moves from User EXEC mode to Privileged EXEC mode and grants access to advanced commands.

Router> enable
Router#

2. disable

Returns from Privileged EXEC mode back to User EXEC mode.

Router# disable
Router>

3. exit

Moves up one level from the current mode (for example, from Interface mode to Global Configuration or from Global Configuration to Privileged EXEC).

Router(config-if)# exit
Router(config)#

4. conf or configure terminal

Enters Global Configuration mode to make changes that affect the entire device.

Router# configure terminal
Router(config)#

You can also use the short form: conf t

Hostname and Interface Commands

5. hostname

Changes the name of the device.

Router(config)# hostname R1
R1(config)#

6. interface gi (or interface GigabitEthernet)

Enters the configuration mode for a specific interface.

R1(config)# interface GigabitEthernet0/0
R1(config-if)#

Common short form: int gi0/0

Show Commands

7. show ip interface brief

Displays a summary of all interfaces with their IP addresses and status.

R1# show ip interface brief

8. show ip interface

Shows detailed information about a specific interface or all interfaces (status, IP address, subnet mask, etc.).

R1# show ip interface GigabitEthernet0/0

9. show running-config

Displays the current configuration stored in RAM (running-config).

R1# show running-config

10. show startup-config

Displays the saved configuration in NVRAM that will be loaded on the next boot.

R1# show startup-config

Saving and Erasing Configuration

Saving the Configuration

To make sure your changes survive a reboot, you must copy the running-config to startup-config.

R1# copy running-config startup-config
or
R1# write memory
or short form:
R1# wr

Erasing the Configuration

To completely delete the saved configuration:

R1# erase startup-config
or
R1# write erase

After this command, you usually reload the device to return it to factory default settings.

Complete Example: Basic Router Configuration

Router> enable
Router# configure terminal
Router(config)# hostname R1
R1(config)# interface GigabitEthernet0/0
R1(config-if)# ip address 192.168.1.1 255.255.255.0
R1(config-if)# no shutdown
R1(config-if)# exit
R1(config)# exit
R1# show running-config
R1# copy running-config startup-config
R1# show startup-config

Important Tips

  • Always run copy running-config startup-config before powering off the device.
  • show ip interface brief is the fastest way to check the status of all interfaces.
  • Use the exit command to move up one level at a time.
  • You can quickly exit any mode by typing end or pressing Ctrl + Z.

Conclusion

These basic commands are the fundamental tools for working with Cisco IOS. With regular practice, you will quickly become comfortable in the Cisco CLI and be able to configure, monitor, and troubleshoot devices efficiently.

Written & researched by Dr. Shahin Siami

Related Articles

SDN and SD-WAN Fundamentals: Separating the Control Plane from the Data Plane

Traditional networking, covered throughout most of this series, distributes intelligence across every individual device, each making its own independent forwarding decisions. Software-Defined Networking fundamentally changes this by centralizing that intelligence, and this article explains the control plane and data plane separation underlying SDN, covers how SD-WAN applies these principles specifically to wide area network connectivity, and explains the practical benefits this architectural shift provides.

Continue

Enterprise Network Architecture: The Three-Tier Design Model

Every technology covered so far in this series -- VLANs, routing protocols, redundancy protocols -- needs an overall architectural framework to be deployed coherently rather than as an ad hoc collection of features. This article explains the classic three-tier hierarchical design model, covers the distinct role each layer plays, explains the simplified two-tier collapsed core alternative, and discusses how these models extend into modern data center design.

Continue

Multicast Fundamentals: IGMP and PIM Explained

Sending the same video stream individually to a thousand viewers would waste enormous bandwidth, and multicast solves this by delivering a single stream efficiently to exactly the devices that actually want it. This article explains how multicast addressing differs from unicast and broadcast, covers IGMP as the protocol hosts use to join multicast groups, and walks through how PIM builds the distribution trees that carry multicast traffic efficiently through a network.

Continue

First Hop Redundancy Protocols: HSRP, VRRP, and GLBP Explained

Every host on a network relies on a single default gateway, and that gateway becoming a single point of failure would undermine the redundancy carefully built everywhere else in the network. This article explains why first hop redundancy matters, walks through HSRP's active/standby model, compares it against the open-standard VRRP, and covers GLBP's added ability to load-balance traffic across multiple routers simultaneously.

Continue

Route Redistribution: Exchanging Routes Between Different Routing Protocols

Real enterprise networks often run multiple routing protocols simultaneously, whether due to mergers, legacy equipment, or vendor requirements, and these protocols do not automatically share routes with each other. This article explains why redistribution becomes necessary, covers the critical metric mismatch problem between protocols, walks through configuring redistribution between OSPF and EIGRP, and covers the routing loop risks that make careful redistribution design essential.

Continue

BGP Fundamentals: The Protocol That Runs the Internet

Every interior routing protocol covered so far in this series operates within a single organization's network, but connecting separate organizations together across the internet requires an entirely different protocol built around policy rather than pure shortest-path calculation. This article explains what makes BGP a path-vector protocol, covers the distinction between eBGP and iBGP, walks through essential path attributes used for path selection, and covers basic BGP configuration and verification.

Continue