Cisco IOS Command Hierarchy (2024)

Cisco IOS Command Hierarchy (1)
Cisco IOS Command Hierarchy (2)

Cisco IOS Command Hierarchy (3) Cisco IOS Command Hierarchy (4)

As a security feature, Cisco IOS® Software separates EXEC sessions into two different access levels: user EXEC level and privileged EXEC level. User EXEC level allows you to access only basic monitoring commands; privileged EXEC level allows you to access all router commands. Privileged EXEC level can be password protected to allow only authorized users the ability to configure or manage the router. From privileged EXEC level, you can access all the command modes. There are five command modes: global configuration mode, interface configuration mode, subinterface configuration mode, router configuration mode, and line configuration mode.

Cisco IOS Command Hierarchy (5) Cisco IOS Command Hierarchy (6)

After an EXEC session is established, commands within Cisco IOS Software are hierarchically structured. Understanding this hierarchy is important for successfully configuring a router. The following figure illustrates a simple high-level schematic diagram of some Cisco IOS commands. This figure summarizes the different modes you will explore in the Interface Labs in a later section.

Cisco IOS Command Hierarchy (7)

Command options and applications vary, depending on your position within this hierarchy. Configuration command options are not available until you have navigated to the configuration branch of the Cisco IOS command-line interface (CLI) structure. When you are in the configuration branch, you may enter system-level configuration commands that apply to the entire router at the global configuration level. Interface-specific configuration commands are available when you switch to the interface configuration level. More detailed information and examples of how to navigate through the Cisco IOS CLI hierarchy are offered in the router configuration labs that follow in a later section of this module.

To assist you in navigation through the Cisco IOS CLI, the command prompt changes to reflect your position within the command hierarchy. This setup allows you to easily identify where within the command structure you are at any given moment. The following table is a summary of command prompts and the corresponding location within the command structure.

Router> - User EXEC mode
Router# - Privileged EXEC mode
Router(config)# - Configuration mode (notice the # sign indicates this is accessible only at privileged EXEC mode)
Router(config-if)# - Interface level within configuration mode
Router(config-router)# - Routing engine level within configuration mode
Router(config-line)# - Line level (vty, tty, async) within configuration mode

Cisco IOS Command Hierarchy (8)Cisco IOS Command Hierarchy (9)

Now that you are familiar with all the router modes, go to Lab: Navigating the Cisco IOS Architecture.

Cisco IOS Command Hierarchy (10) Cisco IOS Command Hierarchy (11) Cisco IOS Command Hierarchy (12)
All contents are Copyright © 2000-2002 Cisco Systems, Inc. All rights reserved. Important Notices and Privacy Statement. Cisco IOS Command Hierarchy (13) Cisco IOS Command Hierarchy (14)
Cisco IOS Command Hierarchy (2024)
Top Articles
Latest Posts
Article information

Author: Jerrold Considine

Last Updated:

Views: 6041

Rating: 4.8 / 5 (58 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Jerrold Considine

Birthday: 1993-11-03

Address: Suite 447 3463 Marybelle Circles, New Marlin, AL 20765

Phone: +5816749283868

Job: Sales Executive

Hobby: Air sports, Sand art, Electronics, LARPing, Baseball, Book restoration, Puzzles

Introduction: My name is Jerrold Considine, I am a combative, cheerful, encouraging, happy, enthusiastic, funny, kind person who loves writing and wants to share my knowledge and understanding with you.