【华为】登录华为设备

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>
相关推荐
真正的醒悟1 天前
图解网络34
网络
IT·小灰灰1 天前
告别“翻墙“烦恼:DMXAPI让Gemini-3-pro-thinking调用快如闪电
网络·人工智能·python·深度学习·云计算
任子菲阳1 天前
学Java第五十六天——网络编程
网络
程序员zgh1 天前
常用通信协议介绍(CAN、RS232、RS485、IIC、SPI、TCP/IP)
c语言·网络·c++
小汐睡着了1 天前
解决虚拟机VMware与宿主机网络不通的问题-error
linux·网络·redhat
m0_685535082 天前
光学工程师面试真题
华为·光学·光学设计·光学工程·镜头设计
Heart_to_Yang2 天前
Telnet 调试屏幕输出信息卡死问题解决
网络·windows·经验分享
资料库012 天前
华为OSPF详解
网络·华为
yenggd2 天前
锐捷路由器nat上网+ipsec配置案例
网络
liebe1*12 天前
第九章 防火墙入侵防御
运维·网络·防火墙