两个必备小本领——恢复设备出厂配置、如何配置web方式登陆交换机

转载来源 :两个必备小本领——恢复设备出厂配置、如何配置web方式登陆交换机 :https://mp.weixin.qq.com/s/35EOLUODM8G15C-xXVcVCw

恢复设备出厂配置

1、应用场景

如果某些设备不再需要承载原来的业务,或者是一些利旧设备,则需要对这些设备进行清除配置操作,将其恢复成出厂配置。

2、操作步骤

<HUAWEI> reset saved-configuration
Warning: The action will delete the saved configuration in the device.The configuration will be erased to reconfigure. Continue? [Y/N]:y
Warning: Now clearing the configuration in the device.
Info: Succeeded in clearing the configuration in the device.
<HUAWEI> reboot
Info: The system is now comparing the configuration, please wait.
Warning: The configuration has been modified, and it will be saved to the next startup saved-configuration file flash:/vrpcfg.zip. Continue? [Y/N]:n    
//此处请选择”N“,不保存配置,否则无法清除配置
Info: If want to reboot with saving diagnostic information, input 'N' and then execute 'reboot save diagnostic-information'.
System will reboot! Continue?[Y/N]:y

如何配置web方式登陆交换机

本方法适用于S1700之外的华为交换机。

S1700网管型交换机无需配置,直接输入默认的IP地址即可登录WEB网管。

配置思路

前提条件:PC已通过telnet方式登录交换机
1.在交换机上加载web文件。
2.启动http服务功能。
3.配置用户名、密码和用户级别。
4.在PC上打开Web浏览器登录。

具体操作

  • 在交换机上加载web文件 执行命令dir,找到web文件名,并拷贝。 执行命令system-view,进入系统视图。 执行命令http
    server load file-name,加载Web文件。
  • 启动http服务功能 执行命令http secure-server enable,使能安全HTTP服务功能。 执行命令http
    server enable,使能HTTP服务功能。
  • 配置用户名、密码和用户级别 执行命令aaa,进入AAA视图。 执行命令local-user user-name password
    cipher password,配置AAA本地用户及密码。 执行命令local-user user-name privilege
    level level,配置本地用户的级别。 执行命令local-user user-name service-type
    http,配置用户 的接入类型为HTTP。
  • 在PC上打开Web浏览器登录 在PC上打开Web浏览器,在地址栏中输入“https://IP/”
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值