【华为】登录华为设备

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 小时前
鸿蒙Flutter Flex多子组件权重分配
学习·flutter·华为·harmonyos·鸿蒙
拥抱太阳06165 小时前
HarmonyOS 应用开发《掌上英语》第23篇-图标与颜色系统构建可主题化视觉体系
华为·harmonyos
星恒讯工业路由器5 小时前
5G FWA技术演进与趋势
网络·5g·信息与通信·4g·5g fwa·3gpp规范·fwa趋势
红烧大青虫6 小时前
HarmonyOS应用开发实战:小事记 - UIAbility 的冷启动/热启动/后台启动三种场景与 launchParam 解析
后端·华为·harmonyos·鸿蒙系统
b130538100496 小时前
HarmonyOS应用开发实战:小事记 - 多级页面路由的 back 逻辑与参数回传模式
华为·harmonyos·鸿蒙系统
花开彼岸天~7 小时前
鸿蒙原生开发手记:徒步迹 - 自定义组件开发规范
后端·华为·harmonyos·鸿蒙系统
星夜夏空998 小时前
网络编程(1)
服务器·网络
上海云盾-小余8 小时前
中小站点防护避坑:低价高防服务存在的各类安全短板剖析
网络·爬虫·安全·ddos
红烧大青虫9 小时前
setInterval 倒计时实现:60s 验证码发送逻辑
后端·华为·harmonyos·鸿蒙系统
YM52e9 小时前
鸿蒙Flutter Center居中组件:Align对齐详解
android·学习·flutter·华为·harmonyos·鸿蒙