【华为】登录华为设备

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>
相关推荐
anyup7 天前
来简单聊聊鸿蒙开发,万元奖金的事~
前端·华为·harmonyos
程序猿追14 天前
那个右下角的小数字怎么“卡”住我打字——我用 HarmonyOS 自己写了一个字数限制输入框
pytorch·华为·harmonyos
古德new14 天前
鸿蒙PC使用electron迁移:Joplin Electron 桌面适配全记录
华为·electron·harmonyos
世人万千丶14 天前
桌面便签小应用 - HarmonyOS ArkUI 开发实战-TextArea与Flex布局-PC版本
华为·harmonyos·鸿蒙·鸿蒙系统
慧海灵舟14 天前
AGenUI 鸿蒙端实战踩坑录:从 Column 布局消失到异步组件宽度为 0
华为·harmonyos
yuegu77714 天前
HarmonyOS应用<节气通>开发第33篇:状态管理实战
华为·harmonyos
Inhand陈工14 天前
基于台达PLC与映翰通IG502的智慧水产养殖精准投喂与远程运维解决方案
运维·人工智能·物联网·阿里云·信息与通信
YM52e14 天前
买菜计算器小应用 - HarmonyOS ArkUI 开发实战-PC版本
学习·华为·harmonyos·鸿蒙·鸿蒙系统
网络研究院14 天前
2026年网络安全
网络·安全·法律·法规·趋势·发展
阿捏利14 天前
系列总览-鸿蒙科普系列完全指南
华为·harmonyos