WEBVTT

00:05.000 --> 00:06.320
So welcome back guys.

00:06.320 --> 00:14.180
Now in this video I will show you how you can save save your CMR labs exported and imported later.

00:14.210 --> 00:15.050
Right.

00:15.680 --> 00:20.990
So what I will going to do, I will going to create a new lab for demonstration purpose.

00:23.510 --> 00:27.110
Let me create some minimal topology.

00:28.250 --> 00:31.400
So I will just pull the two routers.

00:31.760 --> 00:33.530
Let me connect it.

00:36.620 --> 00:39.260
And let me start the lab.

00:39.260 --> 00:43.010
So go to simulate and you can just click Start Lab button.

00:43.010 --> 00:45.770
So all the nodes will be started at the same time.

00:45.770 --> 00:51.230
So currently I am showing you how to export the lab in a file, which you can save it locally on your

00:51.230 --> 00:56.330
hard disk so that tomorrow you can come back and you can import the same file.

00:56.330 --> 01:02.240
So your lab will be up and running with all the configurations of the devices.

01:03.120 --> 01:06.300
So let's wait for the device to get boot up.

01:06.900 --> 01:10.170
So now let's see if the device has booted up.

01:10.200 --> 01:11.490
Yes it has.

01:11.520 --> 01:15.150
So I'm on the device CSR 1000 v zero node.

01:15.570 --> 01:17.970
Now let me do some configuration.

01:20.190 --> 01:23.640
Let me set the name of the device as node zero.

01:24.630 --> 01:29.430
Let me set the IP address of the Gigabit Ethernet one interface.

01:34.980 --> 01:36.990
And that's it.

01:37.020 --> 01:39.360
So copy running.

01:40.560 --> 01:45.300
To start up configuration you have to execute this command in order to save the configuration of the

01:45.300 --> 01:49.410
device followed by right memory.

01:51.060 --> 01:51.600
Right.

01:51.630 --> 01:54.600
Similarly I will do the same on the other node.

02:11.130 --> 02:16.110
Copy running to start up configuration and right memory.

02:17.100 --> 02:17.700
Right.

02:17.700 --> 02:24.120
So guys, now that our lab is up and running now let us see how to save the configuration of the devices.

02:24.120 --> 02:31.620
So click on the device go to Edit Config and here click on this button fetch from the device.

02:34.140 --> 02:37.650
So here you will have the configuration that is fetched from the device.

02:37.680 --> 02:40.500
Similarly you have to do it for all the devices.

02:40.500 --> 02:44.790
So go on the second device and fetch from the device.

02:47.550 --> 02:50.970
So now that configuration has been fetched from the device.

02:50.970 --> 02:53.580
Now click on this empty area.

02:54.090 --> 02:56.730
And then finally you download the lab.

02:57.690 --> 02:59.640
So lab has been downloaded.

02:59.790 --> 03:08.080
And the name of my lab is lab at Sunday 4:52 a.m. dot YAML file, so you will download it as YAML file.

03:08.110 --> 03:14.110
Now to confirm whether your device configuration has also been exported or not, you can simply open

03:14.110 --> 03:20.440
this file in a notepad and you can see for you can search for some configuration that you have done

03:20.470 --> 03:21.610
on the device.

03:21.610 --> 03:25.810
For example, I configured the IP address ten .1.1.

03:25.810 --> 03:29.440
So you should see this IP address somewhere in this file.

03:29.440 --> 03:31.930
And you can see it is here.

03:31.960 --> 03:32.680
Right.

03:32.680 --> 03:36.550
So it means that the device configuration has also been exported.

03:36.970 --> 03:40.060
And this file also contains the structure of your lab.

03:40.060 --> 03:44.380
That is what are the nodes you deployed in the lab.

03:44.380 --> 03:48.190
And what are the links which connects various nodes in the lab.

03:48.190 --> 03:51.430
All these details have also been exported in this file.

03:53.350 --> 03:53.860
All right.

03:53.860 --> 03:54.790
So this is the file.

03:54.790 --> 03:58.450
Now you have saved locally on your hard disk.

04:01.840 --> 04:08.100
Now let's say you come tomorrow and want to resume the lab from the same point where you had left.

04:08.100 --> 04:13.470
So in order to simulate that you have come tomorrow, let me delete this lap altogether.

04:13.470 --> 04:18.090
So I will just select this lap and I will just click on delete selected.

04:18.090 --> 04:24.750
So it means that this lab is permanently gone from the CML servers right now.

04:24.750 --> 04:29.490
You come tomorrow and now you want to import the lab from and you want to resume your work from the

04:29.490 --> 04:30.420
same point.

04:30.420 --> 04:36.420
So you click on this import import button on the right hand side on the top right corner.

04:37.050 --> 04:41.550
Then you need to import the same file which you have saved.

04:42.690 --> 04:44.370
So that is the same YAML file.

04:44.370 --> 04:49.050
I will going to import and simply click on this import button.

04:49.560 --> 04:51.570
So your lab has been imported.

04:51.570 --> 04:54.090
Now you just click on go to lab now.

04:54.780 --> 04:57.990
And you can see that your lab has now been imported.

04:57.990 --> 05:04.350
So now let us start the lab and check whether all the configuration has been restored or not.

05:04.350 --> 05:07.940
So go to simulate and go to start lab.

05:09.380 --> 05:13.280
Now let's wait for the device to become up and running again.

05:15.830 --> 05:18.020
So, guys, now the lab has been booted up.

05:18.020 --> 05:21.590
Now, let me check the configuration on the individual devices.

05:21.590 --> 05:24.320
So I am on device on node zero.

05:24.320 --> 05:28.250
And you can see that the name of the node has been preserved which is node zero.

05:28.280 --> 05:31.730
Also let me check the IP address that we configured.

05:34.940 --> 05:37.880
And here you can see that IP address is also there.

05:37.880 --> 05:40.490
And the same is true with other nodes.

05:40.490 --> 05:42.080
With other node of the lab.

05:42.830 --> 05:45.590
See the name of the node is preserved.

05:45.590 --> 05:50.150
And if you go and check the IP address.

05:52.250 --> 05:53.690
It should also be there.

05:56.270 --> 05:58.220
Yeah IP address is also there.

05:58.220 --> 06:01.670
So now you can resume your working on the lab.

06:01.790 --> 06:05.480
So always remember that before your slot expires for the day.

06:05.480 --> 06:09.920
Please save your labs along with the configuration of the devices.
