Backing up the configuration file of the switch is important. You need to back up the configuration file periodically and be familiar with the process of restoring the configuration file. If a new Fibre Channel switch is purchased,
Backing Up Configuration Files
The configuration file is backed up to a remote server each time the FC switch is configured. The SCP, FTP, and SFTP protocols are supported. You can run the configupload command to save the configuration of the Brocade switch in text format to the local host.
FCSwitch:root> configupload
Protocol (scp, ftp, sftp, local) [ftp]: ftp
Server Name or IP Address [host]: ftp.liaojl.com
User Name [user]: liaojl
Path/Filename [<home dir>/config.txt]: FCSwitch/FCSwitch-all.txt
Section (all|chassis|switch [all]): all
Password:
configUpload complete: All selected config parameters are uploaded
The following information is not saved during the backup process:
dnsConfig information
Passwords

If no FTP or SFTP server is available, you can use the SCP to copy the file to a Linux server.
Restoring Configuration Files
To restore the configuration of the Brocade switch from the remote server to the switch, run the configdownload command. You can import the configuration file of an earlier version to a switch with a new firmware version. For example, you can import the configuration file of v6.2.0 to a switch with a firmware version of v6.3.0 or import the configuration file of v6.4.1 to a switch with a firmware version of v7.0.0.
Importing a configuration file to a switch with an incompatible firmware version may cause the switch to fail. You are advised to save the configuration file frequently to ensure that the version of the backup configuration file is the same as that of the switch firmware.
For firmware v6.1.0 and later versions, disable switch is not required when you restore the configuration file. In some special cases, after the configuration file is restored, the system prompts you to restart the switch.
FCSwitch:root> configdownload
Protocol (scp, ftp, local) [ftp]:
Server Name or IP Address [host]: ftp.liaojl.com
User Name [user]: liaojl
Path/Filename [<home dir>/config.txt]: FCSwitch/FCSwitch-all.txt
Section (all|chassis|FID# [all]): all
*** 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: <hidden>
configDownload complete.
Firmware upgrade
Before upgrading the firmware, check the disk space of the root partition. If the disk space usage exceeds 60%, contact Brocade technical support.
FCSwitch:root> df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 495016 165432 304032 35% /
/dev/hda1 494984 165712 303724 35% /mnt
Check the current firmware version of the switch.
FCSwitch:root> version
Kernel: 2.6.14.2
Fabric OS: v6.4.1a
Made on: Tue Dec 14 03:02:28 2010
Flash: Mon Sep 12 11:03:46 2011
BootProm: 1.0.9
FCSwitch:root> firmwareShow
Appl Primary/Secondary Versions
-----------------------------------------
FOS v6.4.1a
v6.4.1a
Use the firmwareDownload tool to download the firmware from the FTP server and upgrade the firmware.
FCSwitch:root> firmwareDownload
Server Name or IP Address: ftp.liaojl.com
User Name: liaojl
File Name: v6.4.2b
Network Protocol(1-auto-select, 2-FTP, 3-SCP) [1]: 2
Password:
Do you want to continue (Y/N) [Y]: y
All packages have been downloaded successfully.
Firmware has been downloaded to the secondary partition of the switch
HA Rebooting...
The upgrade takes 10 to 30 minutes. You can run the firmwareDownloadStatus command to check the upgrade status.
FCSwitch:root> firmwareDownloadStatus
[1]: Tue Feb 14 06:29:33 2012
Firmware is being downloaded to the switch. This step may take up to 30 minutes.
[2]: Tue Feb 14 06:33:27 2012
Firmware has been downloaded to the secondary partition of the switch.
[3]: Tue Feb 14 06:35:49 2012
The firmware commit operation has started. This may take up to 10 minutes.
[4]: Tue Feb 14 06:38:44 2012
The commit operation has completed successfully.
[5]: Tue Feb 14 06:38:44 2012
Firmwaredownload command has completed successfully. Use firmwareshow to verify
the firmware versions.
After the switch restarts, log in to the switch again to view the current kernel and firmware information.
FCSwitch:root> version
Kernel: 2.6.14.2
Fabric OS: v6.4.2b
Made on: Tue Sep 20 17:57:39 2011
Flash: Tue Feb 14 06:18:51 2012
BootProm: 1.0.9
FCSwitch:root> firmwareShow
Appl Primary/Secondary Versions
------------------------------------------
FOS v6.4.2b
v6.4.2b
