zoukankan      html  css  js  c++  java
  • CloudEngine 6800基础配置-01_常见密码操作

    由于工作原因,现在从事公有云。

    这简直就是个笑话,12年后又回来学网络知识。

    # 设置系统的日期、时间和时区
     
    <HUAWEI> clock timezone BJ add 08:00:00
    <HUAWEI> clock datetime 20:10:00 2017-08-05
     
    # 设置设备名称和管理IP地址
     
    <HUAWEI> system-view
    [~HUAWEI] sysname Server
    [*HUAWEI] commit
    [~Server] interface meth 0/0/0
    [*Server-MEth0/0/0] ip address 10.0.0.7 24
    [*Server-MEth0/0/0] quit
     
    # 设置Telnet用户的级别和认证方式
     
    [*Server] undo telnet server disable
    [*Server] user-interface vty 0 4
    [*Server-ui-vty0-4] user privilege level 3
    [*Server-ui-vty0-4] authentication-mode aaa
    [*Server-ui-vty0-4] quit
    [*Server] aaa
    [*Server-aaa] local-user admin1234 password irreversible-cipher Helloworld@6789
    [*Server-aaa] local-user admin1234 level 3
    [*Server-aaa] local-user admin1234 service-type telnet
    [*Server-aaa] commit
    [~Server-aaa] quit
     
    验证配置结果。-
     
    完成以上配置后,可以从PC2以Telnet方式远程登录设备。
     
    进入Windows 7的命令行提示符,并执行相关命令,通过Telnet方式登录设备。
     
    C:WindowsSystem32> telnet 10.0.0.7 2000
     
    (密码篇)
     
    #恢复Console口登陆密码
     
    【方法一:通过telnet登陆】
    [~Server]user-interface console 0
    [~Server-ui-console0]authentication-mode password
    [*Server-ui-console0]set authentication password
    Please configure the login password (8-16)
    Enter Password:
    Confirm Password:
    【方法二:通过BIOS菜单设置新的Console密码】
    通过Console口连接设备,并重启设备。当界面出现以下信息时,请3秒内按下快捷键“Ctrl+B”并输入BIOS密码,进入BIOS主菜单。
    Press CTRL+B to enter BIOS menu: 1
    Password: //输入BIOS密码。BIOS密码缺省值为Admin@huawei.com。
    根据设备的提示,在BIOS主菜单下选择“Modify console password”,出现以下界面信息,选择y后,设备将会继续启动。
    Caution: A new console password must be set after the restart.
    Continue now? Yes(y) or No(n): y
    设备完成启动后,本次通过Console口登录时不需要认证,登录后需要及时修改Console口登录密码。用户可以根据需要配置Console用户界面的认证方式及密码。具体配置与方法一:通过STelnet/Telnet登录设备设置新的Console口登录密码类似,不再赘述。
     
    #恢复Telnet登陆密码
     
    [~Server]user-interface vty 0
    [~Server-ui-vty0]auth
    [~Server-ui-vty0]authentication-mode pass
    [~Server-ui-vty0]authentication-mode password
    Warning: The "password" authentication mode is not secure, and it is strongly re
    commended to use "aaa" authentication mode.
    [*Server-ui-vty0]set authentication password
    Please configure the login password (8-16)
    Enter Password:
    Confirm Password:
    [*Server-ui-vty0]user pri
    [*Server-ui-vty0]user privilege level 3
    [*Server-ui-vty0]commit
    [~Server-ui-vty0]return
    <Server>save
     
    #恢复BIOS缺省密码
     
    恢复BIOS缺省密码
     
    缺省情况下,CE系列交换机的BIOS密码为Admin@huawei.com。
     
    为了防止非法用户进入BIOS菜单,建议您在进入BIOS主菜单后选择Modify BIOS password子菜单修改BIOS密码。
     
    对于V100R003及之后的版本,如果忘记了BIOS密码,用户可以通过Console口或STelnet/Telnet方式登录设备后在用户视图下执行命令reset boot password重置BIOS密码为缺省值。
     
    <HUAWEI> reset boot password
    Warning: The password used to enter the boot menu by clicking Ctrl+B will be restored to the default password, continue? [Y/N]: y
    Info: Succeeded in setting password of BIOS to the default password.
     
    #配置不验证方式
     
    不验证是指用户无需通过验证即可通过Console用户界面登录设备,此方式存在安全风险,建议配置AAA验证或密码验证方式来增加设备的安全性。
    <HUAWEI> system-view
    [~HUAWEI] user-interface console 0
    [~HUAWEI-ui-console0] authentication-mode none
    [*HUAWEI-ui-console0] commit
     
  • 相关阅读:
    胡昊—第9次作业--接口及接口回调
    胡昊—第8次作业--继承
    软件工程第三次作业——关于软件质量保障初探
    胡昊—第7次作业--访问权限、对象使用
    胡昊—第6次作业—static关键字、对象
    20194670自动生成四则运算题第一版报告
    《现代软件工程—构建之法》第一章总结
    第四次博客作业-结对项目
    第9次作业--接口及接口回调
    第八次作业--继承
  • 原文地址:https://www.cnblogs.com/EWWE/p/7291360.html
Copyright © 2011-2022 走看看