So we need to configure, enable, and VTY passwords. To help us with this
we can use notepad.
Now
I know these commands so I could simply type them out like this from memory.
I've done this for many years so I can type that out from memory but let me show you how to do that
through the CLI
and then we'll use the script to copy and paste the commands on remaining devices.
So on the core switch notice when I type enable I'm directly in privilege mode.
So I want to set and enable password so enable password and specify a password now it's recommended
that you use a secret password rather than an enable password.
They shouldn't be the same as we can see there but notice it is accepted by the router or switch.
So in the exam just read carefully whether they want an enable password configured or a secret password
configure the one that they ask you to configure.
So if I type disable now and type enable notice I need to put in my secret password not enable because
secret takes precedence over enable
and typically in the real world, you won't configure a enable password. We need to configure VTY
lines we'll use the most common version of this VTY 0 to 4 which is the first 5 VTY lines. I'm gonna
type login and notice we have to specify password, the order of this command and this command
don't matter.
You can either use password Cisco first or log in first but essentially both have to be configured for
it to work.
So we've configured and enable password
and we've configured VTY lines on the switch.
I'll save that config and what I'll do now is simply copy this and I'll use that on other switches.
Okay
there was a problem here.
This should be enable password so let's copy that in again paste it in notice.
in this case, the enable command wasn't accepted because we're in line config mode.
Neither was CONFT
but that's okay in this scenario.
Notice the enable password was configured and the VTY was configured.
What I suggest you do is make sure that the commands are accepted.
If at any point they look like they're not accepted double-check everything manually do the same on the
access switch and I'll just do this one manually just to show you the point about the login.
So notice if I go into the VTY line and I use password Cisco and then type login
I don't get the message that the password has to be configured
but the result is the same as it is on other switches.
So on switch 1 notice the result here
is the same as the result here
do something similar on access 3
paste the configuration in and save it and then I'll do something similar on the router.
Okay,
so we've now configured and enable password and VTY password of Cisco.
We can't test the VTY passwords yet.
We need IP addresses for that
But before we do that we need to do some villain configuration.