I recently had a Brocade switch flake out on me. Look for another post on my horrible experience working with Brocade on an RMA.
First thing is first, go to your backups! As a good network Administrator it’s important to manage and archive configurations on your equipment. I store mine on a tftp server, and only enable the service when I need it. If I forget to turn it back-off then it does so automatically after a set period of time.
Backing up your configuration: I like to use the switch hostname as my file name on the tftp server. This makes it easy for me to find the right file when I need it. NOTE: x.x.x.x refers to the IP address of your tftp server.
BORKED-SWTICH#copy startup-config tftp x.x.x.x [switch hostname]
Prepare the new switch: You need to get the new switch in touch with the tftp server, so throw up a basic configuration to get it online and communicating with the server. You will need to have the switch it’s connecting into properly configured as well. Since this is just for quickly copying the config over I simply put the switch on the same VLAN as my tftp server. On intial boot the Brocade will be in Router mode, I know my way around switch mode, so I have to take care of that first.
NEW-SWITCH-ROUTER-MODE#boot system flash secondary
The switch will reboot. NOTE: x.x.x.x in this section refers to your IP address and the default-gateway that needs to be configured.
NEW-SWITCH-SWITCH-MODE (config)#ip address x.x.x.x 255.255.255.255
NEW-SWITCH-SWITCH-MODE (config)#ip default-gateway x.x.x.x
Copy the Configuration: By this point you should be able to ping your server, if not troubleshoot. If you can, then continue below and copy over your configuraiton. NOTE: x.x.x.x refers to the IP address of your tftp server in the example below.
NEW-SWITCH-SWITCH-MODE (config)# exit
NEW-SWITCH-SWITCH-MODE#copy tftp startup-config x.x.x.x
Your replacement switch should now be configured. If you haven’t already done so, the next step will be to replace the switch. If, like in my situation, you have multiple VLAN’s in use on the switch you will want to carefully label each connection to make sure you plug it into the appropriate port. Labeling doesn’t need to be on the patch cable. I actually keep a spreadsheet table posted in each MDF/IDF that lists which drops are plugged into which port on the switch. I know that patch-port 1 goes to switch-port 5 on my Brocade etc. Develop your own method, but just make sure that everything is plugged in and accessing the network it needs.