Cisco CLI Prompts

When dealing cisco routers It is important to understand the different prompts you can find when configuring a router so you know where you are at any time within configuration mode.
In this blog post, we will be demonstrating several prompts used in Cisco routers.

It is important to always check your prompts before making any changes to an already configured router.

Here in this post I intended to show all the different commands offered and also describe the different prompts you will see as you go further in networking technology

The first command we will look at is the Interface command

To make changes to any router interface, it is important you use the interface command from global configuration mode:

Here are the interface commands:

Router(config)#interface ?

Async Async interface

BVI Bridge-Group Virtual Interface

Dialer Dialer interface

FastEthernet FastEthernet

Lex Lex interface
Loopback Loopback interface

Multilink Multilink-group interface

Null Null interface

Port-channel Ethernet Channel of interfaces

Tunnel Tunnel interface

Virtual-Template Virtual Template interface

Virtual-TokenRing Virtual TokenRing

Router(config)#interface fastethernet 0/0

Router(config-if)#

Notice the prompt changed to Router(config-if)# to tell you that you are
in interface configuration. It would be nice if it gave you an indication of what
interface you were configuring, but it doesn’t. This is probably one of the reasons
Cisco administrators make more money than Windows administrators.

Subinterfaces

Subinterfaces allow you to create virtual interfaces within the router.
The Prompt then changes to Router(config-subif)#.

Router(config)#int f0/0.?

FastEthernet interface number

Router(config)#int f0/0.1

Router(config-subif)#

Line Commands
To configure user mode passwords, use the line command.

The prompt
then becomes Router (config-line)#.

Router#config t
Enter configuration commands, one per line. End with
CNTL/Z.
Router(config)#line ?

First Line number

aux Auxiliary line

console Primary terminal line Vty

Terminal controller

vty Virtual terminal

Router(config)#line console 0
Router(config-line)#
The line console 0 command is known as a major, or global, command, and any command typed from the (config-line) prompt is known as a subcommand.

Leave a Reply

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