Managing configuration files, Overview, Configuration types – H3C Technologies H3C S12500 Series Switches User Manual
Page 108: Factory defaults, Startup configuration, Running configuration

96
Managing configuration files
You can use the CLI or the BootWare menus to manage configuration files. This chapter describes only
managing configuration files from the CLI.
Overview
A configuration file saves configurations as a set of text commands. You can save the running
configuration to a configuration file so the configuration takes effect after you reboot the switch. You can
also back up the configuration file on to a host and download the file to the device as needed.
Configuration types
The switch has the following types of configuration: factory defaults, startup configuration, and running
configuration.
Factory defaults
The switch is shipped with some basic settings called "factory defaults." These default settings make sure
the switch can start up and run correctly when it has no configuration file or the configuration file is
corrupted.
Factory defaults vary with device models and might differ from the default settings of commands.
To view the factory defaults of the switch, use the display default-configuration command.
Startup configuration
The switch uses startup configuration to configure software features during startup. After the switch starts
up, you can specify a different configuration file to be loaded at the next startup. This configuration file
is called the "next-startup configuration file." The configuration file that has been loaded is called the
"current startup configuration file."
If no next-startup configuration file exists, the switch boots with the factory defaults.
You can view the startup configuration in either of the following ways:
•
Execute the display startup command. To view detailed file contents, use the more command.
•
After the switch reboots, execute the display current-configuration command before making any
configuration.
Running configuration
Running configuration includes startup settings that have not been changed and new settings you have
made. It is stored in a volatile storage medium and takes effect while the device is operating.
A new setting takes effect immediately after it is made but must be saved to a configuration file to survive
a reboot.
To view the running configuration, use the display current-configuration command.
- H3C S12500-X Series Switches H3C S9800 Series Switches H3C S9500E Series Switches H3C S5560 Series Switches H3C S5130 Series Switches H3C S5120 Series Switches H3C SR8800 H3C SR6600-X H3C SR6600 H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C WX3000E Series Wireless Switches H3C WX5500E Series Access Controllers H3C WX3500E Series Access Controllers H3C WX2500E Series Access Controllers H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSUM3WCMD0 Access Controller Module H3C LSUM1WCME0 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C WA3600 Series Access Points H3C WA2600 Series WLAN Access Points H3C SecPath F5020 H3C SecPath F5040 H3C VMSG VFW1000 H3C S10500 Series Switches