华为设备设置本地console登录密码,记得保存配置!

华为设备设置本地console登录密码(以交换机为例,路由器也一样)

  1. 为了设备的运行安全,一般都要设置个console口登录密码,不是防一般用户,也不是贫道多心,主要防无良道友。

  2. 准备如下:console线(USB口console线,请参照前面文章,现多用这种),超级客户端连接工具软件下载:超级终端、Putty、SecureCRT等等工具

  3. 共享的下载地址,仅供参考,工具包含两款工具putty, SecureCRT:https://pan.baidu.com/s/17n7hbHWtepAM-5r6StOGKg  提取密码:67vy

  4. 配置console登录密码:

    <sw1>  system-view                          //进系统视图

    [sw1] user-interface console 0         //进入console 0口(就一个console口,默认为0口)

    [sw1-ui-console0]  authentication-mode password                           //启用密码认证

    [sw1-ui-console0]  set authentication password cipher Boke8         //设置终端登录密码为 Boke8(密码自己定,别用我这个哈)

     

       注:记得保存配置

 <Router>    save                                             //保存配置

The current configuration will be written to the device.
Are you sure to continue?[Y/N] Y                    //输入Y确认
Now saving the current configuration to the slot 0.
Dec 24 2020 13:16:13-18:00 sw1 %%01CFM/4/SAVE(l)[2]:The user chose Y when decid
ing whether to save the configuration to the device.
Save the configuration successfully.
<Router>

 

 

原文地址:https://www.cnblogs.com/gucun-blog/p/14183229.html