How to factory reset an xNode using telnet

Updated 1 month ago by Bryan Jones

Scope

The following procedure can be used to factory reset the xNode family of nodes. This includes all versions of xNode, the Axia xSwitch, and xSelector.

Description

The standard factory reset procedure is to press and hold both front panel buttons on an xNode (both knobs on xSelector) while powering up the device. Often this is impractical or even impossible without an extra person because you can't reach the power cord AND hold the buttons at the same time. Using the following steps, you can use telnet to issue the factory reset and reboot it as two separate steps.

Issuing the factory reset command by telnet is INSTANT. You will are not asked for confirmation, and you MUST manually reboot the xNode after sending the reset command. DO NOT ATTEMPT THIS PROCESS REMOTELY AS YOU MUST REMOVE POWER TO COMPLETE THE PROCESS.
  1. Using PuTTy or another Telnet program, make a telnet connection to port 23 of your xNode.
Note that as of version 2.4.6, for security purposes, telnet is disabled by default. You can enable/disable telnet in the System menu of your device.
  1. When prompted, enter the user name of "user."
  2. If you have changed the password, it is whatever you set for the web page login. Otherwise, the password is blank (just press ENTER at the password prompt).
  3. From the prompt, run the following command
/home>sh /usr/factoryreset

The factory reset script will run the following commands;

Shell invoked to run file: /usr/factoryreset
Command: rm /etc/config/*
Command: cd /etc/default/
Command: cp net.cfg resolv.conf syslogd.conf group passwd start /etc/config/
Command: /usr/cgi-bin/cgi_sys -reboot 4

Your telnet connection will be closed.

  1. Power cycle your xNode. Your node is set back to factory defaults.

Let us know how we can help

If you have further questions on this topic or have ideas about how we can improve this document, please contact us.


How did we do?


TelosHelp (opens in a new tab)

Powered by HelpDocs (opens in a new tab)