How to Restore the Password of Mid-range and Low-end Box-type Switches? |
Notes 1. Get a configuration cable ready when restoring the password. 2. Password restoration is performed at the CTRL layer during device restart. The network needs to be disconnected. Perform password restoration operation when the network can be disconnected. 3. Strictly follow the operation steps. Improper operations may cause configuration loss. 4. Passwords of switches using the RGOS 11.X software platform are restored by saving the configuration. Password Restoration Steps Step 1: If an administrator forgets the login password and fails to enter the configuration mode. Use a configuration cable to enter the CTRL layer to restore the password. Step 2: Configure the network device by using HyperTerminal. 1) Manually power off the device and then restart it. 2) When the Ctrl+C prompt is displayed, press Ctrl+C to access the BootLoader menu. ====== BootLoader Menu("Ctrl+Z" to upper level) ====== TOP menu items. ************************************************ 0. Tftp utilities. 1. XModem utilities. 2. Run main. 3. SetMac utilities. 4. Scattered utilities. 5. Set Module Serial ************************************************ Press a key to run the command: 3) Press Ctrl+Q. Enter ubootui, press Enter, and then press Ctrl+P immediately s29xs#ubootui Leaving simple UI.... s29xs# 4) Run the following commands: s29xs#setenv runlevel 2 s29xs#run linux Creating 1 MTD partitions on "nand0": 0x000001000000-0x000002e00000 : "mtd=6" UBI: attaching mtd1 to ubi0 UBI: physical eraseblock size: 131072 bytes (128 KiB) UBI: logical eraseblock 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 823ff593 ... OK Starting kernel ... 5) Run the following commands: ~ # ~ # cd /data/ /data # ls /data # mv config.text config_backup.text /data # sync /data # reboot |
This site contains user submitted content, comments and opinions and is for informational purposes only. Ruijie may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic forum and Ruijie can therefore provide no guarantee as to the efficacy of any proposed solutions on the community forums. Ruijie disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Ruijie Community Terms of Use.
More ways to get help: Visit Support Videos, call us via Service Hotline, Facebook or Live Chat.
©2000-2023 Ruijie Networks Co,Ltd