【华为】登录华为设备

html 复制代码
LSW1:
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sys SW
[SW]vlan 100
[SW-vlan100]q
[SW]in g0/0/1
[SW-GigabitEthernet0/0/1]port link-type ac
[SW-GigabitEthernet0/0/1]port default vlan 100
[SW-GigabitEthernet0/0/1]int vlanif 100
[SW-Vlanif100]ip ad 192.168.1.254 24
[SW-Vlanif100]q
[SW]telnet server enable
[SW]user-interface vty 0 4
[SW-ui-vty0-4]protocol inbound telnet
[SW-ui-vty0-4]authentication-mode password
[SW-ui-vty0-4]set authentication password cipher huawei

AR1:
[Huawei]in g0/0/0
[Huawei-GigabitEthernet0/0/0]ip ad 192.168.1.1 24

<Huawei>telnet 192.168.1.254
  Press CTRL_] to quit telnet mode
  Trying 192.168.1.254 ...
  Connected to 192.168.1.254 ...


Login authentication


Password:
Info: The max number of VTY users is 5, and the number
      of current VTY users on line is 1.
      The current login time is 2024-10-13 16:15:43.
<SW>
html 复制代码
LSW2:
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sys SW
[SW]vlan 100
[SW-vlan100]q
[SW]in g0/0/1
[SW-GigabitEthernet0/0/1]port link-type ac
[SW-GigabitEthernet0/0/1]port default vlan 100
[SW-GigabitEthernet0/0/1]int vlanif 100
[SW-Vlanif100]ip ad 192.168.1.254 24
[SW-Vlanif100]q
[SW]telnet server enable
[SW]user-interface vty 0 4
[SW-ui-vty0-4]protocol inbound telnet
[SW-ui-vty0-4]authentication-mode aaa
[SW]aaa
[SW-aaa]local-user admin123 password cipher admin123
[SW-aaa]local-user admin123 service-type telnet
[SW-aaa]local-user admin123 privilege level 15

AR2:
[Huawei]in g0/0/0
[Huawei-GigabitEthernet0/0/0]ip ad 192.168.1.1 24

<Huawei>telnet 192.168.1.254
  Press CTRL_] to quit telnet mode
  Trying 192.168.1.254 ...
  Connected to 192.168.1.254 ...


Login authentication


Username:admin123
Password:
Info: The max number of VTY users is 5, and the number
      of current VTY users on line is 1.
      The current login time is 2024-10-13 17:20:13.
<SW>
相关推荐
祭曦念4 分钟前
鸿蒙Next实战-笑话大全App开发
华为·harmonyos
三声三视9 分钟前
Electron 鸿蒙快捷键全失灵,我排查了六个小时
华为·electron·harmonyos·鸿蒙
风华圆舞18 分钟前
鸿蒙构建失败时,先查 Flutter 还是先查 Hvigor
flutter·华为·harmonyos
YM52e22 分钟前
鸿蒙HarmonyOS ArkTS 实战:教师座椅出入记录 APP 从零到一
学习·华为·harmonyos·鸿蒙系统
酣大智26 分钟前
三层交换机与路由器的区别
网络·路由器·交换机
Swift社区42 分钟前
鸿蒙游戏如何实现多端一致性?
游戏·华为·harmonyos
木咺吟1 小时前
【鸿蒙原生应用开发实战】第一篇:项目初始化与架构设计——从零搭建“阅迹“阅读应用
华为·harmonyos
组合缺一1 小时前
SolonCode(编码智能体)支持鸿蒙 PC
java·华为·ai·ai编程·harmonyos·solon·soloncode
一个儒雅随和的男子1 小时前
sentinel底层原理剖析以及实战优化
java·网络·sentinel
正经教主1 小时前
【docker基础】第六课:Web应用与数据库容器部署
网络·docker·容器