- [Instructor] It is always a good idea to save
your configuration after you've done a number of settings.
This is true whether you're on a switch, or a router,
or even if you're just doing a Word document.
And it's always good to save and to save often.
The configuration file in the switch,
and I'm going to log in here and show.
This is enabled. Expand the window.
So the configuration,
as you change the settings in the switch,
that configuration is saved and RAM.
What you want to do is to make sure
that you have saved what's in RAM to NVRAM,
which is a type of flash that stores
the running-config as the startup-config.
So that if the switch is rebooted or loses power,
that that configuration file will be reloaded
and will be preserved.
It's very easy to save the configuration file.
And I'm going to show you
what the configuration file looks like.
Currently, if you want to see what you have done,
you issue a show run.
You can see that this is what we have done
so far on the switch.
You hit the Spacebar to go down a full screen at a time.
You can see the banner message of the day there.
We can also do a show start.
This is short for show startup-config.
If I hit Enter,
you can see that the startup-config is not present.
That simply means that we have not copied
what's in the running configure in RAM to the NVRAM yet.
The command to do so is quite easy.
You just go copy running-config to startup-config.
You hit Enter.
It asks you if you would like to keep the default name
of startup-config, which is a best practice
'cause that is what the switch will look for
when it goes through its initial boot up routine.
We hit Enter, we get a response of okay.
Meaning what is in RAM has now been saved to the NVRAM.
We can now do a show start.
And that command is show startup-config.
And you can see that the configuration file
now as displayed is the same as what is in RAM.