Brocade FC switch is getting widely used in SAN infrastructure and it’s critical to Backup configuration and restore in case of disaster.
“configupload” can be used to Backup the configuration of the switch to a FTP server and “configdownload” can be used to Restore configuration in case of disaster.
It’s simple, but be careful with configdownload as it will erase the replace the existing configuration.
– To Backup the config,
Switch_B:admin> configupload
Protocol (scp, ftp, local) [ftp]: ftp
Server Name or IP Address [host]: <IP of FTP Server>
User Name [user]: <User>
File Name [config.txt]: switch_B_config.txt
Password:
configUpload complete: All config parameters are uploaded
Switch_B:admin>
– To Restore Configuration
Switch_B:admin>configdownload
Switch_B:admin> switchdisable
Protocol (scp, ftp, local) [ftp]: ftp
Server Name or IP Address [host]: <IP of FTP Server>
User Name [user]: <User>
File Name [config.txt]: SwitchB.txt
*** CAUTION ***
This command is used to download a backed-up configuration for a specific switch. If using a file from a different switch, this file’s configuration settings will override any current switch settings. Downloading a configuration file, which was uploaded from a different type of switch, may cause this switch to fail. A switch reboot might be required for some parameter changes to take effect.
configDownload operation may take several minutes to complete for large files.Do you want to continue [y/n]: y
Password:
Activating configDownload: Switch is disabled
configDownload complete: All config parameters are downloaded
Switch_B:admin> switchenable
Switch_B:admin>
– Switch should be disabled while replacing configuration and can be enabled once done.