Brocade switch commands
A simple 10 second Cisco job (wr erase, reload and you’ve got a new switch!) turned out to be a pain-in-the-behind on a Brocade switch. Let’s go one step further…Īround this time a small but persistent rage was building in me. And that should be it your switch is empty.
Use the switchname and passwd commands to change the accounts for root, factory and admin. Apart from the very strange habit of first asking me to insert new IP addresses and only THEN prompting me whether or not I want to use DHCP… Resetting the IP address is straightforward. Run a configshow and you’ll see the boot parameters are unchanged…
While the switch boots you can already see the switchname is not reset, IP configuration is unchanged and even worse, your old passwords and usernames will still work. Warning: This command would cause the switch to rebootĪre you sure you want to reboot the switch ? y The system has to be rebooted to allow the changes to take effectĨ-11:23:22,, 1349, FID 128, INFO, switchname, configRemove completed successfully for switch. Remove security database(ACL policy) (no recovery): (yes, y, no, n): y Remove zone/AD database (no recovery): (yes, y, no, n): y Remove config database: (yes, y, no, n): y Switch, answer no to all of the following questions.
#Brocade switch commands how to
If you do not have aĬonfiguration file or do not know how to reconfigure your You will not be able to use this switch until you eitherĭownload a new configuration file, or reboot the switch This command will remove ALL configuration data Proceeding with the usage of this switch as the Root or Factory userĮxplicitly indicates your agreement to the terms of this disclaimer.Ĩ-11:23:15,, 1347, FID 128, WARNING, switchname, Switch status change contributing factor Switch offline. The Equipment vendor's authorized engineers. Or damages arising from or relating to the use of the Root or FactoryĪccount (and the functionality enabled thereby) by anyone other than
The Equipment vendor shall have no liability for any losses Your use of the functionality made available through the Root or FactoryĪccount is at your sole risk and you assume all liability resulting from Improper use of theįunctionality made available through the Root or Factory account couldĬause significant harm and disruption to the operation of the SAN fabric. The Equipment vendor's trained engineers. That are intended for diagnostics and debugging purposes solely by This Fibre Channel switch is equipped with Root and Factory accounts Next, run the following commands: I’ve included the switch output.ĭisclaimer for Root and Factory Accounts Usage! The admin account will not allow you to run the configremoveall command. If you want to reset your Brocade switch to factory default settings, connect to your switch via a console cable and log in as root or factory user. Which is kind of awkward since that’s THE part of the switch config you wouldn’t want to become public domain… However, none of these commands reset the IP configuration, user passwords or switch name. One command removes the zoning, another command removes a different part of the config, a third command replaces some config values with the default settings. If you ask Google how to perform a Brocade reset to factory default settings, you’ll find a lot of commands.
Performing a Brocade reset to factory default settings proved to be a bit of a challenge though… I was however stuck with a bunch of old Brocade 4900 switches ready to be decommissioned. Everything went according to plan with no disruption to the rest of the infrastructure. Last weekend we replaced six old Brocade SAN switches with brand new Cisco MDS 9148 switches.