Hello and welcome back to ice in the one. This is upset. 8 to 2 IOS images. I'm Trent. Darrin. I'll be your instructor for this course in the last week. Always one or the lesson 8.2 overview and some pre assessment questions.
This subset of recovering the file system of Cisco IOS how to transfer a new image onto the device and we're gonna verify the MD five hash of that image. And then we're gonna go ahead and finally Oh, great. That I was from an image.
So we're learning objectives reeler about the I was false system in storage options. We're gonna transfer a new image on city router, and we're gonna go ahead and boot into the image
so quick, pre assessment here. Hopefully guy should remember, where is the startup configuration stored? A few seconds.
All right. It is the envy ray of the non volatile Ram.
So we look at the Iowa's file system. It's I mean, every OS has on House's windows has its one Lennox, as one Mac has one day, I'll have their own fell system that runs off.
The Alice is no different for Cisco. The general used the flash memory, little compact flash cards that you see, because if there's no spinning this, there's no moving parts. There's less chance of hardware failure.
That's why they do so well in long term situations.
If you want to look at your actual files and do the show file systems command, you'll see off to the right there. I ran that on my router form, which is my 28 21. If you look at the opaque type that is a logical file system for internal commands and systems envy, RAM Member has that started. Could figure in it
if you're curious. If you look at where the running configure is, you can run a d I r than system Colon.
Uh, show flesh will be the files and everything that is on that compact flash card
right now is your actual storage they use.
So it's pretty simple.
All right, so we're gonna look att, transferring a new I'll assert image to the router. So my 2021 curly as I was 12 I got all the upgrades with the compact flash card in the New Ram
to upgrade it to I was 15.
So there's a couple ways we can do is we can do it with the tea FTP, which is unique. P Port 69. We do FTP, which is reports 20 and 21 or TCP and family can use SCP, which is security protocol Report 22. And this has the good old encryption because it uses sshh.
So one thing we do is we want to get the proper image, file the been file, and we need to download it.
So there's a couple ways to do this year. I want to show you a quick website that I found. That is pretty nice. Um, if you just google the Cisco feature navigator here,
you can put in the platform you want IOS, but it platform heads. You know,
this whole platform release releases. It's nice because it tells you exactly what it has. And then you can actually copy this into your
comparison here. You can throw in the two different releases and you can see what different future says. As
so, it was a good way to actually get your Ben file here
and what you had that been file? Um,
because Cisco works on,
you have to actually subscription. Or you gotta pay for your IOS because it's their property. Right? So there's, um you know, it's too bad there's no way to find bin files on mine
anyway, So go ahead and find your image fell down. Mode it's you're gonna do is place it on the computer of the file server. Or you can use a USB device and loaded onto that plug USB into your router, which is what I chose to Dio. For some reason, I could not get my tea FTP server to work. I'm not entirely sure why it was working your day.
I'm not gonna waste more time when I got us beat a work have copied everything
from I've got backed up all my files from my USB or from my flash to my USB.
So I'm just gonna go ahead and just show you another copy. Here,
Uh, let me bring up tea. Party session.
All right, so here we have our copy options.
So we're going to a copy for Flash and
see 2800. Gonna copy this image
to the USB flash zero. I was gonna go and put it right in the root directory There.
Really? Let that copy.
I'm just backing up the Iowa's image, so I have a copy of it as well. In case this upgrade does not work properly.
So this is nice. I actually have I was 15. Someone actually gonna have to
turn the device offer. We're gonna change the configuration register first, but we'll turn advice off. We'll load up the new image file
and they will put in a new flash card because this is still is the old 64 mag a flash card.
I have a new 5 12 megabyte.
All right, As you can see, it took about 90 seconds for that's complete. And that was over the USB. If you ever have to copy from ex Motome, um, I feel very sorry for you. I did that one time
and it was horrible.
It took I don't know. I like four hours or something. It was just terrible. You're running over that 9600 bod constant connection, which I guess sometimes, if that's what you have to do this we get to d'oh.
There's no way around it. But
if you can avoid that, please? D'oh! It's terrible!
All right, Someone go ahead and minimize party here. Now we have the aisle is backed up.
So review of the boot seconds here. So first thing you do when the router comes on is gonna perform that power on self test or Post is gonna go through, check its hardware components, make sure everything is working properly
from there, is gonna copied the bootstrap from the rum or the read only memory into the ram is gonna run it from there is gonna decide which IOS to load and is gonna hand over the boot to that new IOS or the new OS.
And it can actually copy, depending on what you have set up, it's gonna copy the IOS from the network or from Flash
from there, we're going to die. Wes is gonna go ahead and pull up. Everything is gonna find that started. Config. It's gonna load the starter configure into the ram as the running config
finds a start to figure in the envy Ram, the from the network or the consul.
So the cool thing about this is you can kind of run it as a fail safe right um,
it's you can say, Hey, if if you can't find a started configure the envy Ram checked it Network from this server, see if you can find it there.
so we can do booty and team New image. We're gonna go ahead and change that configuration. Register what that is going to do. It's a hex character or four hex character's 16 bits. The default is 21 on, too, so that last bit the two tells it what to actually load
there. If you actually Google it, you can look at Siskel site the other one's deal with the bottle rates
and a few other things.
So if that last hex character is a zero is gonna boot into Rahman.
If it is the one, it's gonna load that first. I always found a flash memory, which are from the bootstrap
and Hex character's, too Through F is gonna just try Age Boot System Command found that in the struggle traffic,
and if none of those boots system commands work, its gonna load that first I was found in flash.
Someone could do a quick just show version here just to verify that we actually do Upgrade properly.
I was going to stop it there. Oh, quick. So we are on the version 12 for 24 t.
So the new one is gonna be a virgin. 15. Where I was,
um, so I'm going to go. We have a bunch of stuff that this gives you the actual image file that is running on
much cryptographic stuffed your interfaces. VPN module.
It tells you what? How much envy, Ram you have what your
I have us be plugged in, so is wiser. Ah, your compact flash.
And finally, the configuration register, which is the default.
If you remember, we briefly went through this. I give you a little teaser way back about how to do this. So now we're actually gonna go through and do it. So now we're going to
terminal. You confident
00 So this whole Buddhist into Romano
on the next reload anyway, Will
all right, so when we go do I'm actually gonna go shut down the router here, and I'm gonna swap out the compact flash cards.
All right. So one thing I did notice here is we didn't do a copyright start on that. We should have.
But since the new compact flash card we have doesn't have any IOS on it, it's actually just gonna boot it to rhyme on anyway because it can't find a IOS version.
So once we're in Rome on here, well, I think Medusa's it help. You can take a look at all your commands that you have,
And if you notice this is a increment counter here. So where to now?
All right, so it's kind of skipping ahead here. If we look at this, you can see what I had to do Was actually had to go through and set each variable in the i p. Address. I p sudden that mask default Gateway to FTP server, our file on the server.
All right, so it should be good. Now there's gonna cancel out.
was changed. The car
Where is to configure register conference?
and see if there is a resets.
Let's see what happens.
we are upgraded now. Double checks going to a show version.
All right. We are inversion 15 and we have the proper
All right, so we have been upgraded. Diverted 15.
Um, let's go ahead. I'm gonna make sure that we have the contract configure register here before I save it. 22.
So look at the episode recap here we would have had and we looked at the Iowa's file system. We've looked through the different vert. They flash their USB storage options. We went and transferred a new image onto the router through T f T P on Rahman.
And we went booted right into that image.
So post Usman here. What port does SCP the secure copy protocol use. Give me a few seconds.
All right. Hopefully you got port 22. The same is sshh.
And the next I was really looking. Look at getting into the password recovery.
As always. If you guys have questions, need help. Feel free to shoot me. Message. Otherwise, thank you for watching this episode. I look forward to seeing you and the rest of them