路由器reset键按没反应什么问题,按了路由器上的reset键怎么办啊

首页 > 实用技巧 > 作者:YD1662024-02-28 05:51:37

路由器AR1221C-S,通过网页版,及命令操作后恢复出厂值还是不能清除配置,重启后登入之前的用户密码不正确,通过命令清除密码后,登入发现并未恢复出厂值。

操作过程:

WEB恢复出厂的操作如下:

路由器reset键按没反应什么问题,按了路由器上的reset键怎么办啊(1)

命令行恢复出厂的正确操作如下:

用户视图下依次执行

RESET save

reboot fast

或者在用户视图下通过以下命令一键恢复出厂

factory-configuration reset

问题根因:出厂配置文件被修改过

解决方法:

进入系统后执行set factory-configuration from default

命令参考:

set factory-configuration

命令功能

set factory-configuration命令用来指定当前配置或设备中已经存在的配置文件为出厂配置,或者指定设备出厂时的默认配置为出厂配置。

命令格式

set factory-configuration from { current-configuration | filename | default }

参数说明

参数

参数说明

取值

current-configuration

指定当前配置。

-

filename

指定的配置文件名。

说明:

支持后缀为.cfg和.zip的本地配置文件。

字符串形式,不区分大小写,长度范围是5~64,格式为[ drive-name ] [ file-name ]。如果未指定drive-name,则此值为默认的存储器名,此时输入的file-name最大长度为64减去默认存储器名长度。

说明:

如果输入的filename长度大于64时,系统会出现如下提示:

Error: The file name length is too long!

default

指定设备出厂时的默认配置。

-

视图 ---- 用户视图

缺省级别 ---- 3:管理级

使用指南

应用场景

用户根据需求需要更改出厂配置,或者当设备出现了未知问题或是设备经过长时间使用导致运行缓慢或者不稳定时,可以使用set factory-configuration命令指定新的出厂配置。

后续任务

使用set factory-configuration命令指定了新的出厂配置后,AR100&AR120&AR150&AR160&AR200系列、AR301、AR301H和AR301W通过长按设备上的reset按钮(5秒以上),使设备的配置恢复至新的出厂配置。AR1200&AR2200&AR3200&AR3600系列不支持通过长按设备上的reset按钮(5秒以上)来恢复出厂配置,必须通过执行命令factory-configuration reset,设置设备重启后恢复为新的出厂配置。

注意事项

在指定新的出厂配置时,新的配置文件大小不能大于100K。如果大于100K,在指定出厂配置时会失败,提示的错误信息如下:

Error: Local file is too large!

执行set factory-configuration命令后,新的出厂配置会覆盖原来的出厂配置。

请慎用恢复出厂配置功能。恢复出厂配置会使用户保存的自定义配置信息丢失。

路由器reset键按没反应什么问题,按了路由器上的reset键怎么办啊(2)

长按RESET按钮(按住RESET按钮5秒以上),重启后设备的配置会恢复至最近指定的出厂配置。若需要恢复至默认的出厂配置,则需进入系统后执行set factory-configuration from default命令。

短按RESET按钮为重启设备,重启后设备的配置为最近一次保存的配置。

使用实例

# 用当前配置覆盖出厂配置。

<Huawei> set factory-configuration from current-configuration Warning: The current factory configuration will be replaced, and it's irreversible. Are you sure to set the factory configuration?[Y/N]:y Info: Successfully set factory config!

# 用指定文件覆盖出厂配置。

<Huawei> set factory-configuration from factory.cfg Warning: The current factory configuration will be replaced, and it's irreversible. Are you sure to set the factory configuration?[Y/N]:y Info: Successfully set factory config!

# 用设备出厂时的默认配置覆盖出厂配置。

<Huawei> set factory-configuration from default Warning: The current factory configuration will be replaced, and it's irreversible. Are you sure to set the factory configuration?[Y/N]:y Info: Successfully set factory config!

栏目热文

文档排行

本站推荐

Copyright © 2018 - 2021 www.yd166.com., All Rights Reserved.