Reset Host To Factory Default

In some rare situations, ex. due to configuration mistakes or device hang, or you may completely lose the ability to manage the device remotely via SSH or mfusion. This can be detrimental especially if it’s installed in a retail store that’s a few thousand miles away and there’s no local support resource available. Under that circumstances, you may want to reset your device to factory default settings.

NOTE

Reset will erase all local config!!!. Make sure to take backup, if you want to restore back to your existing data. Just in case if you need to re-flash HSA/UA base image please follow this link to flash.

Reset HSG / CMG to factory reset

To reset your device to factory defaults, follow the below guide.

  1. Console/SSH into mbox
  2. Login to unprivileged mode (‘support’ login credential)
  3. Login to privileged mode (‘enable’ login credential)
  4. Type ‘write erase’

After the box comes up, the box will be pre-loaded with a default configuration (startup-config).

NOTE

1. Make sure you don’t type the command “write memory” before reboot else you will save back the configured current config again instead of rebooting with the default startup-config).
2. The default startup-config allows basic Internet connection through eth0 and LAN connection over eth1. Management of the Host is only allowed through ethernet port eth2.
3. sometimes you may just want to reset the database only, and still keep the CLI/network configurations, during the ‘write erase’ command process, So in each of the prompted steps enter “y”. For the question ‘Do you want to reset all databases “y” or “n”‘: y, and answer “n” for the rest of the steps.

If you want to have a complete empty start-up configuration (to start from scratch) to configure the box, just type “write erase all” and after the write erase all process is completed, type reboot command.

  1. Use “show startup-config” command under privileged mode ( mbox# show startup-config), To verify the default configs for HSG / CMG / HSA / UA

Reset HSA / UA to factory reset

There’s an option to do complete “FACTORY RESET” HSA/UA to recover the device through the following steps:

  1. Press and hold the “Reset” button for more than 8seconds and release the “Reset” button (it will re-flash to default firmware and reboot)
  2. Wait for 3minutes (the device will boot up with default configuration and automatically register back to mfusion-portal.ransnet.com)
  3. Now you can double check your device configuration on mfusion orchestrator. Once the device is back online again on mfusion, resync your configuration (it will reboot again and boot up with new working configuration).

NOTE

This option is only available for firmware version 20220303-1800 and later. If you upgraded from an earlier version to 20220303-1800, after reset and recovered the device, please upgrade it again to the latest release.

.

Reset MAP to factory reset

Find the procedure below:

  1. Connect to MAP console port (using baud rate 9600), log in with the credential admin/admin.
  2. Delete existing config (in case MAP is ever used elsewhere). under enable mode, delete config.text, and use the command reload, to reboot the MAP.

Basic Configuration

Product: CMG, HSG, LOG

Mostly mbox is deployed as a gateway appliance with minimum router & firewall functions. A working mbox must have the below points configured:

Prerequisites

  • Interface IP addresses for both WAN and LAN interfaces
  • Default IP gateway route and name-server (optional if WAN is DHCP)
  • DHCP address assignment for LAN users
  • Basic firewall access rules and address translation rules

Provisioning Procedure

  • Enable & configure WAN (eth0) interface IP
  • Enable & configure LAN (eth1) interface (assume there’s another LAN switch to connect internal PC)
  • Enable DHCP server on LAN (eth1) to assign DHCP IP addresses to internal users
  • Configure default gateway and name-server (not required if WAN is on DHCP)
  • Configure firewall rules to permit outbound Internet access and Port Address Translation to hide internal private IP addresses.

Start-up Configuration

This is the default startup-config after mbox bootstrap (or write erase), for the above simple scenario.

wpChatIcon
wpChatIcon