当前位置: 首页 > news >正文

华为S5720配置telnet远程

本文将详细阐述华为 S5720 交换机配置 Telnet 远程登录的完整流程,帮助网络工程师快速掌握这一重要技能。

登录交换机

用户名 admin

密码 admin@huawei.com

这些密码都是华为的默认密码 在交换机底部可以看到的

Username:admin
Password:
Warning: The default password poses security risks.
The password needs to be changed. Change now? [Y/N]: y
Please enter old password: 
Please enter new password: 
Please confirm new password: 
The password has been changed successfully.
<HUAWEI>
<HUAWEI>
<HUAWEI>
<HUAWEI>sys
Enter system view, return user view with Ctrl+Z.
[HUAWEI]
[HUAWEI]sys SW1                   #修改名称
[SW1]
Apr  2 2000 21:54:08 SW1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.191.3.1 configurations have been changed. The current change number is 2, the change loop count is 0, and the maximum number of records is 4095.
[SW1]
Apr  2 2000 21:55:52 SW1 %%01EZOP/3/PROCESS_STOP(l)[0]:Easy-operation upgrade process has been stopped(Reason=Input has been detected in the console).
[SW1]

登录上了之后建议先更改原始密码和名称 我这里改的是Admin@1234和SW1

[SW1]interface vlan1
[SW1-Vlanif1]ip add 192.168.3.23 24          #ip地址 
[SW1-Vlanif1]di th                           #查看ip地址配置interface Vlanif1ip address 192.168.3.23 255.255.255.0return
[SW1-Vlanif1]q

配置vlan1 进入vlan配置ip 192.168.3.23 24  di th 查看配置 (ip看自己或公司网络规划)

[SW1-aaa]local-user admin privilege level 15
[SW1-aaa]local-user admin service-type telnet terminal http

配置用户等级为15 允许 telnet terminal http 服务 也可以只配 telnet 服务

其他命令 :local-user admin password irreversible-cipher Admin@1234

这条命令是用来修改Admin这个用户登录密码的 

[SW1]telnet server enable                  #开启telnet服务
[SW1]http server enable                    #开启http服务

开启 telnet和http服务

[SW1]user-interface vty 0 4               #配置网络设备的虚拟终端(VTY)接口 
[SW1-ui-vty0-4]authentication-mode aaa    #配置用户认证方式为aaa

配置网络设备的虚拟终端(VTY)接口和认证方式

[SW1-ui-vty0-4] protocol inbound telnet  #允许telnet服务

配置虚拟终端(vty)允许telnet登录

配置有线网卡为ip 192.168.3.23 24 同网段

输入telnet 192.168.3.23

输入用户名密码   用户名 admin  密码 Admin@1234登入

web界面登录  输入https://192.168.3.23

输入用户名密码登录就行了

登录界面

交换机所有配置确认 输入display  current-configuration 

[SW1]di cu
!Software Version V200R010C00SPC600
#
sysname SW1
#
authentication-profile name default_authen_profile
authentication-profile name dot1x_authen_profile
authentication-profile name mac_authen_profile
authentication-profile name portal_authen_profile
authentication-profile name dot1xmac_authen_profile
authentication-profile name multi_authen_profile
#
telnet server enable
#
radius-server template default
#
free-rule-template name default_free_rule
#
portal-access-profile name portal_access_profile
#
aaaauthentication-scheme defaultauthentication-scheme radiusauthentication-mode radiusauthorization-scheme defaultaccounting-scheme default                local-aaa-user password policy administratorpassword expire 0domain defaultauthentication-scheme radiusradius-server defaultdomain default_adminauthentication-scheme defaultlocal-user admin password irreversible-cipher $1a$;G1{1QBJbI$@kM-'|5DfK^#.:H6r6-..y[Y/6G<q"#ISr+cq||L$local-user admin privilege level 15local-user admin service-type telnet terminal http
#
interface Vlanif1ip address 192.168.3.23 255.255.255.0
#
interface Vlanif10
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/2
#
interface GigabitEthernet0/0/3
#
interface GigabitEthernet0/0/4
#                                         
interface GigabitEthernet0/0/5
#
interface GigabitEthernet0/0/6
#
interface GigabitEthernet0/0/7
#
interface GigabitEthernet0/0/8
#
interface GigabitEthernet0/0/9
#
interface GigabitEthernet0/0/10
#
interface GigabitEthernet0/0/11
#
interface GigabitEthernet0/0/12
#
interface GigabitEthernet0/0/13
#
interface GigabitEthernet0/0/14
#
interface GigabitEthernet0/0/15
#
interface GigabitEthernet0/0/16
#                                         
interface GigabitEthernet0/0/17
#
interface GigabitEthernet0/0/18
#
interface GigabitEthernet0/0/19
#
interface GigabitEthernet0/0/20
#
interface GigabitEthernet0/0/21
#
interface GigabitEthernet0/0/22
#
interface GigabitEthernet0/0/23
#
interface GigabitEthernet0/0/24
#
interface XGigabitEthernet0/0/1
#
interface XGigabitEthernet0/0/2
#
interface XGigabitEthernet0/0/3
#
interface XGigabitEthernet0/0/4
#                                         
interface NULL0
#
user-interface con 0authentication-mode aaa
user-interface vty 0 4authentication-mode aaaprotocol inbound telnet
user-interface vty 16 20
#
dot1x-access-profile name dot1x_access_profile
#
mac-access-profile name mac_access_profile
#
return

好了到这里配置就完成了

http://www.dtcms.com/a/442152.html

相关文章:

  • 面试复盘:哔哩哔哩、蔚来、字节跳动、小红书面试与总结
  • Your ViT is Secretly an Image Segmentation Model
  • 海口网站建设运营网站开发公司选择
  • 日语学习-日语知识点小记-进阶-JLPT-N1阶段应用练习(4):语法 +考え方17+2022年7月N1
  • RAG:解锁大语言模型新能力的关键钥匙
  • 广州网站建设海珠信科网站建设推广方法
  • Oracle Linux 7.8 静默安装 Oracle 11g R2 单机 ASM 详细教程
  • 旅游公司网站建设方案网站的布局结构三种
  • Django ORM 无法通过 `ForeignKey` 自动关联,而是需要 **根据父模型中的某个字段(比如 ID)去查询子模型**。
  • 吉林省建设厅信息网站网站建设的评价
  • 分布式专题——26.5 一台新机器进行Web页面请求的历程
  • 怎么让别人看到自己做的网站万维网网站301重定向怎么做
  • css样式学习记录
  • 网站服务器关闭网站数据库地址是什么
  • 每日一个C语言知识:C程序结构
  • Amazon RDS:云端数据库管理的革新之路
  • wordpress登录可见站内seo是什么意思
  • STM32简单的串口Bootloader入门
  • 360网站怎么做2核4g做网站
  • 从 “手工作坊” 到 “智能工厂”:2025 年 AI 原生应用重构内容创作产业
  • 做网站平台难在哪里网页翻译不见了
  • Flutter技术栈深度解析:从架构设计到性能优化
  • 学做湘菜的视频网站中国建设企业银行登录网站
  • 【Python进阶】网络爬虫核心技能-第三方IP服务
  • CAS密钥管理系统在汽车行业的核心密钥管理实践——构建智能网联汽车的可信安全底座
  • 宝塔面板登录地址和账密都忘了怎么解决
  • 廊坊大城网站建设义乌创源网站建设
  • Spring-AI 接入(本地大模型 deepseek + 阿里云百炼 + 硅基流动)
  • 华为OD机试C卷 - 分苹果 - 二进制 - (Java C++ JavaScript Python)
  • 国内好的seo网站网站建设课程的感受