【华为】登录华为设备

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>
相关推荐
richard_yuu19 分钟前
鸿蒙心理测评模块实战|PHQ-9/GAD7双量表答题、实时计分与结果本地化存储
华为·harmonyos
随身数智备忘录1 小时前
什么是设备管理体系?设备管理体系包含哪些核心模块?
网络·数据库·人工智能
第五文修2 小时前
手机OTG转TTL网口实现ping功能
网络·智能手机
云边云科技_云网融合2 小时前
企业大模型时代的网络架构五层演进:从连接到智能的范式重构
网络·重构·架构
不爱吃糖的程序媛3 小时前
2026年Electron 鸿蒙PC环境搭建指南
人工智能·华为·harmonyos
nashane3 小时前
HarmonyOS 6学习:长截图功能开发中的滚动拼接与权限处理实战
人工智能·华为·harmonyos
xhbh6664 小时前
代理ARP (Proxy ARP) 是如何实现跨网段通信的?在Linux下如何配置?
服务器·网络·智能路由器·端口映射·映射
数智化管理手记5 小时前
精益生产3步实操,让现场从混乱变标杆
大数据·运维·网络·人工智能·精益工程
XiYang-DING5 小时前
【Java EE】TCP—可靠传输
网络·tcp/ip·java-ee
沃虎电子6 小时前
片式网络变压器:从“手工品”到“SMD元件”的产业跨越
网络·片式网络变压器