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

这简直就是个笑话,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:\Windows\System32> 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
 

CloudEngine 6800基础配置-01_常见密码操作的更多相关文章

  1. CloudEngine 6800基础配置-02_常用命令操作

    查看未提交配置   system-view ftp server enable display configuration candidate   删除未提交的配置 clear configurati ...

  2. 【Spark机器学习速成宝典】基础篇02RDD常见的操作(Python版)

    目录 引例入门:textFile.collect.filter.first.persist.count 创建RDD的方式:parallelize.textFile 转化操作:map.filter.fl ...

  3. Fedora 28 系统基础配置以及常用软件安装方式

    实验说明: 很多人说Linux很难用,很难上手,其实不然,倘若不玩游戏,其实很多发行版Linux都可以成为主力系统,就比如本章要讲的 Fedora 28.本章会从镜像来源.系统安装.基础配置和常用软件 ...

  4. Linux的安装(虚拟机环境)与基础配置

    一.背景 本文介绍如何安装虚拟机VMware以及如果在虚拟机上安装Linux系统以及Linux安装完毕之后的基础配置 需要准备的东西有VMware以及Linux镜像文件 二.下载安装VMware 下载 ...

  5. Centos6/7系统基础配置-从零到无

    转至:https://www.cnblogs.com/Pigs-Will-Fly/p/13855300.html 目录 前言 系统配置 文档作用 一.Centos 6.X 系列配置 1.1  主机名 ...

  6. SpringCloud系列九:SpringCloudConfig 基础配置(SpringCloudConfig 的基本概念、配置 SpringCloudConfig 服务端、抓取配置文件信息、客户端使用 SpringCloudConfig 进行配置、单仓库目录匹配、应用仓库自动选择、仓库匹配模式)

    1.概念:SpringCloudConfig 基础配置 2.具体内容 通过名词就可以发现,SpringCloudConfig 核心作用一定就在于进行配置文件的管理上.也就是说为了更好的进行所有微服务的 ...

  7. HAProxy详解(二):HAProxy基础配置与应用实例

    一.HAProxy基础配置与应用实例: 1.快速安装HAProxy集群软件: HAProxy的官网: https://www.haproxy.org/#down下载HAProxy的源码包. 安装: [ ...

  8. Java基础-配置开发环境-安装JDK

    Java基础-配置开发环境-安装JDK 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任. 一.计算机基础知识 1>.计算机的组成 计算机有硬件与软件组成. 2>.硬件: 硬 ...

  9. 1 - django-介绍-MTV-命令-基础配置-admin

    目录 1 什么是web框架 2 WSGI 3 MVC与MTV模式 3.1 MVC框架 3.2 MTV框架 3.3 区别 4 django介绍 4.1 Django处理顺序 4.2 创建django站点 ...

随机推荐

  1. js获取地址栏参数2种最简单方法

    NO1:(本人最喜欢) //普通参数 function GetQueryString(name) { var reg = new RegExp("(^|&)"+ name ...

  2. (转) 淘淘商城系列——Redis五种数据类型介绍

    http://blog.csdn.net/yerenyuan_pku/article/details/72855562 Redis支持五种数据类型:string(字符串),hash(哈希),list( ...

  3. Codeforces_765_D. Artsem and Saunders_(数学)

    D. Artsem and Saunders time limit per test 2 seconds memory limit per test 512 megabytes input stand ...

  4. pageHelper详解

    详见:https://github.com/pagehelper/Mybatis-PageHelper/edit/master/wikis/zh/HowToUse.md ## 使用方法 1. 引入分页 ...

  5. <MyBatis>入门三 sqlMapper文件

    增加 1.增删改在接口中的返回值 Integer.Long.Boolean.void 返回影响多少行 或 true | false 2.mapper 中 增删改没有返回值 (resultType或re ...

  6. python_ 学习笔记(基础语法)

    python的注释 使用(#)对单行注释 使用('''或者""")多行注释,下面的代码肯定了python的牛逼 print("python是世界上最好的语言吗? ...

  7. MFC 多行文本显示心得

    最近在利用MFC做端口扫描器实验,其中涉及CString.char.int等之间的转换.文本框的多行显示问题.总是显示底层最新结果等问题,下面写一些我总结的相关方法. 一.CString 转  cha ...

  8. illuminate/routing 源码分析之注册路由

    我们知道,在 Laravel 世界里,外界传进来一个 Request 时,会被 Kernel 处理并返回给外界一个 Response.Kernel 在处理 Request 时,会调用 illumina ...

  9. 【转】精选十二款餐饮、快递、票务行业微信小程序源码demo推荐

    微信小程序的初衷是为了线下实体业服务的,必须有实体相结合才能显示小程序的魅力.个人认为微信小程序对于餐饮业和快递业这样业务比较单一的行业比较有市场,故整理推荐12款餐饮业和快递业微信小程序源码demo ...

  10. ACM多校联赛7 2018 Multi-University Training Contest 7 1009 Tree

    [题意概述] 给一棵以1为根的树,树上的每个节点有一个ai值,代表它可以传送到自己的ai倍祖先,如果不存在则传送出这棵树.现在询问某个节点传送出这棵树需要多少步. [题解] 其实是把“弹飞绵羊”那道题 ...