FS N5860 Series Switch Rest and Recovery System User Guide

October 30, 2023
FS

FS N5860 Series Switch Rest and Recovery System

FS-N5860-Series-Switch-Rest-and-Recovery-System-product-
image

Switch Reset and Recovery System Configuration Guide

The Switch Reset and Recovery System Configuration Guide provides instructions for restoring factory settings and recovering passwords for the following switch models:

  • N5860 Series
  • N8560 Series
  • NC8200 Series
  • NC8400 Series

Contents

  1. Restore factory settings
  2. Password recovery

Restore factory settings
If you forget the device password but want to restore the device to the factory settings, follow these steps:

  1. Enter privileged mode by typing S5860>enable.
  2. View the current file list of the device flash by typing S5860#dir.
  3. Delete the configuration file config. text by typing S5860#delete config.text.
  4. Restart the device by typing S5860#reload.

After restarting, the device will return to factory settings.

Password Recovery
If the administrator forgets the login password and cannot enter the configuration mode for configuration, follow these steps for password recovery:

  1. Prepare the console line.
  2. Enter the CTRL layer when you restart the device.

Note: Password recovery is an operation that is completed when you enter the CTRL layer when you restart the device.

*If you forget the device password, but want to restore the device to the factory settings, you can refer to the “password recovery” operation, enter the operating mode and restore the factory settings as follows.

Restore factory settings

When you can enter the device operating mode normally:

Enter privileged mode
S5860>enable ——>Enter privileged mode

View the current file list of the device flash
S5860#dir ——->View the current flash file list
Directory of flash:/
Number Properties Size Time Name
—— ———- —— ———————— ——————–

  1. drw- 288B Wed Mar 4 19:36:50 2020 at
  2. drwx 160B Wed Mar 4 19:36:45 2020 dev
  3. drwx 160B Wed Mar 4 19:36:36 2020 rep
  4. drwx 224B Wed Mar 4 19:36:36 2020 var
  5. drwx 160B Wed Mar 4 19:36:46 2020 addr
  6. rw- 0B Wed Mar 4 19:36:51 2020 msg_rtp_lvl2.txt
  7. rw- 0B Wed Mar 4 19:39:15 2020 msg_rtp_lvl3.txt
  8. rw- 0B Wed Mar 4 19:39:01 2020 ssc_fp_appmng_debug.txt
  9. rwx 82B Mon Jul 13 17:16:43 2020 config_vsu.dat
  10. rw- 1.7k Mon Jul 13 17:16:44 2020 config. text
  11. rw- 0B Wed Mar 4 19:36:55 2020 ss_ds_debug.txt
  12. rwx 21B Mon Jul 13 17:16:43 2020 syslog_rfc5424_flag.txt
  13. rwx 620B Wed Mar 4 19:36:47 2020 rsa_ private.bin
  14. rwx 616B Wed Mar 4 19:36:44 2020 rsa1_private.bin
  15. rw- 0B Wed Mar 4 19:36:50 2020 ss_comm.txt
  16. drwx 160B Wed Mar 4 19:36:46 2020 upgrade
  17. drwx 224B Wed Mar 4 19:36:46 2020 unify_ manage
  18. drwx 312B Tue Jul 7 11:07:22 2020 syslog
  19. rw- 0B Wed Mar 4 19:38:48 2020 policy_adjust_debug.txt
  20. drw- 224B Wed Mar 4 19:38:48 2020 arpswitch
  21. rw- 0B Wed Mar 4 19:36:55 2020 ss_ds_timeout.txt

12 files, 9 directories
6,103,040 bytes data total (5,951,488 bytes free)
266,338,304 bytes flash total (5,951,488 bytes free)

Delete the configuration file “config. text”
S5860#delete config.text —–>Delete the configuration file “config. text”
Do you want to delete [flash:/config.text]? [Y/N]:y
File “config.text” is deleted.

Restart the device. After restarting, the device will return to factory settings:
S5860#reload —–>Restart the switch
Reload system?(Y/N) y

Password Recovery

If the administrator forgets the login password and cannot enter the configuration mode for configuration, then you need to use the configuration line to enter the CTRL layer for password recovery.
*Notes on password recovery

  • When doing password recovery, please prepare the console line first.
  • Password recovery is an operation that is completed when you enter the CTRL layer when you restart the device. You need to disconnect the network to proceed. Please perform password recovery when it is convenient to disconnect the network.
  • Please strictly follow the operation steps, improper operation will cause configuration loss.
  • The password recovery of the switch is the password recovery of saving the configuration mode.
  • After entering the CLI command line interface, if you do not enter any keys within 10 minutes, you still need to enter the password after the timeout. Or the password has not been changed after input, the device will use the previous password after the next restart.

Network topology

FS-N5860-Series-Switch-Rest-and-Recovery-System-1

Configuration steps
Connect the console port of the device with a configuration cable.
Use HyperTerminal to configure network devices

  • Manually power off and restart the device
  • When the Ctrl +C prompt appears, press the CTRL and C keys simultaneously on the keyboard to enter the bootloader

menu
Boot 1.2.28-0c4a1bf (Feb 09 2017 – 17:14:53)
I2C: ready
DRAM: 1024 MiB
NAND: 1024 MiB
In: serial
Out: serial
Err: serial
Unlocking L2 Cache …Done
arm _clk=1000MHz, axi _clk=400MHz, apb _clk=100MHz, arm _periph _clk=500MHz
SETMAC: Setmac operation was performed at 2020-02-28 15:24:58 (version: 11.0)
Press Ctrl+ C to enter Boot Menu
Net: eth-0
Entering simple UI….
====== Boo t Loader Menu(“Ctrl+ Z” to upper level) ======
TOP menu items.


0. Tftp utilities.

  1. X Modem utilities.
  2. Run main.
  3. Set Mac utilities.
  4. Scattered utilities.
  5. Set Module Serial
  • After entering the bootloader menu, enter the Ctrl and Q keys simultaneously to enter the u boot command line
  • In the uboot command line state, enter the command main config password_ clear.

====== BootLoader Menu(“Ctrl+Z” to upper level) ======
TOP menu items.


0. Tftp utilities.

  1. X Modem utilities.
  2. Run main.
  3. Set Mac utilities.
  4.  Scattered utilities.
  5. Set Module Serial

Press a key to run the command: ——>Enter the Ctrl key and Q key to enter the u boot command line
bootloader #main _config _password _clear

  • The device will automatically run the main program and print the log

Press a key to run the command:
bootloader #main_ config password clear
Creating 1 MTD partitions on “nand0”:
0x000001000000-0x000002e00000 : “mtd=6”
UBI: attaching mtd1 to ubi0
UBI: physical erase block size: 131072 bytes (128 KiB)
UBI: logical erase block size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI: attached mtd1 to ubi0
UBI: MTD device name: “mtd=6”
UBI: MTD device size: 30 MiB
UBI: number of good PEBs: 240
UBI: number of bad PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs: 19
UBI: total number of reserved PEBs: 221
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 2/0
UBIFS: recovery needed
UBIFS: recovery deferred
UBIFS: mounted UBI device 0, volume 0, name “kernel”
UBIFS: mounted read-only
UBIFS: file system size: 26030080 bytes (25420 KiB, 24 MiB, 205 LEBs)
UBIFS: journal size: 3682304 bytes (3596 KiB, 3 MiB, 29 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root: 0 bytes (0 KiB)
Unmounting UBIFS volume kernel!
Uncompressing Kernel Image … OK
Loading Device Tree to 823fc000, end 823ff745 … OK
Starting kernel …

  • You can enter the configuration CLI command line interface without a password at this time.

S5860>enable
S5860#configure

NOTE: After entering the CLI command line interface, if there is no button, the password is required when entering again. The default timeout is 10min. Please change the password in time before timeout.

  • Change password

Functional Verification
Log in to the switch again, and log in with the new user name and password to confirm that the login is successful.

www.fs.com

References

Read User Manual Online (PDF format)

Loading......

Download This Manual (PDF format)

Download this manual  >>

FS User Manuals

Related Manuals