Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products

Connectrix B Series: How do you reset a B_Series Brocade switch back to factory defaults

Summary: If it becomes necessary to reset a B_Series switch back to factory defaults, there is a CLI command procedure for both root access and non-root access. The procedure will clear the zoning on the switch, remove any naming conventions/user accounts that have been configured on the switch. It will remove any feature keys and everything configurable. ...

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

Procedure Steps:
 If root login is available the following procedural steps will work on FOS v6.4.x to v7.4.x and above:
1.  Run firmwarecleaninstall on each CP or switch
After firmwarecleaninstall, all passwords, such as root, admin, factory and user are cleared (set to default value).
 
Note: On director chassis, run firmwarecleaninstall on CP0 and CP1 simultaneously.
 
2.  If set, the Network Time Protocol server address is not cleared after firmwarecleaninstall. Clear it using command tsclockserver LOCL.
 
3.  To reset the Ethernet manageability IP address, run the command ipaddrset and set the address to default ip of 10.xx.xx.xx or something else that does not present a valid former address.
ipaddrset --clear
ipaddrset   ipv4  add  ethip 10.xx.xx.xx
ipaddrset - ipv6 --add x:x:x:x:x:x:x/n (if needed)
After issuing ipaddrset  clear, it will be necessary to login to the switch console to issue any additional commands.
 
Note:
For director chassis
- Use  cp option to set individual cp blade addresses.
- If AP blades are installed (for example FX8-24 and FS8-18), it may be necessary to clear AP blade IP addresses.
For switch chassis (fixed port platform)
- Use -chassis option
Please refer to the FOS Command Reference manual for details.
 
4. Clear bootenv related settings. On each CP or switch run
- bootenv  u ipaddr
- bootenv  u netmask (or submask)
- bootenv  u gatewayip
- bootenv  u serverip
 
5. Reset the password in bootenv:
- Access the switch through console cable (cannot be done from telnet)
- Reboot the switch or director.
- Press  Esc  at the timer to enter into the boot prompt. You would be given 5 seconds.
- Select Option 3  Command shell prompt
 
- If a password is prompted, enter it. If unknown, then allow the system to reboot again but Select Option 2 -> Recover Password
 
- You will be given a string that needs to be sent to the Support interface who will in turn supply a recovery password string.
 
- At bootROM prompt type 'resetpw' to clear any password
- At bootROM prompt type 'reset' to reboot the system
 
Note: On director chassis, complete operations on each CP in sequence then, issue  reboot  f  on both CPs simultaneously.
 
If root login is NOT available the following procedural steps will work on FOS v6.4.x to v7.4.x and above:
 
1. Set configuration parameters back to factory default settings.
Disable the switch using the command switchdisable.
 
Note: When this command is executed on a logical switch, only the ports allocated to the logical switch are disabled.
 
To disable the entire chassis, use the chassisdisable command.
 
Use configdefault -all to reset non-persistent configuration settings to their factory default values.
 
2. If set, the Network Time Protocol server address can be cleared using command tsclockserver LOCL.
 
3. If defined, use the lscfg command to delete any logical switches. Move all ports from logical switches into default switch and delete all logical switches.
 
- Using lscfg  config 128 [-slot slot | slot range] [-port port | port range] command to move all ports from logical switch to (FID=128) default switch.
 
- After all ports are moved to default switch, issue portenable [SlotNumber/]PortNumber | port_range command to enable all ports.
 
- Use lscfg --delete FID command to delete each logical switch. Please refer to the FOS Command Reference manual for details.
 
4. Use commands licenseremove <license-key> and if needed licenseslotcfg  remove to remove licenses.
 
NoteOnly remove licenses if desired.
 
5. Use the command fipscfg  zeroize to erase all passwords, shared secrets, private keys, etc. in the system. Please refer to the FOS Command Reference manual for details.
 
6. Set switch name to  sw  and set chassis name to  ch  using the commands switchname sw and chassisName ch
 
7. To reset the Ethernet manageability IP address, run the command ipaddrset and set the address to default ip of 10.77.77.77 or something else that does not present a valid former address.
ipaddrset --clear
ipaddrset   ipv4  add  ethip 10.xx.xx.xx
ipaddrset - ipv6 --add x:x:x:x:x:x:x/n (if needed)
 
After issuing ipaddrset  clear, it will be necessary to login to the switch console to issue any additional commands.
 
Notes:  
For director chassis
- Use  cp option to set individual cp blade addresses.
- If AP blades are installed (for example FX8-24 and FS8-18), it may be necessary to clear AP blade IP addresses.
For switch chassis (fixed port platform)
- Use  chassis option
Please refer to the FOS Command Reference manual for details
 
8. Reset the password in bootenv:
- Access the switch through console cable (cannot be done from telnet)
- Reboot the switch or director.
- Press  Esc  at the timer to enter into the boot prompt. You would be given 5 seconds.
- Select Option 3 ' Command shell prompt
 
- If a password is prompted, enter it. If unknown, then allow the system to reboot again but Select Option 2 -> Recover Password
 
- You will be given a string that needs to be sent to the Support interface who will in turn supply a recovery password string.
 
- At bootROM prompt type resetpw to clear any password
- At bootROM prompt type setenv OSLoadOptions single. Confirm that the env is set using printenv.
- At bootROM prompt type saveenv.
- At bootROM prompt type boot. This logs the user into the single-user shell mode
- At single-user shell prompt, type mount -o remount,rw,noatime /
- At single-user shell prompt, type mount /dev/hda1 /mnt
- At single-user shell prompt, type /sbin/passwddefault
- At single-user shell prompt, type bootenv OSLoadOptions quiet
- At single-user shell prompt, type "reboot -f"
 
Note: Complete operations on each CP in sequence then, issue  reboot  f  on both CPs simultaneously.
- After issuing  /sbin/passwddefault  at single-user shell prompt, an error message may appear however account passwords do successfully get reset to factory default. The error message can be ignored
- This procedure resets / recovers only the root password.

Additional Information

This article has been promoted as HVC on EMC Community Network (ECN): https://community.emc.com/docs/DOC-57276

Affected Products

Connectrix B-Series Hardware

Products

Connectrix B-Series Hardware
Article Properties
Article Number: 000018946
Article Type: How To
Last Modified: 08 Oct 2024
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.