B – Command Line Interface
Config Command
B-12 59042-07 A
0
restore
Restores configuration settings to an out-of-band switch from a backup file named
configdata, which must be first uploaded on the switch using FTP. You create the
backup file using the Config Backup command. Use FTP to load the backup file
on a switch, then enter the Config Restore command. After the restore is
complete, the switch automatically resets. Refer to “Backing up and Restoring
Switch Configurations” on page B-4.
save [config_name]
Saves changes made during a configuration edit session in the configuration
given by [config_name]. If you omit [config_name], the value for [config_name]
you chose for the most recent Config Edit command is used. [config_name] can
be up to 31 characters excluding #, semicolon (;), and comma (,). The switch
supports up to 10 configurations including the default configuration.
Notes If you edit the active configuration, changes will be held in suspense until you
reactivate the configuration or activate another configuration.
Examples The following shows an example of how to open and close a Config Edit session:
SANbox2 #> admin start
SANbox2 (admin) #> config edit
The config named default is being edited.
.
.
SANbox2 (admin-config) #> config cancel
Configuration mode will be canceled. Please confirm (y/n): [n] y
SANbox2 (admin) #> admin end
Note: If the restore process changes the IP address, all management
sessions are terminated. Use the Set Setup System command to
return the IP configuration to the values you want. Refer to the “Set
Setup Command” on page B-53.
Configuration archive files created with the SANsurfer Switch
Manager Archive function are not compatible with the Config
Restore command.