华为路由器:首次登陆配置Console、Telnet登录、Web登录

您所在的位置:网站首页 华为路由器密码登录是什么密码 华为路由器:首次登陆配置Console、Telnet登录、Web登录

华为路由器:首次登陆配置Console、Telnet登录、Web登录

2024-07-11 19:58:02| 来源: 网络整理| 查看: 265

Console口设置密码

交换机Console口设置密码

[sw1]user-interface console 0 [sw1-ui-console0]authentication-mode password [sw1-ui-console0]set authentication password ? cipher Set the password with cipher text #密码用密码文本设置密码 simple Set the password in plain text #简单地设置明文密码 [sw1-ui-console0]set authentication password simple 123

路由器Console口设置密码

[R1]user-interface console 0 [R1-ui-console0]authentication-mode password Please configure the login password (maximum length 16):123 [R1-ui-console0] [R1-ui-console0]q [R1]q q Configuration console exit, please press any key to log on Login authentication Password:输入123 sys Enter system view, return user view with Ctrl+Z. 配置用户通过Telnet登录设备(真机演示) [Huawei]int g0/0/0 [Huawei-GigabitEthernet0/0/0]ip add 192.168.100.254 24 #先给需要接口设置IP [Huawei]telnet server enable #全局开启telnet Info: Telnet is insecure, recommended to use stelnet with encryption features. [Huawei]aaa [Huawei-aaa]local-user pokes password irreversible-cipher 123456 #创建本地用户,用户名:pokes、密码:123456 Info: Add a new user. [Huawei-aaa]local-user pokes service-type telnet #配置本地用户pokes的接入类型为telnet [Huawei-aaa]local-user pokes privilege level 3 #设置用户等级,远程用户缺省的级别都是0级,可修改Telnet用户登录后的用户级别为管理员3 Warning: This operation may affect online users, are you sure to change the user privilege level ?[Y/N]y 确定 [Huawei-aaa]q [Huawei]user-interface vty 0 4 #进入VTY0~VTY4用户界面视图 [Huawei-ui-vty0-4]authentication-mode aaa #配置VTY类型用户界面的验证方式为AAA 配置用户通过web登录设备(真机演示)

web登陆其实和上面基本是一样的。只是将上面代码中的:

local-user pokes service-type telnet

替换成

local-user pokes service-type http [Huawei]int g0/0/0 [Huawei-GigabitEthernet0/0/0]ip add 192.168.100.254 24 #先给需要接口设置IP [Huawei]http server enable #全局开启 Info: Telnet is insecure, recommended to use stelnet with encryption features. [Huawei]aaa [Huawei-aaa]local-user pokes password irreversible-cipher 123456 #创建本地用户,用户名:pokes、密码:123456 Info: Add a new user. [Huawei-aaa]local-user pokes service-type http #配置本地用户pokes的接入类型为telnet [Huawei-aaa]local-user pokes privilege level 3 #设置用户等级,远程用户缺省的级别都是0级,可修改用户登录后的用户级别为管理员3 Warning: This operation may affect online users, are you sure to change the user privilege level ?[Y/N]y 确定 [Huawei-aaa]q [Huawei]user-interface vty 0 4 #进入VTY0~VTY4用户界面视图 [Huawei-ui-vty0-4]authentication-mode aaa #配置VTY类型用户界面的验证方式为AAA

说明:有个问题需要注意一下,替换完成之后就只能web登陆,不能同时登陆web和telnet。如果还需要web登陆,就需要再新建另一个用户。

重点华为设备出厂的时候,对web访问的接口做了限制,我们必须查出来哪个接口可以web访问

display current-configuration filter http serve #查询哪个接口允许web访问 # post-system http server enable http server permit interface GigabitEthernet0/0/1 #这个接口可以访问 # return

解决办法有两种:

undo http server permit interface #删除限制 http server permit interface e0/0/0 #允许你的接口访问web

在这里我想说的是,华为的web界面真的是很差,我用的真机AR1220,不知道新版的怎么样。建议还是用命令把。



【本文地址】

公司简介

联系我们

今日新闻


点击排行

实验室常用的仪器、试剂和
说到实验室常用到的东西,主要就分为仪器、试剂和耗
不用再找了,全球10大实验
01、赛默飞世尔科技(热电)Thermo Fisher Scientif
三代水柜的量产巅峰T-72坦
作者:寞寒最近,西边闹腾挺大,本来小寞以为忙完这
通风柜跟实验室通风系统有
说到通风柜跟实验室通风,不少人都纠结二者到底是不
集消毒杀菌、烘干收纳为一
厨房是家里细菌较多的地方,潮湿的环境、没有完全密
实验室设备之全钢实验台如
全钢实验台是实验室家具中较为重要的家具之一,很多

推荐新闻


图片新闻

实验室药品柜的特性有哪些
实验室药品柜是实验室家具的重要组成部分之一,主要
小学科学实验中有哪些教学
计算机 计算器 一般 打孔器 打气筒 仪器车 显微镜
实验室各种仪器原理动图讲
1.紫外分光光谱UV分析原理:吸收紫外光能量,引起分
高中化学常见仪器及实验装
1、可加热仪器:2、计量仪器:(1)仪器A的名称:量
微生物操作主要设备和器具
今天盘点一下微生物操作主要设备和器具,别嫌我啰嗦
浅谈通风柜使用基本常识
 众所周知,通风柜功能中最主要的就是排气功能。在

专题文章

    CopyRight 2018-2019 实验室设备网 版权所有 win10的实时保护怎么永久关闭