- [Instructor] Let's go ahead and get started
with our configuration.
I'm going to start with the Corp router here.
I've erased the configuration and reloaded the router,
so it's back at factory default.
I'm plugged into the console,
let's go ahead and take a quick look.
Now the router again has been erased,
now, I would see the same thing here
if I was working on a switch,
I erased the switch and reload,
I'd end up at this set up mode.
This is a bad prompt to see on a, say,
you come to work on a Monday morning
and this is what your Corp router is doing or something,
because this means you have no configuration.
So typically, you would say no to this,
but in this one instance of my life,
I'm going to say yes, and never again in my life.
Now, what I like to enter, basic management setup again
one time we're gonna do it.
Now, the thing it does say is it tells us,
hey, if you see something in brackets here,
in these square brackets, those are the defaults,
so you can just press enter.
So in this case it was asking a question.
So, in this one here it says I want to enter a host name,
and if I just press enter it's gonna be router.
Or, if I was on a switch, it would be switch in this case.
But I'm gonna go ahead and name this Todd,
we're not gonna save this config,
so it doesn't even matter what I configure here.
Now, it's asking us for the enable secret
which is an encrypted password and
supersedes the enable password
which wouldn't really be that important,
we say, okay the enable secret,
it's how we get into privileged mode,
after we type the command enable,
but it's gonna ask me for the enable password,
not encrypted, again, superseded by the enable secret,
so watch what happens if I make them the same.
It's gonna give me an error so
I'm just gonna name this one different.
It doesn't matter what I'm gonna set it
because it would never be used.
The virtual terminal password is used for Telnet,
so I'm just gonna make the password telnet
and we'll go through that configuration more later.
And then we're not gonna use SNMP until
we get to ICND2, so I'm gonna say no.
Now it comes back and says, well,
where are you connected to when you wanna manage this,
and you have to type in the full name of the interface.
So I'm just gonna say FastEthernet
and I'm gonna spell it all out,
can't use the tab key here either.
So type it all out, press enter, and then
you want it to operate in full-duplex mode?
Yes, I always yes, and then yes,
again it doesn't matter what IP address
I put on here at this point,
I'm gonna take the default mask here,
which notice is in brackets, and
then it's gonna come back and say,
hey, here's the config, it's really useless to us
I don't want it at all.
So I can choose three things here.
I can go back to the IOS command prompt
without saving this config and
that's what we're gonna do, I'm gonna press zero.
Type zero and press zero in a second,
I could return back to the setup without saving this config,
and go through that misery again,
or we can save this configuration and NVRAM and exit.
I don't want any of that because
we configure it ourselves by hand.
So I'm gonna do zero and then it's gonna come back
and it says, hey, by the way,
you can come back into setup mode
by typing setup at the privilege mode prompt
is really what it is.
It's gonna come back up and I'm gonna
end up here in a second.
So, just to be clear, I'm telling you
don't go through setup mode, so why did I show it?
It's an objective, right?
Look at it once and then you don't ever
need to use it again.
But also, so if you ever see that prompt,
you know where you are.
Now, typically you're going to plug into
accounts and see something like this.
This is called user mode.
So we discussed this in the lecture,
user mode, how do I get to privilege mode?
You're gonna type the command enable
I'm just gonna use shortcuts,
you can do these on the exam as well.
So I'm just gonna type enable.
And this takes me to privilege mode,
and I can go ahead and view and change the configuration.
So I'm gonna type exit here
and it's gonna take me all the way out.
Okay, so I could have type disable to go back.
So from here I can type show running config
or just show run for short,
and notice it's gonna give me an error,
because to be able to do something like that
I have to be in privilege mode.
So I did show run now, now it's gonna
give me the active configuration file.
Let's hit q to quit, now,
before we finish this section,
I wanna show you one more thing,
and that is to get to what's called global config.
And from here I can get to all other configuration modes.
Configure terminal is the full command,
but I'm just gonna type config t.
Now from here I can do interfaces,
I could type in the interfaces,
I could do router to do routing protocols,
I know the command is router,
should be routing but it's router,
and I can type in line to configure my console, my VTY.
And so my prompts will change accordingly.
So if I set interface f0/0 and
you don't have to type out the full command,
then notice my prompt changes to config-if.
I always say that stands for if you only
remembered which interface you're configuring.
Because it doesn't tell you from the prompt, does it?
So if I get confused I'll just
type it in again and I could also change ports,
and now I'm configuring interface F0/1.
Line console zero, notice my prompt is
going to change to config-line.
So now I'm configuring a line, which one?
That's what you have to pay attention to.
The prompts on Cisco are not as helpful
as some of the other vendors.
And I'm gonna type exit here, and one more thing,
if I was doing a routing protocol such as RIP,
which you should never do in your production network,
router rip and then my prompt
will change to config-router.
So that is the basics of what you will experience
when you first log-in to a Cisco router or switch.