save command

Use the save command to save all settings to a file.

By default, backup control settings (settings in the class backupctl) are saved unless an optional modifier is specified. The supported modifiers include --group, --setlist, and --excbackupctl (refer to Command modifiers for the specific syntax).

Limitations

Settings that are defined in the password class or authentication settings (user IDs) class settings are not saved during a save operation. To list the settings that belong to the password class, type the following command:
asu showvalues password

Syntax

The syntax of the save command is
asu save file_name [--group group_name | --setlist set_name1..set_nameN] 
[--excbackupctl] [-nx] [connect_options]
where

file_name is the name of the file to which the saved settings are written.

Notes

  1. If the optional --group parameter is specified, only settings that belong to the specified group are saved.
  2. If the optional --setlist parameter is specified, only settings that belong to the specified list of settings are saved.
  3. If the optional --excbackupctl parameter is specified, backup control settings (settings in the class backupctl) are not saved.
  4. If the optional -nx parameter is specified, the ASU performs the operation for node x, where x is the selected node in a multi-node system. Node x can be a number from 1 through 8. If the -nx parameter is not specified, the operation is performed on the primary node (node 1).
  5. The connect options are defined for IMM-based servers only. The --host ip_address, --user user_id, and --password password connect options are all required if you connect remotely to the IMM. The default user and password will not support an out-of-band connection now. The --mtsn, --net, --user, and --password options can be used to connect to IMM-based servers if the server running ASU and the target IMM-based servers are in one LAN. The --user user_id and --password password connect options are not required if you are using the local KCS interface.

Output

The output of the save command is a message that indicates that the settings are saved to the file name that is specified in the command.

The save command and corresponding output are shown in the following examples.

Command line to save all settings:
 asu save save.txt
Output:
Settings saved to save.txt
save.txt file (Save output file):
CMOS_CRTRequired=Enabled
CMOS_KbdRequired=Enabled




BMC_CRTRequired=Enabled
BMC_KbdRequired=Enabled



Command line to save all BIOS settings:
asu save save.txt --group bios
Output:
Settings saved to save.txt
save.txt file (Save output file):
CMOS_CRTRequired=Enabled
CMOS_KbdRequired=Enabled



Command line to save all IMM settings:
asu save save.txt --group IMM
Output:
Settings saved to save.txt
save.txt file (Save output file):
IMM.PowerRestorePolicy=Last state
IMM.PowerOnAtSpecifiedTime_Year=0



Command line to save only the IMM.LockoutPeriod and UEFI.rehook19 settings:
asu save save.txt --setlist IMM.LockoutPeriod uEFI.rehook19
Output:
Settings saved to save.txt
save.txt file (Save output file):
IMM.LockoutPeriod=2
uEFI.rehook19=CMOS_KbdRequired=Enabled
Command line to save all settings except those in the backupctl class:
asu save save.txt --excbackupctl
Output:
Settings saved to save.txt
save.txt file (Save output file):
uEFI.TurboModeEnable=Enable
uEFI.ProcessorEistEnable=Enable



Command line to save all BIOS settings from node 2:
asu save save.txt --group bios -n2
Output:
Settings saved to save.txt
save.txt file (Save output file):
CMOS_CRTRequired=Enabled
CMOS_KbdRequired=Enabled