Cisco IOS Configuration Modes [CLI Modes]

Unlike the other operating systems, such as Windows and Linux, Cisco Internetworking Operating System (IOS) typically does not use the multi-user concept. Instead of using the multi-user concept, it uses the different types of configuration modes to perform the different types of configuration tasks on a Cisco router or switch. Before you can perform any configuration task on a Cisco router, you need to understand the various types Cisco IOS configuration modes. In this post, we will discuss the various types of Cisco IOS configuration modes.

The following table lists the various types of Cisco ISO configuration modes used to configure a Cisco router or switch.

Cisco IOS Configuration Modes

Switching between Cisco IOS Configuration Modes

To work with the Cisco IOS configuration modes, first, you need to open the console of a router that you want to manage. To do this, you need to perform the following steps:

  1. Add a router in Cisco Packet Tracer and double-click on the router to open its console.

Note: If you are working on a physical router, use the hyper terminal  or putty program to take the router’s console.

  1. On the router’s properties dialog box, click the CLI tab.
  2. After some time, the Continue with configuration dialog? [yes/no]: prompt will be displayed.
  3. Press the Enter key. The Router> prompt will be displayed.

On the Router> prompt, you can switch between the different types of Cisco IOS configuration modes. To do this, you need to execute the following commands.

  • To switch to the Privileged EXEC mode, execute the following command.
Router>enable

Note: The default mode is User EXEC mode.

  • To switch back to the User EXEC mode, use the disable command. However, if you want to switch to the Global Configuration mode, execute the following command.
Router#config t
  • To switch back to the Privileged EXEC mode, execute the exit command.
Router(config)#exit
  • The following figure displays how to switch between the different types of Cisco IOS configuration modes.

Cisco IOS Configuration Modes

Note: To return to the previous mode, you can use the exit command at the current mode.

Viewing Router Configuration

Most of the configurations of a router or switch can be viewed using the Privileged EXEC mode. The following described some of the common commands used to view a router’s configurations.

  • To view the contents of the currently running configuration file, execute the following command.
Router#show running-config

Note: Alternatively, you can also execute the “show run” (without quotes) command to achieve the same result.

  • To view the basic router information, such as currently loaded software version, hardware information, and device information, execute the following command.
Router#show version
  • The following figure displays the sample output of the show version command. We recommend you to spend some time to view the information marked inside the box.

The Show Version Command

Wait a minute!!!

What was the size of NVRAM in the preceding output?

  • To view the statistics of all the interfaces configured on a router, execute the following command.
Router#show interface
  • To view the IP address, port status, and protocol information about all the interfaces on a router, execute the following command.
Router#show ip interface brief
  • To view the information about the flash memory of a router, execute the following command.
Router#show flash
  • The following figure displays the sample output of the show flash command.

Router Configuration Modes

Wait a minute!!!

What is the extension of the flash image file?

  • To view the information about the file systems, execute the following command.
Router#show file systems
  • The following figure displays the sample output of the show files systems command.

Cisco IOS Configuration Modes

In this post, you have learned the various types of Cisco IOS configuration modes. Further, you have also used some of the major commands to view the router’s information.

What’s Next?

Perform basic router configuration tasks.

Perform Cisco router password recovery.

Posted in Cisco Tagged with: , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*