How to reset passwords on a Cisco Router [L4]

How to reset passwords on a Cisco Router [L4]


Lecture [ L4 ]

AIM:Password Reset on Cisco Router

-passwords like {line con 0,enable,secret etc.} can be reset
If u have the physical access to the router ,ie using the CONSOLE Port
Closed Caption:

hello guys welcome to cisco and Sony and
in this video we are going to study and
learn how to break how to reset the
password on a cisco router
this is the lecture for we have done a
lot of things in the lecture number 12
entry in the last lecture we have
learned how to apply the passwords basic
IP address hostname and how to
particularly save the configuration on
this is called device
so in this part in this lecture we are
going to reset the password on cisco
router we will apply various passwords
like line console password enable
password and secret password and we are
going to be set them guys if you have
the physical access to the router that
is using the console boot you can get
the CLI then you can break the password
that you can reset the password at the
end of this video you will know how to
do all these things how to break how to
reset all the passwords
even if you don't know them that's why I
want to cisco packet tracer
ok we have a better dresser let's take a
generous series router so guys pay close
attention because this is some video
this is a little complicated than the
other lectures we are escalating the
level of complexity in our CC an elapsed
this is going to be the first lecture
that you might think is hard
let me show you it is not hard on there
are just a lot of steps
you just have to be very very careful
and follow the correct sequence because
as the name says breaking the password
resetting the password can't be very
easy is ended
so let's take the CLI so this is the
slide i created for you
ok yes it looks kinda scary we are going
to follow it step by step and after the
video is finished
even just been looking at the slide you
can revise the whole video in
in a matter of seconds now we first we
are going to apply some random passwords
and save the country using the command
copy run start
let's do that and I will show you what I
meant by the random password
do we know enabled
we have a blank router and I was to
school packet tracer
let's go to the config terminal you can
either use the command configure
terminal or you can see can fix pasty
now let's apply some random enable
password line console past when anyone
the secret password enable password and
i am going to press just some random
keys on the keyboard
yes guys this is our enable password
enable secret in the same way we are
going to apply the secret password
this is our secret password the password
protect protect the console boat on the
line console zero we're going to apply
the password
some random again and also we're going
to write the log in keyword because
login means you know what if you have
watched the previous video now how to
save the country because if we just
reload about the right now
every contribution that we have done
will vanish
it will disappear so how to save the
country you already know that
copy run start this is the command or
you can do the full command which is a
copy running - config space startup
- can think done when it asked for
destination file name
remember you just have to press Enter no
guys we have ourselves a router
ok a router with random passwords and
just so that we can remember the config
let's also change the whole name
ok and let's just say our five will say
some router five we have
exit out let's save it again this time
using the shortcut
corpulence start press ENTER again you
are done now when you reload the router
your step one is done
apply some random passwords and save the
country we have done that and now let's
reload and when you enter the router
when the booting process is finished you
can not enter inside the router you will
know why because you have just applied a
line console password which is random
see you just can't possibly remember the
password
so we created a situation ok we
ourselves created a situation in which
we have a password on around the random
password
we don't know it so what you will do you
can just throw a costly router so we
imagine in our scenario
this is a physical router we have in our
physical vicinity
so what we will do we can't even reload
the router from here
how because in order to reload you have
to type the command
reload in the enable leave the naval
mode
you just can't get the basic user mode
because they're the line console
password you just got to get inside now
we have the physical dropped up
let's hop on to step two turn off the
router manually and then start the
router manually and press ctrl c and go
to the Roman mode now we will shut it
down manually and when it is booting up
when it is just starting
we really break the booting sequence by
pressing ctrl + C on the keyboard
and you will go into a mysterious mode
known as Roman mode it is something
similar like your bios when you
interrupt the building process of
Windows you end up in the bios and you
can change the settings
it is just like that so let's do that
go to the physical is illuminated turn
it off now turn it on and go to the CLI
and press ctrl + C while it is putting
yes
look we are inside the Roman mode why
because we about it
we stopped the building process now in
this mode
we will do something and let me tell you
the reason why you're inside the room
and board
let's use some graphics our same old ms
paint
now let me just take my mouse and i will
show you with them then the paper
Shannon let's start of all the two three
now guys
insulated big room when you save the
configure the router
this is your router ok when you saved
all your password when you did the
command copy run start all your password
are saved inside a start of country
let me just write that startup country
this is the conflict in which all your
passwords are saved because you gave the
command
now as in my previous lecture you've
seen when the router reboots this start
of country is copied it is copied into
the running configuration of the router
that's why instead of getting the bland
conflict
you get all your contracts meaning
between the color
all your passwords all your eye pins all
your protocols your host names every
configuration is inside be a start-up
gun trip and when you reload it is
copied into the running country
that's why every time when you reload
the router it is going to ask you for
the passwords that is the problem
we don't want that we don't want the
router to ask the passwords so what you
will do you will break the sequence
you will tell the router that you don't
want to do this
you don't want to copy the startup
country into the running country
listen carefully you don't want that the
startup country is erased it will be
there
the router will just not copy the
startup contribute to the running
country
so what happened when your router reboot
it will not get this
so instead it will not get this and it
will get instead a blank running country
this is what happens when you don't have
it startup country
this time it is different you have a
start-up country but you told the router
that
do not copy the start of conflict into
the running 10 free and as a result you
are getting a blank running-config a
blank router and you will not be asked
any passwords and how will you tell the
router
you will tell the router by changing the
value of config resistor
there is a configuration stir in there
and it's des it's a value in hexadecimal
the mines how the behavior of the router
will be so you will change the
configured is to value
by default this value is 0 x
- 10 2 X denotes that it is a
hexadecimal number
this is the default value we don't want
this divorce when you
we want to change this value and there
is a special magical value which will
which will tell the doctor to do not
copy the startup config into the ring
country and that special value is 0 x2
14 and that is why we are inside the
room and mode we want to train this
review from this to this we will just
give the command and change the value to
2 142 and we will reset the password
ok we'll reset not the password story
will reset the router and when it
reboots it will not copy the starter
country into the running conflict let me
repeat when your router generally boots
up it will copy the startup config where
we have all the password settings
i beez hostname into the running country
but we don't want that because if the
country is loaded
you are going to be asked a password so
we will tell the router that do not copy
the startup country into the running
config instead just a blank running
country and you are going to do that by
changing the value of can't register 20
x - 1 from 0 x2 10 to 20 x 2 142 this
value this particular when we will tell
that outer
do not copy the startup and figure into
the running country so we are going to
do that inside the Roman mode and the
command to do that is a contract 0 x2 14
- and you are done you just change the
value of the configured mr. from the
original value which was 0x - 10 -
now you will just to reset the router
and the router will obey your commands
it is not going to copy the start of
country into the running country
the command is reset guys
it is not reload because the Lord is the
command you use in the normal enable
mode
this is not normal enable moon this is
the roman wall so the command is reset
our router is being reloaded letter to
reload and when it is up
it is not going to be asked any
passwords
it is saying continue with the confusion
dialogue just say no and this dialogue
one tells you that the config is not
loaded
there is no config right now the running
country is black and you remember we
change the hostname to our five but it
is a router right now and look no
passwords at all because this is a blank
running country it is a blank running
configuration guys
now let's go to the slide we have done
the supply some and the password and
save the country we reloaded the router
we turn it off manually started it and
inside the room and mode
we train the contract value the
configure this - well you to read X - 14
- why so that it can skip loading the
startup country which otherwise happens
by default we reset and it asked would
you like to do the contribution and we
said no and we enter and we are inside
the enable more
now what no you will copy the startup
country back into the running country
let me show you after this you are
inside the unable mode riches of the
wise impossible when you have the
passwords when you're in an evil mood
you can do anything
so you will now finally going to copy
this country you are going to copy this
country into the running country with
the command copy start space run which
will have all your password but it
not ask you any password why because you
are only because you are already inside
be enabled mode that is the trick here
ok let me repeat all your passwords are
inside the startup country you are just
going to copy it inside the running
country which is blank right now it will
be copied and then you will simply
remove of our overwrite the passwords
let's go back to the CLI copy start up
to the running country and pay attention
as soon as you copy your old config but
all the password will be here
look you're configures here and you have
done all this so that you can get inside
the enable mode
it was like a trigger er a magic you
never told unable password of this
country but you are inside because you
knew the working of the router you knew
the booting McCann is on the parameters
of the cisco router which is important
now you are just going to remove the
password or you can simply overwrite
them
let's go back to the slide and realize
we have done this
copy started running because we skip the
stretch of country
why because all the passwords are in the
strata . thing as soon as you copy see
the host name is changed now you can
simply overwrite all the password to
your secret password enable password not
shown here but we have in this interview
the line consult password
so let's do this step conflicting and
before enabled password 123 enable
secret
1 2 3 4 line console zero password
ABCD we just all right the passwords
now they are no longer the random
password they used to be because when
you put the commands of password again
it automatically deleted
old password and apply the new passwords
now what you have to do you have to say
the start of can pick because you just
change the parameter the configuration
of passwords
how you know how to save the country
guys in card copy run start and let me
show you in the paint
you copy the country and then what did
you did you just remove the password
override passwords the store right the
password and then save the country now
guys we have a startup config with the
password that we remember we have
successfully reset them and our lecture
the task is almost complete except one
last thing
try to remember try to think hard what
will happen if you read all the talking
let me show you a hint
do the command sure scroll down by using
enter and read this that configured mr.
right now is to 14 do
although you have a start-up country
which is perfectly good you know all the
password
but when the router is reloaded it is
not going to load the start of config
into the running and every time every
time we reload the router you will
always get it blank
config why because configuration
register is - 14 - so your job
the last job is to reset the value to
its original witches
let's see if you remember the command is
conflict register 0 x2 10 to this was
the original value and fear not
you might say that command yes the
command to change the configuration
register value is different in Roman
mode and it a different in the enable or
in the country mode i shall see it is
different
yes this was the last step let's go to
slide we have done all this we change
you all right the passwords we save the
conflict with the new passwords done
the last thing change the configuration
register value - 10 - so that it can
load the startup config next time and
you can verify that it is changed the
command to see the configuring store
value is show version the last line the
configuration register value is - 14 -
but on the next to reload it will be 0 x
- 10 -
so now you will reload and you have a
perfectly fine dr. all the passwords are
being recited we have set of the new
passwords and in this way in the real
world also handles on the packet is so
you can reset and you know the password
it is ABC be because you resented them
enable just go one two three four or it
was just one two three
okay no yeah i think is over the secret
password
good thing we have that when one two
three four
nice and good think even if you forget
that you can just reset it anytime you
want
enable one two three four so the task
for password reset is done by me guys
not by you so you are going to watch
this video and this slide keep the slide
with you even if you want you can set
this about your background and do the
practical at least two or three times
ok and you have the video you can watch
it the plate as many times as you need
and good luck with the task because this
was a huge practical with it today and i
wish you guys only good luck and all the
luck you need and if you have any doubt
in this step
just comment me and don't forget to Like
and subscribe to the channel
and when Tony signing out guys

Video Length: 21:49
Uploaded By: CISCO WITH AMAN SONI
View Count: 199

Related Software Products
AIM Password Recovery
AIM Password Recovery

Published By:
Top Password Software

Description:
AIM Password Recovery is the best AIM (AOL Instant Messenger) password finder that instantly cracks and recovers AIM passwords stored on your local computer. It works when the "Save Password" or "Automatically Sign In" tickbox is checked in the messenger. One click and get your lost screen names and passwords back immediately. BRBR Key Features & BenefitsBRBR * All versions of AIM (AOL Instant Messenger) 6.x and AIM Pro are supported.BRBR * Recover forgotten, lost ...

Copyright © 2025, Ivertech. All rights reserved.