In the previous video, we already learn about some basic cisco command, 2
we also already learn how to configure an ip address in the cisco router. 3
Next in this video, I will show you how to save configuration in cisco. 4
Let’s start with the switch. 5
Here let’s enable, and then show run. 6
Okay here we don’t configure anything yet. 7
For testing, let’s try to configure a hostname. 8
Let’s say the hostname is sw like this. 9
Now let’s try to restart the switch. 10
To restart the switch, we can use command do reload. 11
Here we get a question system configuration has been modified, save, yes or no. 12
If we choose yes, the configuration will be saved, but in this case, we will choose no. 13
Here I want to show you the case how if suddenly our switch is restarted, 14
let’s say there is a problem with electricity. 15
So the switch will be shutdown or restart. 16
Okay here the booting is done, let’s enter, and here we can see that the hostname is back 17
to the default 18
This is what will be happened if the cisco devices is suddenly shutdown or restart. 19
The configuration will be gone. 20
For another example, let’s try to add a router, we will not using this one, 21
because we already have many configuration here. 22
Okay let’s import a new router, choose no here, enable to go to privilege mode, 23
and conf t to go to global configuration mode. 24
Here let’s configure the hostname, let’s say the hostname is R, and then let’s also 25
configure the password. 26
Here if we try to show run, we can see the configuration that we already do, which is 27
hostname and enable secret. 28
After doing configuration like this, let’s say suddenly the electricity is down, 29
so our router must be shutdown right? 30
Okay let’s try to shutdown the router, here we can go to physical. 31
And here we can see on off button. 32
Let’s click the button, and now the router is shutdown. 33
So let’s say now there is a problem with the electricity. 34
And then now let’s turn on the router again. 35
Now let’s go to cli again, here let’s wait for the booting process. 36
Okay the booting is done, and now if we see here, the hostname is back to the default, 37
and if we try to enable, we don’t need to input any password. 38
The configuration that we already do before is gone. 39
Why? 40
This is because the configuration of cisco devices is not saved by default. 41
This is why we need to save the cisco configuration. 42
Now let’s try to learn how to save the cisco configuration. 43
For testing, let’s configure the hostname, let’s say R. Let’s also configure the password. 44
Okay, now let’s save the configuration. 45
To save the configuration in cisco, we can use write command. 46
Okay now the configuration is saved. 47
Now let’s shutdown the router, and then turn on again. 48
Let’s go to CLI, wait for a second for booting. 49
And okay here we can see that the configuration is not gone. 50
The hostname is still R and if we try to enable, here we need to input the password. 51
This is means that the configuration is already saved. 52
Okay I think enough for this video 53
Thankyou for watching and see you on the next video.