WEBVTT

0:00:08.280000 --> 0:00:12.680000
 In this video I'd like to talk about
 a very useful tool within GNS3.

0:00:12.680000 --> 0:00:15.980000
 It's an optional tool, but like I said,
 it can be very useful to you called

0:00:15.980000 --> 0:00:18.040000
 the snapshot tool.

0:00:18.040000 --> 0:00:20.220000
 So first of all, let me
 paint you a picture.

0:00:20.220000 --> 0:00:26.080000
 Let's start with a basic GNS3
 topology, such as this one.

0:00:26.080000 --> 0:00:28.000000
 I'll zoom in on this here.

0:00:28.000000 --> 0:00:34.100000
 So let's say my objective here is to
 practice EIGRP, maybe by itself,

0:00:34.100000 --> 0:00:38.940000
 then practice OSPF by itself, and they
 maybe practice the redistribution

0:00:38.940000 --> 0:00:43.960000
 of EIGRP into OSPF and just basically
 use this simple topology here and

0:00:43.960000 --> 0:00:48.460000
 make multiple permutations to
 it, change it multiple times.

0:00:48.460000 --> 0:00:51.160000
 And here's what I'm thinking.

0:00:51.160000 --> 0:00:55.680000
 I'm thinking that maybe once I start
 out, maybe I just want to start with

0:00:55.680000 --> 0:00:59.640000
 the simple topology of just
 IP addresses and that's it.

0:00:59.640000 --> 0:01:05.160000
 And then later on, add on EIGRP to that,
 but at some point in time I might

0:01:05.160000 --> 0:01:09.020000
 want to go back to that initial topology
 where everything was connected

0:01:09.020000 --> 0:01:11.340000
 and all it had was IP addresses.

0:01:11.340000 --> 0:01:16.060000
 Go back to the time before it had
 any routing protocols configured.

0:01:16.060000 --> 0:01:20.480000
 And also, maybe after I initially create
 EIGRP and I have that running,

0:01:20.480000 --> 0:01:23.160000
 maybe in the future I want
 to go back to that.

0:01:23.160000 --> 0:01:27.900000
 Maybe in the future after I've got OSPF
 and EIGRP redistribution working

0:01:27.900000 --> 0:01:31.420000
 just fine, I say to myself, okay, I'd
 like to go back to the time when

0:01:31.420000 --> 0:01:33.900000
 I didn't have OSPF.

0:01:33.900000 --> 0:01:39.620000
 When I had all my IP addresses, when
 I had EIGRP working, but before I

0:01:39.620000 --> 0:01:40.720000
 had all my OSPF.

0:01:40.720000 --> 0:01:44.060000
 In other words, I want to have the ability
 to go back and forth in time

0:01:44.060000 --> 0:01:48.440000
 between different topologies to be able
 to play around with adding things,

0:01:48.440000 --> 0:01:49.420000
 changing things.

0:01:49.420000 --> 0:01:53.500000
 And that is what snapshots
 are used for.

0:01:53.500000 --> 0:01:57.480000
 Where within a project you want to be
 able to go back and forth in time

0:01:57.480000 --> 0:02:02.320000
 between what that project looked
 like at various states in time.

0:02:02.320000 --> 0:02:05.040000
 Now one of the things you might be wondering
 because this was a question

0:02:05.040000 --> 0:02:10.440000
 that came up with me was, well, why don't
 I just create multiple projects?

0:02:10.440000 --> 0:02:14.320000
 In other words, why don't I have one
 project that is simply this topology

0:02:14.320000 --> 0:02:18.260000
 with nothing but the
 IP addresses in it?

0:02:18.260000 --> 0:02:22.880000
 And then one I create another project
 that has this topology with the

0:02:22.880000 --> 0:02:25.540000
 IP addresses and EIGRP in it.

0:02:25.540000 --> 0:02:30.880000
 And then maybe a third project that
 has this EIGRP and OSPF running.

0:02:30.880000 --> 0:02:33.680000
 And then if I want to just go back and
 forth, I'll just open up different

0:02:33.680000 --> 0:02:35.600000
 project files to do that.

0:02:35.600000 --> 0:02:40.280000
 Why would I use this snapshot tool instead
 of just using multiple projects?

0:02:40.280000 --> 0:02:41.640000
 Well, here's the reason why.

0:02:41.640000 --> 0:02:45.280000
 Basically, at a high level, it comes
 down to memory consumption.

0:02:45.280000 --> 0:02:47.040000
 That's what it boils down to.

0:02:47.040000 --> 0:02:53.660000
 For example, look here in my folder
 where my projects are located, my

0:02:53.660000 --> 0:02:56.400000
 users, my name, GNS3 and projects.


0:02:56.400000 --> 0:02:59.820000
 And you can see right now I've
 just got four projects in here.

0:02:59.820000 --> 0:03:04.960000
 Well if I click on one, just select
 it and then I right click and hit

0:03:04.960000 --> 0:03:12.900000
 properties, notice that one project,
 524 megabytes of memory for that.

0:03:12.900000 --> 0:03:15.700000
 Okay, what about the next project?


0:03:15.700000 --> 0:03:18.960000
 Right click, properties.

0:03:18.960000 --> 0:03:23.240000
 Once again, 532 megabytes
 of memory.

0:03:23.240000 --> 0:03:29.580000
 So this is the downside of using, or I
 should say creating multiple projects.

0:03:29.580000 --> 0:03:33.500000
 If all you want to do is go back and
 forward with the same topology, but

0:03:33.500000 --> 0:03:37.220000
 adding different stuff to that topology
 or changing the topology, it's

0:03:37.220000 --> 0:03:43.320000
 going to eat up tons of memory in your
 doing that is by creating multiple

0:03:43.320000 --> 0:03:47.820000
 projects. This is where the snapshot
 tool is really beneficial because

0:03:47.820000 --> 0:03:54.020000
 everything within the snapshot stays within
 this one project as an example.

0:03:54.020000 --> 0:03:56.500000
 So let me go ahead and
 close this right here.

0:03:56.500000 --> 0:04:03.780000
 So in this particular topology, I
 have so far created two snapshots.

0:04:03.780000 --> 0:04:07.460000
 The first snapshot was just IP
 addressing and that was it.

0:04:07.460000 --> 0:04:13.220000
 All the links are up, IP addressing was
 configured, nothing else was configured.

0:04:13.220000 --> 0:04:15.420000
 So let's go back to that one.

0:04:15.420000 --> 0:04:19.400000
 And then I'll show you how to
 actually create new snapshots.

0:04:19.400000 --> 0:04:21.960000
 So the first thing I'm going to show you
 is if you've already got a snapshot

0:04:21.960000 --> 0:04:24.620000
 running, how do you go back to it?


0:04:24.620000 --> 0:04:27.540000
 In other words, if you've created a snapshot
 in the past, how do you revert

0:04:27.540000 --> 0:04:29.000000
 back to that snapshot?

0:04:29.000000 --> 0:04:33.460000
 So let's say that right now this topology
 actually was running EIGRP,

0:04:33.460000 --> 0:04:34.940000
 it actually was running OSPF.

0:04:34.940000 --> 0:04:38.000000
 There's all sorts of authentication
 and other fun stuff in here and I

0:04:38.000000 --> 0:04:39.840000
 say, OK, I'm done with that.

0:04:39.840000 --> 0:04:43.540000
 Now I want to go back to my real primitive
 topology that all it had on

0:04:43.540000 --> 0:04:46.260000
 it was IP addressing
 and that's it.

0:04:46.260000 --> 0:04:49.100000
 So step number one, and this
 is the critical thing.

0:04:49.100000 --> 0:04:54.520000
 When using the snapshot tool to either
 create a new snapshot or to restore

0:04:54.520000 --> 0:04:58.900000
 back to what a previous snapshot looked
 like, main thing to remember,

0:04:58.900000 --> 0:05:05.260000
 all of your devices,
 all of your stuff.

0:05:05.260000 --> 0:05:08.920000
 So anything that's running Cisco iOS,
 don't worry about the built in nodes

0:05:08.920000 --> 0:05:11.360000
 like cloud and host
 and all that stuff.

0:05:11.360000 --> 0:05:14.620000
 But anything that's running iOS, your
 ether switch modules and your routers

0:05:14.620000 --> 0:05:17.240000
 has to be in the off state.

0:05:17.240000 --> 0:05:20.820000
 If you try to create a new project while
 routers are currently running,

0:05:20.820000 --> 0:05:24.380000
 or if you try to revert back to an old
 project while stuff is currently

0:05:24.380000 --> 0:05:27.300000
 running, you're going to have
 unpredictable results.

0:05:27.300000 --> 0:05:30.360000
 A lot of times what I've seen
 is that it just doesn't work.

0:05:30.360000 --> 0:05:33.920000
 It takes you right back to the same
 place where you were before you went

0:05:33.920000 --> 0:05:38.000000
 into snapshots. So make sure that all
 of your iOS devices are turned off

0:05:38.000000 --> 0:05:41.680000
 before using snapshot in
 any way, shape or form.

0:05:41.680000 --> 0:05:44.560000
 So now I want to revert
 back to an old snapshot.

0:05:44.560000 --> 0:05:47.640000
 So number one, stop
 all my devices.

0:05:47.640000 --> 0:05:52.680000
 Now that they're all stopped,
 go up to this tool right here.

0:05:52.680000 --> 0:05:56.620000
 This is the, as you can see, managed
 snapshots tool and you're going to

0:05:56.620000 --> 0:06:00.380000
 want to click on that.

0:06:00.380000 --> 0:06:04.560000
 And you can see in this particular project,
 I've already created two snapshots.

0:06:04.560000 --> 0:06:07.060000
 So I'm going to click on the one and you
 can see when you create a snapshot,

0:06:07.060000 --> 0:06:10.600000
 you're going to want to give it some
 sort of descriptive name so you can

0:06:10.600000 --> 0:06:14.880000
 remember what your topology was like,
 what it was doing at that point

0:06:14.880000 --> 0:06:18.180000
 in time. So I'm going to click on IP
 addressing only and I'm going to

0:06:18.180000 --> 0:06:20.840000
 click on restore.

0:06:20.840000 --> 0:06:24.680000
 And it warns you, it says, okay, if you
 do this, anything that's currently

0:06:24.680000 --> 0:06:27.760000
 in your running config that hasn't
 been saved is going to be gone.

0:06:27.760000 --> 0:06:29.400000
 It's going to be wiped out.

0:06:29.400000 --> 0:06:31.840000
 I say, yeah, okay, well, that's
 actually what I want to do.

0:06:31.840000 --> 0:06:35.500000
 I want to wipe out the current state and
 revert back to the previous state.

0:06:35.500000 --> 0:06:38.920000
 Okay, so here I am.

0:06:38.920000 --> 0:06:43.360000
 Now actually if my, probably what I should
 have done is when I first started

0:06:43.360000 --> 0:06:47.220000
 this, I probably shouldn't have
 labeled in like EIGRP and OSPF.

0:06:47.220000 --> 0:06:51.520000
 I probably when I created the snapshot,
 it probably would have made more

0:06:51.520000 --> 0:06:55.620000
 sense just to have the actual picture
 look like the routers, the links

0:06:55.620000 --> 0:06:57.160000
 and the IP addresses.

0:06:57.160000 --> 0:07:00.060000
 Because right now looking at this, I
 know it kind of looks confusing like,

0:07:00.060000 --> 0:07:02.940000
 well, wait a second, is he still
 running EIGRP and OSPF?

0:07:02.940000 --> 0:07:05.200000
 No, I'm not. And here's
 how I can show you.

0:07:05.200000 --> 0:07:07.420000
 I'll go ahead and start
 everything up.

0:07:07.420000 --> 0:07:09.840000
 All right, now it's running.

0:07:09.840000 --> 0:07:12.620000
 Now I'm just going to get
 into one of my devices.

0:07:12.620000 --> 0:07:21.580000
 Let's say R2. And the way I know that
 the snapshot worked the way that

0:07:21.580000 --> 0:07:28.240000
 I reverted back is that when this device
 comes up, if I do show IP interface

0:07:28.240000 --> 0:07:34.420000
 brief, actually let me go ahead and
 just make the font size a little bit

0:07:34.420000 --> 0:07:39.200000
 larger for you guys so you can read
 a little bit easier on the video.

0:07:39.200000 --> 0:07:53.580000
 There we go. Show IP
 interface brief.

0:07:53.580000 --> 0:07:56.940000
 So you can see right now my
 IP addresses are there.

0:07:56.940000 --> 0:08:00.400000
 It remembered that the time I took this
 snapshot, those interfaces were

0:08:00.400000 --> 0:08:02.560000
 actually up, up and connected.

0:08:02.560000 --> 0:08:06.600000
 And if I do show IP protocols,
 you can see there's nothing.

0:08:06.600000 --> 0:08:10.400000
 So right now this is before I configured
 any routing protocol at all.

0:08:10.400000 --> 0:08:13.480000
 All I had were IP addresses.

0:08:13.480000 --> 0:08:16.160000
 Now let's go ahead and
 close this window.

0:08:16.160000 --> 0:08:21.260000
 And now I say, okay, well what I'd like
 to do now is move forward in time.

0:08:21.260000 --> 0:08:25.820000
 I want to go forward in time to when
 I create the snapshot when my EI

0:08:25.820000 --> 0:08:28.280000
-JRP was up and functional.

0:08:28.280000 --> 0:08:30.300000
 Okay, click stop.

0:08:30.300000 --> 0:08:32.240000
 Stop everything.

0:08:32.240000 --> 0:08:34.440000
 Go to the snapshot button again.

0:08:34.440000 --> 0:08:39.720000
 Select the snapshot that you previously
 created and restore.

0:08:39.720000 --> 0:08:42.020000
 Once again, you get the warning.

0:08:42.020000 --> 0:08:49.280000
 All right, everything
 should be back.

0:08:49.280000 --> 0:08:51.580000
 Now let's start everything
 up again.

0:08:51.580000 --> 0:08:55.160000
 So how do I know that that worked?


0:08:55.160000 --> 0:08:59.420000
 How do I know that it restored me back
 to that point in time when not

0:08:59.420000 --> 0:09:02.640000
 only the IP addresses were here but
 I had also configured EI-JRP.

0:09:02.640000 --> 0:09:06.720000
 Well, once again, let's just double
 click on a router R2 here.

0:09:06.720000 --> 0:09:19.880000
 Show IP interface brief.

0:09:19.880000 --> 0:09:21.660000
 Verify that my IP addresses
 are still there.

0:09:21.660000 --> 0:09:24.620000
 Yep. And now show IP protocols.

0:09:24.620000 --> 0:09:27.900000
 And you can see I've
 got EI-JRP running.

0:09:27.900000 --> 0:09:30.820000
 Show IP EI-JRP neighbor.

0:09:30.820000 --> 0:09:32.160000
 I have an EI-JRP neighbor.

0:09:32.160000 --> 0:09:35.460000
 So it now brought me to
 that point in time.

0:09:35.460000 --> 0:09:37.540000
 So now let's take it
 one step further.

0:09:37.540000 --> 0:09:41.080000
 Let me show you how to create
 a brand new snapshot.

0:09:41.080000 --> 0:09:45.100000
 So in order to do this, I'm going to
 take up with my existing topology

0:09:45.100000 --> 0:09:49.520000
 and now I'm going to configure just
 a basic OSPF adjacency between R2

0:09:49.520000 --> 0:09:53.440000
 and R3. So let's bring up R3 here.


0:09:53.440000 --> 0:10:27.780000
 All right. Now I wanna needMex bash
 AppN So I'm using Syncfighting as

0:10:27.780000 --> 0:10:29.000000
 an API. It's a great
 memory command.

0:10:29.000000 --> 0:10:32.300000
 It's kind of a breabade here, but I could
 also have issued the CopyRunStart

0:10:32.300000 --> 0:10:35.340000
 command. Why is that important?

0:10:35.340000 --> 0:10:39.860000
 Because when you take the snapshot,
 when you create it, at that moment

0:10:39.860000 --> 0:10:45.680000
 in time, it takes a snapshot of the current
 saved configuration, the startup

0:10:45.680000 --> 0:10:47.340000
 configuration of your devices.

0:10:47.340000 --> 0:10:51.660000
 It does not take a snapshot of
 your running configuration.

0:10:51.660000 --> 0:10:55.240000
 So if you have a running configuration
 with any unsaved changes, they

0:10:55.240000 --> 0:10:58.800000
 will not be a part
 of your snapshot.

0:10:58.800000 --> 0:11:03.940000
 So make sure you save all your configs
 with CopyRunStart or WriteMemory,

0:11:03.940000 --> 0:11:05.340000
 whichever you prefer.

0:11:05.340000 --> 0:11:09.480000
 Then make sure you shut down all your
 routers, power them off, and then

0:11:09.480000 --> 0:11:12.940000
 take the snapshot.

0:11:12.940000 --> 0:11:22.860000
 Alright, so I saved my
 configuration here.

0:11:22.860000 --> 0:11:24.960000
 So now let's go into,
 I'm done with Router2.

0:11:24.960000 --> 0:11:28.000000
 Let's go into the other router.

0:11:28.000000 --> 0:11:33.080000
 And actually before I do this, I will just
 copy that part of my OSPF configuration

0:11:33.080000 --> 0:11:35.480000
 so I can just copy and paste it.

0:11:35.480000 --> 0:11:40.380000
 Make life easy for myself.

0:11:40.380000 --> 0:11:43.980000
 Alright, now let's get
 into the other router.

0:11:43.980000 --> 0:11:48.100000
 Paste all that stuff in.

0:11:48.100000 --> 0:11:48.940000
 Ah, it didn't work.

0:11:48.940000 --> 0:11:54.380000
 Okay, so let's go back over here.

0:11:54.380000 --> 0:12:04.060000
 There we go. So we should see now OSPF
 takes a little bit longer than

0:12:04.060000 --> 0:12:07.060000
 EIGRP to do it stuff,
 but there we go.

0:12:07.060000 --> 0:12:09.400000
 Now the OSPF adjacency is up.

0:12:09.400000 --> 0:12:13.000000
 Show IP OSPF neighbor.

0:12:13.000000 --> 0:12:17.400000
 Great. Now I have to remember to save
 the configuration in this guy.

0:12:17.400000 --> 0:12:22.200000
 Alright, so now I've saved the
 configuration in both routers.

0:12:22.200000 --> 0:12:26.280000
 I will shut this terminal
 application down.

0:12:26.280000 --> 0:12:29.460000
 I will turn off my routers.

0:12:29.460000 --> 0:12:33.060000
 And now once again, I'll
 go to the snapshot tool.

0:12:33.060000 --> 0:12:37.020000
 And this time I'll select create.

0:12:37.020000 --> 0:12:38.680000
 And I'll give it a name.

0:12:38.680000 --> 0:12:46.200000
 OSPF, EIGRP, no redistribute.

0:12:46.200000 --> 0:12:48.300000
 That's just my name.

0:12:48.300000 --> 0:12:52.500000
 It saves it and I close it.

0:12:52.500000 --> 0:12:55.500000
 Now where does it actually
 save these snapshots?

0:12:55.500000 --> 0:12:58.980000
 You might be wondering are these snapshots
 going to be good even after

0:12:58.980000 --> 0:13:01.700000
 I close this project and
 completely walk away?

0:13:01.700000 --> 0:13:03.120000
 What if I close my laptop?

0:13:03.120000 --> 0:13:05.040000
 Are the snapshots still in there?

0:13:05.040000 --> 0:13:06.840000
 Yes, they are. And here's
 how I can see.

0:13:06.840000 --> 0:13:08.720000
 So everything's closed.

0:13:08.720000 --> 0:13:13.260000
 Let's go ahead and quit from GNS3.


0:13:13.260000 --> 0:13:18.860000
 And now I'll go into my file where
 all of my GNS3 stuff is.

0:13:18.860000 --> 0:13:22.560000
 Here's projects.

0:13:22.560000 --> 0:13:25.180000
 So I'll select that snapshot test.


0:13:25.180000 --> 0:13:26.520000
 That's the one I was doing.

0:13:26.520000 --> 0:13:30.500000
 And under project files,
 you can see right there.

0:13:30.500000 --> 0:13:33.660000
 It has a category
 called snapshots.

0:13:33.660000 --> 0:13:39.940000
 If I double click on that, there are
 all the snapshots that I created.

0:13:39.940000 --> 0:13:45.060000
 So now let's go ahead and notice if I
 go back to the project file, that's

0:13:45.060000 --> 0:13:46.800000
 all contained within
 that one project.

0:13:46.800000 --> 0:13:53.160000
 So that one project now that has multiple
 snapshots in time, it exceeded

0:13:53.160000 --> 0:13:54.600000
 the size a little bit.

0:13:54.600000 --> 0:13:57.480000
 The other products were like
 500 and something megs.

0:13:57.480000 --> 0:14:07.840000
 Now in this particular case,
 we're up to 799 megabits.

0:14:07.840000 --> 0:14:10.840000
 Rather than three
 or four snapshots.

0:14:10.840000 --> 0:14:17.720000
 So okay. So let's go back to
 GNS3 and start it up again.

0:14:17.720000 --> 0:14:22.100000
 I will open that project.

0:14:22.100000 --> 0:14:33.080000
 Now by default, when you open the project,
 GNS3 will open it to the most

0:14:33.080000 --> 0:14:35.740000
 recent snapshot that you took.

0:14:35.740000 --> 0:14:41.380000
 So right now it should have opened it
 to my EIGRP OSPF snapshot because

0:14:41.380000 --> 0:14:44.760000
 that was the very last one that I took
 before I shut everything down.

0:14:44.760000 --> 0:14:46.600000
 Let's confirm that.

0:14:46.600000 --> 0:14:52.000000
 So I'll just open up R2 and if I'm right,
 R2 should now be running EIGRP

0:14:52.000000 --> 0:15:07.120000
 and OSPF. And here's
 how we can tell.

0:15:07.120000 --> 0:15:11.340000
 Show IPEIGRP neighbor.

0:15:11.340000 --> 0:15:13.720000
 Yep, I have an EIGRP neighbor.

0:15:13.720000 --> 0:15:16.340000
 Show IPOSPF neighbor.

0:15:16.340000 --> 0:15:18.920000
 And there's my OSPF neighbor.

0:15:18.920000 --> 0:15:23.440000
 I say okay, well I want to go back in
 time when all I had were IP addresses.

0:15:23.440000 --> 0:15:27.060000
 Maybe I want to get rid of EIGRP and
 OSPF and I want to configure RIP

0:15:27.060000 --> 0:15:33.120000
 and BGP. Okay, well rather than unconfiguring
 everything, I will just

0:15:33.120000 --> 0:15:35.340000
 stop all my routers.

0:15:35.340000 --> 0:15:37.840000
 Go to my snapshot tool.

0:15:37.840000 --> 0:15:41.060000
 Go to my very first snapshot.

0:15:41.060000 --> 0:15:50.060000
 Restore. All right, now
 start them all up again.

0:15:50.060000 --> 0:15:54.900000
 And now when I go into
 R2, we should see.

0:15:54.900000 --> 0:16:05.760000
 Let me make this a little
 bit larger for you.

0:16:05.760000 --> 0:16:09.980000
 So now because I went to my first snapshot,
 if I do show IP protocol,

0:16:09.980000 --> 0:16:17.940000
 I have nothing. If I do show IP interface
 brief, I still have my IP addresses.

0:16:17.940000 --> 0:16:20.580000
 And that is how you use
 the snapshot tool.

