# The hierarchy of CLI cisco > Explanation of the structures of the modes that make up the CLI cisco. Published on 2021-09-14 | Updated on 2025-03-23 | Tags: cisco https://xsec.fr/en/networking/cisco-cli/ --- import Callout from '@shared/components/Callout.astro' The "Command Line Interface" of cisco is made up of several modes: ## The "User" mode Allows only to make some basic commands. ```txt title="Switch>" Switch> ``` ## The "privileged" mode Allows more information. Like orders `SHOW 'in particular. ```txt title="Switch#" Switch# ``` ## The "global configuration" mode - also contains several sub-modes (detailed [here] (#Configuration-D-a Interface)). ```txt title="Switch(config)#" Switch (config) ``` ![Summary of the different modes and orders for each of them](/media/networking/iostree.png) ### Configuration of an interface ```txt title="Router(config)#" Router (Config)# Gigabitethernet0/0 interface ``` Gigabitethernet0/0 is here, the name of the interface (physical or logical), in which we return. If you do not know the name of your interface, use the `SHOW interfaces' ** command in Enable ** mode. You can use the interface command? `To see all possible actions. `Router (Config-IF)#` is displayed after execution of the command. ```txt title="Router(config-if)#" IP Address 192.168.1.1 255.255.255.0 ``` Allows you to send the interface. ** Do not forget `No Shutdown 'to start the interface. ** ### Configuration of several interfaces with ranges ```txt title="Router(config)#" Gigabitethernet0/0-2 ``` ```txt title="Router(config-if-range)#" no shut ``` Starts Gigabitethernet0/0, Gigabitethernet0/1 and Gigabitethernet0/2 interfaces. ### Configuration of a line ```txt title="Router(config)#" LINE VTY 0 1 ``` `Router (Config-line)#` is displayed after execution of the command. The "lines" allow remote access to the equipment. Passing through Telnet (in clear) or SSH (encrypted). You can use the ```command to see all possible actions. ### Router Configuration ```txt title="Router(config)#" Router Ospf ``` `Router` Configure the router to do here, OSPF. The possible options are routing protocols between routers. You can use the command `Router?` To see all the available protocols. `Router (Config-router)#` is displayed after execution of the command.