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