Factory reset of Fabric Interconnect

After I reset the FI’s password the next thing I did, was do a factory reset of FI because I didn’t want to use the old configuration. So, I decided to remove all configurations and start fresh :) Be careful doing it as it will erase everything including all the IP details.

To reset the FI we just need to run a few commands and it’s a pretty easy task.

Connect to the console port or the SSH into the Fabric interconnect, login to FI and then you are in :) . Run the first command to connect to the local-mgmt.

Image for post
Image for post

fab-switch-1-A# connect local-mgmt
Cisco Nexus Operating System (NX-OS) Software
TAC support:
http://www.cisco.com/tac
Copyright © 2009, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php

Next command will erase the configuration of FI and then system will reboot.

fab-switch-1-A(local-mgmt)# erase configuration
All UCS configurations will be erased and system will reboot. Are you sure? (yes/no):yes
Removing all the configuration. Please wait….
/bin/rm: cannot remove directory `/bootflash/sysdebug//tftpd_logs’: Device or resource busy
sudo: cannot get working directory
sudo: cannot get working directory
Configurations are cleaned up. Rebooting….
[ 477.650807] Shutdown Ports..
[ 477.685194] writing reset reason 16, enm hap reset

Broadcast message from root (console) (Tue Aug 24 10:27:55 2018)

The system is going down for reboot NOW!

After reboot, the Fabric Interconnect will be ready for the fresh configuration. Just remember that the console cable is required to configure it for the first time.

Written by

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store