- [Instructor] We're ready to start configuring
our routers and switches.
So, we're going to plug into
the console of a router or switch
and get to something called the Command Line Interface.
Sometimes I refer to this as the cash line interface
because if you can use this command line,
you can get the cash.
Alright, so once we plug into the console and press enter,
we're going to be at what's called the greater than sign,
which is referred to as user mode.
It only allows you to view statistics.
In order to configure the router or see the config,
I'm going to type the command, enable, from user mode.
And it's going to take us to what's called, privileged mode.
Now if I erase a router or switch
and reload it so there's no config,
I come up to something called setup mode.
Now this isn't something you want to see when you go to work
because that means you have no configuration.
Right, so, we can get into setup mode by erasing it,
reloading it, or just typing setup from privilege mode.
And this is a configuration dialog that allows you
to configure the router or switch step by step.
So when I get to the configuration,
I'm going to show it to you
only because it's on the objectives.
I never recommend using it.
Now an important command I want to spend some time on
is the show version command.
This can be run from user mode or privilege mode
and the first thing it's going to tell us is our IOS.
In this case here, I'm running a 1900 router.
But, it's telling me the version right here.
In this case 15.2.
Now down here is the ROM Bootstrap Version.
Don't get this confused with the IOS.
So, this is going to tell me how long the device is up
and how it was last booted, power-on or reload,
and also where I get the IOS.
In this case here, it loaded from flash,
is where is should have loaded from
and that this is the file name that loaded.
So there's a difference between the command, show flash,
which shows me all the files in flash
and this command which shows me which one of
those files is actually running.
Now down at the very bottom is something
called the configuration register,
which tells the router how to boot.
So above the configuration register, I have this output cut.
This is what the post test is found
and let's go ahead and take a look on another slide
on what the post test found.
We can see that we have 256 megs of RAM
and down here we can see we have around 64 megs of flash,
two serial interfaces and a VPN module.
Lastly, I want you to see the non-volatile RAM,
which is where we keep the backup config called,
startup dash config.
This is called NVRAM.
To view the configuration, we're going to type in,
show running-config
and notice my prompt, I'm not at user mode,
I'm at privilege mode.
I cannot view the configuration from user mode.
Show running-config shows me my active configuration file.
Notice this shows me how large it is
and it shows me the IOS version,
the software version that is running on my router or switch.
Now a lot of people don't realize you can see
the IOS version from the configuration,
but it's listed there right at the top.
We also can take a look at the back up configuration
from privilege mode, called show startup-config.
Now this is not there by default,
you actually have to save it
and I'll show you that coming up.
This also will show me how much I've used in NVRAM
and this is 738 bytes.
This is the backup configuration stored in NVRAM.
And again, it shows me my IOS version.
Now to save my configuration,
I'm going to say, copy run start.
Notice I didn't say out the full command
because I don't have to.
Copy run start is just as good as
copy running-config startup-config.
This is copying the active configuration to NVRAM
and naming it startup-config.
It's going to ask you if this is the file name you want.
Make sure you don't have a typo.
Just press enter.
The brackets are saying this is
the default if you press enter.
These commands are what you must know
for both the exam objectives
and for your production and home networks.