Bed in – H3C Technologies H3C S12500 Series Switches User Manual

Page 111

Advertising
background image

99

To save the running configuration, perform either of the following tasks in any view:

Task Command

Remarks

Save the running configuration to a
configuration file, without
specifying the configuration file as

the next-startup configuration file.

In standalone mode:

save filename [ all | slot

slot-number ]

In IRF mode:

save filename [ all | chassis

chassis-number slot
slot-number ]

The save filename [ slot slot-number ]
command saves the configuration

only to the specified path, regardless
of whether the configuration

auto-update function has been

enabled.

Save the running configuration to a
configuration file in the root
directory of the storage medium

(flash memory or CF card), and

specify the file as the next-startup
configuration file.

save [ safely ] [ force ]

If the force keyword is specified, the
command saves the configuration to

the next-startup configuration file that

has been specified.
If the force keyword is not specified,
you can choose to re-specify a

next-startup configuration file as

instructed by the system.

In standalone mode, if configuration auto-update is enabled, the save filename all command and the
save [ safely ] [ force ] command save the configuration to both MPUs. If the function is disabled, the

commands save the configuration only to the active MPU.
In IRF mode, if configuration auto-update is enabled, the save filename all command and the save

[ safely ] [ force ] command save the configuration to all MPUs in the IRF fabric. If the function is disabled,
the commands save the configuration only to the active MPU on the master device.

Using automatic configuration backup after a software

upgrade

After a software upgrade, the system by default starts up with the next-startup configuration file created

on the old software version, but the system does not load settings that are incompatible with the new
software version to the current configuration.
In case a future downgrade is needed, the system automatically checks for configuration incompatibility

and backs up the old next-startup configuration file the first time you use the save command to save the

running configuration to the file.
The backup file is named in the _old-filename_bak.cfg format. For example, if the old configuration file
is named config.cfg, the backup file is named _config_bak.cfg.
In standalone mode, the overwrite and backup operations are performed on both active MPU and

standby MPU, regardless of whether configuration auto-update is enabled.
In IRF mode, the overwrite and backup operations are performed on all MPUs in the IRF fabric,
regardless of whether configuration auto-update is enabled.
If the backup attempt fails on a standby MPU, choose one of the following failure handling actions at

prompt:

Give up saving the configuration—The system does not save the running configuration on any
MPU.

Advertising