WEBVTT

0:00:07.580000 --> 0:00:11.260000
 One of the things that the Cisco Certified
 Technician Exam expects you

0:00:11.260000 --> 0:00:16.100000
 to understand is the terminology used
 to explain the different kinds of

0:00:16.100000 --> 0:00:19.680000
 memory that's common in
 routers and switches.

0:00:19.680000 --> 0:00:22.840000
 And that's what I'm going
 to discuss in this video.

0:00:22.840000 --> 0:00:26.960000
 I am Keith Bogart and I will be
 your instructor for this video.

0:00:26.960000 --> 0:00:30.300000
 So this video as far as terminology is
 concerned because that's what we're

0:00:30.300000 --> 0:00:33.260000
 looking for. I'm going to make sure
 that by the time we're done here you

0:00:33.260000 --> 0:00:37.340000
 understand the terminology of four
 different kinds of memory.

0:00:37.340000 --> 0:00:45.080000
 Specifically I'm going to talk about
 ROM, DRAM, NV RAM, and FLASH.

0:00:45.080000 --> 0:00:47.720000
 So let's start with ROM.

0:00:47.720000 --> 0:00:52.020000
 The word ROM is an acronym which
 stands for read only memory.

0:00:52.020000 --> 0:00:57.140000
 It's also sometimes called EEPROM which
 is electrically programmable read

0:00:57.140000 --> 0:01:01.600000
 only memory. So ROM is most often
 on its own separate ship.

0:01:01.600000 --> 0:01:05.860000
 Like for example here we see an image
 of a Cisco 7200 series router, the

0:01:05.860000 --> 0:01:09.560000
 motherboard or the control board and
 we can see that the boot ROM is its

0:01:09.560000 --> 0:01:12.800000
 own separate ship here in
 the upper right corner.

0:01:12.800000 --> 0:01:14.160000
 So what's the ROM used for?

0:01:14.160000 --> 0:01:17.960000
 Well for one thing it contains the ROM
 monitor which is a software diagnostic

0:01:17.960000 --> 0:01:24.840000
 program you can do problems with the
 router or switch if it has problems

0:01:24.840000 --> 0:01:27.900000
 loading up when it
 first turned on.

0:01:27.900000 --> 0:01:32.400000
 It also has the boot loader or helper
 which is a small program used to

0:01:32.400000 --> 0:01:35.160000
 help load the Cisco iOS image.

0:01:35.160000 --> 0:01:39.020000
 It also contains some small software
 programs for the post, the power

0:01:39.020000 --> 0:01:43.860000
 on self diagnostic programs which do things
 like check other memory locations,

0:01:43.860000 --> 0:01:48.760000
 checks to see what line cards or modules
 are in the system and if they're

0:01:48.760000 --> 0:01:51.100000
 operating and plugged
 in correctly.

0:01:51.100000 --> 0:01:54.480000
 And sometimes depending on the system
 you're on the ROM might actually

0:01:54.480000 --> 0:01:58.580000
 contain the full iOS
 image as well.

0:01:58.580000 --> 0:02:02.460000
 Another type of memory you need to
 be familiar with is dynamic random

0:02:02.460000 --> 0:02:08.260000
 access memory. This is typically contained
 on DIMMs or dual inline memory

0:02:08.260000 --> 0:02:13.480000
 modules. So one of the things that makes
 DRAM memory unique is that based

0:02:13.480000 --> 0:02:19.360000
 on the structure of this contents while
 the router or switch is actually

0:02:19.360000 --> 0:02:22.140000
 powered on while it's turned on.

0:02:22.140000 --> 0:02:26.220000
 Now there's two different kinds of
 DRAM memory and I want to make sure

0:02:26.220000 --> 0:02:27.520000
 you're familiar with this.

0:02:27.520000 --> 0:02:31.220000
 I should say DRAM memory itself is divided
 into two different purposes.

0:02:31.220000 --> 0:02:36.080000
 The memory itself is still physically
 the same kind of chip but DRAM memory

0:02:36.080000 --> 0:02:40.220000
 can be used for either primary memory
 which is also sometimes called main

0:02:40.220000 --> 0:02:45.260000
 or processor memory as well as shared
 memory which is also called packet

0:02:45.260000 --> 0:02:47.740000
 or input output memory.

0:02:47.740000 --> 0:02:49.400000
 What's the difference?

0:02:49.400000 --> 0:02:54.540000
 Well if a section of my DRAM chip, my
 DIMM is being used for my primary

0:02:54.540000 --> 0:02:58.540000
 memory, this is where things
 like your tables are stored.

0:02:58.540000 --> 0:03:04.920000
 For example your OSPF database, your
 ARP table, all the tables that the

0:03:04.920000 --> 0:03:09.800000
 CPU would need to access, all the memory
 where the CPU would load is various

0:03:09.800000 --> 0:03:15.360000
 software functions and software programs
 would go into primary memory.

0:03:15.360000 --> 0:03:18.300000
 Now there's another section of DRAM memory
 which is used to actually hold

0:03:18.300000 --> 0:03:22.840000
 the packets or the frames and this is
 our shared memory also called our

0:03:22.840000 --> 0:03:25.320000
 packet or input output memory.

0:03:25.320000 --> 0:03:30.560000
 So if we talk about our interface queues,
 our interface buffers, that

0:03:30.560000 --> 0:03:34.480000
 goes in the section of DRAM memory
 which is our shared memory.

0:03:34.480000 --> 0:03:36.160000
 So what is DRAM actually used for?


0:03:36.160000 --> 0:03:40.280000
 Well it's used for a lot of critical
 things in your router switch.

0:03:40.280000 --> 0:03:43.800000
 So anytime you can think of a section of
 memory that's going to hold something

0:03:43.800000 --> 0:03:48.320000
 that's going to change on a fairly frequent
 basis, that is typically your

0:03:48.320000 --> 0:03:50.620000
 DRAM memory that's being
 used for that.

0:03:50.620000 --> 0:03:54.420000
 So for example your routing tables,
 your ARP tables, your MAC address

0:03:54.420000 --> 0:03:57.940000
 tables on your switches is going to
 be used, DRAM memory is going to be

0:03:57.940000 --> 0:04:02.240000
 used for that. Your interface buffers
 and queues, those are changing all

0:04:02.240000 --> 0:04:05.300000
 the time, DRAM memory is
 being used for that.

0:04:05.300000 --> 0:04:09.020000
 As well as your device configuration
 information that's used at runtime,

0:04:09.020000 --> 0:04:12.940000
 your running configuration
 is stored in DRAM memory.

0:04:12.940000 --> 0:04:16.300000
 As well as your iOS software, now this
 might be a little misleading but

0:04:16.300000 --> 0:04:22.640000
 think about this, when the device, the
 router switch is powered off, is

0:04:22.640000 --> 0:04:27.600000
 turned off, your iOS software is not in
 DRAM because remember when something's

0:04:27.600000 --> 0:04:31.300000
 turned off, DRAM memory
 is not in use.

0:04:31.300000 --> 0:04:35.420000
 DRAM memory is emptied when the device
 is in a powered off state.

0:04:35.420000 --> 0:04:38.320000
 So something else, some other kind
 of memory that we're going to look

0:04:38.320000 --> 0:04:43.520000
 at in just a moment is being used for
 long term storage of your software,

0:04:43.520000 --> 0:04:44.960000
 of your iOS image.

0:04:44.960000 --> 0:04:49.100000
 And that's typically storing that iOS
 image in a compressed or zipped

0:04:49.100000 --> 0:04:54.260000
 state. Now once you power on or turn
 on your router or your switch, then

0:04:54.260000 --> 0:04:59.300000
 that iOS software is taken out of that memory
 that we'll talk about uncompressed

0:04:59.300000 --> 0:05:04.620000
 or decompressed and loaded
 into DRAM memory.

0:05:04.620000 --> 0:05:08.620000
 Now the type of software we should be
 familiar with is something called

0:05:08.620000 --> 0:05:13.260000
 nonvolatile random access memory.

0:05:13.260000 --> 0:05:18.600000
 Now DRAM was dynamic random access
 memory because it was dynamic, that

0:05:18.600000 --> 0:05:22.360000
 meant it lost its contents
 if you turn the device off.

0:05:22.360000 --> 0:05:27.860000
 If power wasn't consistently supplied
 to it, DRAM memory was erased.

0:05:27.860000 --> 0:05:33.540000
 NV RAM is battery backed static RAM
 which means its contents are saved

0:05:33.540000 --> 0:05:36.340000
 even upon the loss of power.

0:05:36.340000 --> 0:05:37.820000
 So what's stored in NV RAM?

0:05:37.820000 --> 0:05:40.560000
 Well that's where your permanent configuration,
 your saved configuration

0:05:40.560000 --> 0:05:44.440000
 otherwise known as your startup
 configuration file is located.

0:05:44.440000 --> 0:05:49.260000
 It's also a permanent storage place of your
 hardware revision and identification

0:05:49.260000 --> 0:05:53.820000
 information as well as your
 configuration register.

0:05:53.820000 --> 0:05:56.400000
 I'll talk more about the configuration
 register and what you can do with

0:05:56.400000 --> 0:05:59.340000
 that in a subsequent video.

0:05:59.340000 --> 0:06:02.040000
 And the last piece of memory that you
 need to be familiar with as far

0:06:02.040000 --> 0:06:05.300000
 as its terminology is something
 called flash memory.

0:06:05.300000 --> 0:06:10.360000
 This is also like ROM in the fact that
 flash memory retains its contents

0:06:10.360000 --> 0:06:12.980000
 even upon a loss of power.

0:06:12.980000 --> 0:06:19.060000
 But unlike ROM, flash memory is erasable
 and reprogrammable up to about

0:06:19.060000 --> 0:06:21.740000
 a hundred thousand times or so.

0:06:21.740000 --> 0:06:25.460000
 And no battery backup is required.


0:06:25.460000 --> 0:06:29.020000
 So flash memory is typically where you
 would have your long term storage

0:06:29.020000 --> 0:06:32.720000
 of your Cisco iOS software.

0:06:32.720000 --> 0:06:36.900000
 And flash memory can either be on an
 internal chip or an internal SIM

0:06:36.900000 --> 0:06:40.100000
 or dim within the device
 or like we see here.

0:06:40.100000 --> 0:06:44.300000
 It could also come in the flavor of
 something called a compact flashcard

0:06:44.300000 --> 0:06:47.360000
 which you could remove
 and then take with you.

