Configuration File Management 51

Table 25 Select and view the storage media of configuration file

Operation

Command

 

 

Select the storage media of configuration file (in system

configfile { flash

view)

nvram }

 

 

View the storage media type of current configuration file

display configfile

(in all view)

 

 

 

If there is only one type of storage media available, the configfile command will not be effective.

Modify and Save Users can modify the current configuration of the router via the command line Current Configuration interface. To save the current configuration as initial configuration for the next power-on, use the save command to save the current configuration in Flash or

NVRAM, which will be decided by the configfile command.

Please use the following command in system view.

Table 26 Save current configuration

Operation

Command

 

 

Save current configuration

save

 

 

Erase Configuration File The delete command can be used to delete the configuration file in Flash or

in Storage Media NVRAM of the router. After deleting the configuration files, the router will use the default configuration parameters for initialization during the next power-on. The configuration file in Flash or NVRAM can be deleted in the following cases:

After upgrading, if the router software does not match with the configuration file.

If the configuration file in Flash or NVRAM is damaged, for example, the wrong configuration file is loaded.

Please use the following command in system view.

Set the Flag Bit to Enter the Initial Setup Mode

Table 27 Erase the configuration file in storage media.

Operation

Command

 

 

Erase the configuration file in storage media

delete

 

 

first-config set is used to set the flag bit of the initial setup. After the flag bit is set, the router will delete the config files in Flash or NVRAM before the system enters setup mode, in case of powering off, and reset. The operation is similar to the delete command.

first-config reset is used to cancel the setting of the flag bit.

Do not use this command before the save command, which also cancels the setting of the flag bit.

Use these commands in system view.

Page 55
Image 55
3Com 10014299 manual Select and view the storage media of configuration file, Save current configuration