Welcome to this video series which aims to help with the configuration and verification aspects of your CCNA Prep.

In this video, we will begin with familiarizing ourselves with the Cisco IOS CLI. We will discuss the different EXEC and configuration modes on a Cisco router, how to access the help contents, errors you can encounter when using the CLI and also see some helpful keyboard combinations on the CLI.

If you enjoyed this video on Cisco IOS CLI, you may also enjoy our “Top IOS CLI Speed Tips” series. You can find all five articles below.

Part 1: http://resources.intenseschool.com/ios-cli-speed-tips/
Part 2: http://resources.intenseschool.com/more-ios-cli-speed-tips/
Part 3: http://resources.intenseschool.com/ios-speed-tips-part-3/
Part 4: http://resources.intenseschool.com/ios-speed-tips-part-4-16-20/
Part 5: http://resources.intenseschool.com/ios-speed-tips-part-5/

Thanks for watching! I’ll see you again very soon. If you have any questions or comments, or would like to suggest a topic, please feel free to do so in comments.

Further reading:
– Using the Command-Line Interface: http://www.cisco.com/c/en/us/td/docs/ios/12_2/configfun/configuration/guide/ffun_c/fcf001.html

CCNA Training – Resources (Intense)

Video Transcript:

Welcome back to this CCNA Prep video series where we have been looking at the configuration and verification objectives of the 200-120 exam.

In this video, we will deal with basic configuration tasks on the Cisco router including using the setup command, configuring hostname and banners and how to save the configuration of the Cisco IOS device.

When you first log into a new Cisco IOS via the CLI, you may get the Initial Configuration Dialog which allows you to do some basic router configuration like setting a hostname, enable password and secret and also management interface configuration.

This happens because that new Cisco IOS box does not yet have a startup configuration in NVRAM. It could also happen if the configuration register is set to hexadecimal 2142 which basically instructs the router to bypass the contents of the NVRAM, that is, bypass the startup configuration.

In GNS3 you don’t get this initial configuration dialog because by default, when you add an IOS to GNS3, it sets a path to a startup configuration. In my version of GNS3, I can see this from Edit, Preferences…

Although there is a way to make a router in GNS3 start without the default startup configuration, I will show you another way you can access the Initial configuration dialog. This is by using the setup command in privileged EXEC mode.

It’s actually quite easy to follow the setup by just answering a few questions. Let’s go through it.

So it asks me if I want to continue with the configuration dialog. I will type “yes” or just “y” will do.

If you need help at any time, use the question mark or use CTRL+C to quit.

Let’s go through the basic management setup where we configure hostname, enable password and enable secret. We will discuss these terms later on but for now let’s just run though this configuration dialog.

I will give it a hostname of say ‘Router1’

Let’s use an enable secret of ‘cisco123’

We will also enter an enable password. The configuration dialog does not allow the enable secret and enable password to be the same so you will get an error if you try to use the same password.

We will also set the password to be used to authenticate remote connections via the virtual terminals.

I don’t want to configure SNMP so I will say no.

Now we can configure an interface from which we can manage the router. This basically involves configuring an IP address and a subnet mask.

When we are done, we can either exit the configuration dialog without saving, going back to the setup or saving the configuration and exiting. The last option is the default option.

But really, I just showed you this setup command because you may be asked about it on the exam. You will hardly ever use this command in real life so you will just answer no when asked if you want to continue with initial configuration dialog.

In that case, let’s get down to the way you will normally perform basic configuration on a Cisco IOS via the CLI.

Like I said in the last video, we do most of our configuration in the global configuration mode. So I will just get in there by typing “conf t”, short for configure terminal.

The first basic configuration is to set a hostname using the “hostname” command. This is just a name that helps us identify the Cisco IOS device. For example, you can name a router that connects to your ISP INTERNET_RTR while you name the switch at your branch office, BRANCH_SW.

Think of meaningful, reasonable length hostnames and stick to digits, letters, hyphen or underscore. Other characters are illegal.

Another basic configuration is setting banners on the CLI. When you are driving down the highway, you may see signs informing you about the speed limit applicable on that road. In the same way, banners can be used to warn people against unauthorized access to the Cisco IOS or give some other information. It doesn’t prevent unauthorized access but it can serve as a deterrent and also be used as evidence in a legal proceeding.

We use the banner command to configure various kinds of banners.

For the CCNA exam, we are concerned with three different banner types, MOTD, EXEC and Login.

MOTD stands for Message of the Day and is used mostly for information purposes like if there is a planned shutdown on the device.

People logging into the device (that is those that require a username and password) will see the login banner. It is displayed after the MOTD banner if that is configured.

Finally, after gaining access to the device, you are presented with the EXEC banner.

Let’s configure an MOTD banner. You need to begin the banner text with a delimiting character and also end with the same character. Choose your delimiting character wisely because it cannot appear in the text of your banner; else the CLI will interpret it as the end of your banner.

In our example, I will use the percent sign as the delimiting character.

You can type your banner on the same line or on different lines.

You signify the end of your text by typing your delimiting character.

To view this banner, I will logout of the console and then log back in.

As you can see, there is our banner.

To wrap up this article, let’s me show you how to save the configuration you have done on a Cisco IOS.

As you should know, there are two basic configurations on a Cisco IOS device, the startup configuration and the running configuration. Any changes you make to the configuration are in the running configuration until you save those changes. If you reload the router without saving the configuration, those changes are lost because they are not stored in the startup config.

We can view the startup configuration by using the “show startup-config” command.

The running configuration can be viewed using the “show running-config” command (or show run for short) commands.

As you can see here, the changes we made are in the running config but not in the startup config.

To save those changes, we can issue the “copy running-config startup-config” command. We say copy run start for short. This basically means copy the running config to the startup config.

Another way to do it is to use the “write memory” command. They achieve the same thing.

This brings us to the end of this video where we have use the CLI to configure basic tasks such as hostname and banners on a Cisco router.

I hope you have found this video knowledgeable and I look forward to the next video in the series.