Reset Configuration

Yaser Rahmati | یاسر رحمتی

Resetting the configuration on a MikroTik router will return the device to its factory default settings, effectively erasing all existing configurations. This can be useful for troubleshooting, starting fresh with a clean setup, or when preparing a device for a new environment. Here's a step-by-step guide on how to reset the configuration in RouterOS:

1. Understanding the Reset Options

Reset Options:

  • Soft Reset: Restarts the router with the current configuration, useful for minor adjustments.

  • Factory Reset: Erases all configurations and restores the router to its default state.

2. Performing a Factory Reset

Using the Reset Button:

  1. Locate the Reset Button:

    • The reset button is typically a small, pinhole-sized button on the router. Check your device’s manual for the exact location.

  2. Press and Hold the Reset Button:

    • Power off the router.

    • While holding down the reset button, power on the router.

    • Continue holding the button for about 5-10 seconds until the LED indicators blink or the router starts to reboot. Release the button.

  3. Wait for the Router to Reboot:

    • The router will reboot and reset to factory defaults. This process might take a few minutes.

Using CLI Commands:

  1. Connect to the Router:

    • Access the router via CLI using SSH, Winbox, or the console port.

  2. Run the Reset Command:

    • Execute the following command to perform a reset:

    system reset-configuration
    • You will be prompted to confirm the reset. Type y (for yes) and press Enter.

  3. Reboot Automatically (Optional):

    • If you want to reboot automatically after the reset, use:

    system reset-configuration no-defaults=yes
  4. Wait for the Router to Reboot:

    • The router will reset and reboot, returning to factory settings.

Using WebFig (Web Interface):

  1. Access WebFig:

    • Open a web browser and enter the IP address of your MikroTik router to access WebFig.

  2. Navigate to System Reset:

    • Go to System -> Reset Configuration.

  3. Perform Reset:

    • Select Reset Configuration. You may need to confirm the action.

    • The router will reboot and reset to factory defaults.

3. Post-Reset Steps

Reconfigure the Router:

  1. Access the Router:

    • After the reset, the router will have its default IP address (usually 192.168.88.1).

    • Connect to the router using the default credentials (usually admin with no password).

  2. Reconfigure Settings:

    • Start configuring your router from scratch. Set up IP addresses, DHCP, firewall rules, and other settings as needed.

  3. Restore Backup (Optional):

    • If you have a backup configuration you want to restore, you can upload and restore it via CLI or Winbox.

    • Upload Backup File:

      • Use Winbox or an FTP client to upload the backup file to the router’s /files directory.

    • Restore Backup:

      • Execute the following command:

      system backup load name=backup_file_name

4. Security Considerations

  • Default Credentials: After a reset, ensure to set a strong password and secure your router.

  • Update Firmware: Consider updating RouterOS to the latest version after a reset to benefit from security patches and new features.

5. Troubleshooting

  • Router Does Not Reset: Ensure you are holding the reset button properly and for the correct duration.

  • Configuration Not Resetting: If the CLI reset command does not work, try using the physical reset button.

By following these steps, you can effectively reset your MikroTik router to its factory defaults and start with a clean configuration.

Keywords

MikroTik, RouterOS, RouterBOARD, wireless networking, ISP, WISP, networking equipment, routers, switches, Cloud Core Router, CCR, SXT, LTE integration, 5G, cybersecurity, network security, networking software, networking hardware, Latvia, John Trully, Arnis Riekstiņš, MikroTik Academy, MUM events, network management, hotspot, VLAN, firewall, VPN, QoS, bandwidth management, traffic shaping, wireless access point, CAPsMAN, WinBox, PoE, mesh networking, routing protocols, MPLS, OSPF, BGP, MikroTik training

میکروتیک, روتر او اس, روتر برد, شبکه بی‌سیم, آی اس پی, وایرلس آی اس پی, تجهیزات شبکه, روترها, سوییچ‌ها, کلود کور روتر, سی سی آر, اس ایکس تی, ادغام ال تی ای, 5G, امنیت سایبری, امنیت شبکه, نرم‌افزار شبکه, سخت‌افزار شبکه, لتونی, جان ترولی, آرنیس ریکسینش, آکادمی میکروتیک, رویدادهای مام, مدیریت شبکه, هات اسپات, وی‌لَن, فایروال, وی‌پی‌ان, کیو‌اُ‌اس, مدیریت پهنای باند, شکل‌دهی ترافیک, نقطه دسترسی بی‌سیم, کپزمن, وین‌باکس, پی او ای, شبکه مش, پروتکل‌های مسیریابی, ام پی ال اس, اُ اس پی اف, بی جی پی, آموزش میکروتیک

🌐 Personal Website 📄 Resume 🎥 Video Archive 💼 Finance Blog 🔐 Network & Security Notebook 🎬 Aparat Channel

Last updated