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 107.

NOTE: All management sessions are terminated because the switch is reset. Use the Set Setup System command to return the IP configuration to the values you want.

NOTE: Configuration archive files created with the McDATA Web Server Archive function are not compatible with the Config Restore command.

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:

McDATA4GbSAN #> admin start

McDATA4GbSAN (admin) #> config edit

The config named default is being edited.

.

.

McDATA4GbSAN (admin-config) #> config cancel

Configuration mode will be canceled. Please confirm (y/n): [n] y

McDATA4GbSAN (admin) #> admin end

The following is an example of how to create a backup file (configdata) and download the file to the workstation.

McDATA4GbSAN #> admin start

McDATA4GbSAN (admin) #> config backup

McDATA4GbSAN (admin) #> admin end

McDATA4GbSAN #> exit

#>ftp symbolic_name or ip_address user: images

password: images ftp> bin

ftp> get configdata ftp> quit