华为设备做telent配置(华为telnet怎么配置)
交换机配置如下:system-view //进入系统配置模式Enter system view, return user view with Ctrl+Z.[Huawei]sysname HW-SW1//重命名设备[HW-SW1]int Vlanif 1//进入vlan1[HW-SW1-Vlanif1]ip address 10.1.11.2 29//给vlan1设置IP地址[HW-SW1-Vlanif1]q//退出vlan1配置模式[HW-SW1]telnet server enable //开启telnet服务Info: The Telnet server has been enabled.[HW-SW1]user-interface vty 0 4//设置telnet登录通道0 4总计5个[HW-SW1-ui-vty0-4]set authentication password simple 123456//设置登录方式为密码认证,密码为123456[HW-SW1-ui-vty0-4]user privilege level 15//设置用户等级为15,最高为15级别(必须设置用户等级,否则后期客户端登录后会出现无法补全命令的问题)[HW-SW1-ui-vty0-4]q//退出接口配置模式[HW-SW1]ping 10.1.11.1//测试网络是否连通PING 10.1.11.1: 56 data bytes, press CTRL_C to breakReply from 10.1.11.1: bytes=56 Sequence=1 ttl=255 time=110 msReply from 10.1.11.1: bytes=56 Sequence=2 ttl=255 time=50 msReply from 10.1.11.1: bytes=56 Sequence=3 ttl=255 time=20 msReply from 10.1.11.1: bytes=56 Sequence=4 ttl=255 time=40 msReply from 10.1.11.1: bytes=56 Sequence=5 ttl=255 time=50 ms
--- 10.1.11.1 ping statistics ---5 packet(s) transmitted5 packet(s) received0.00% packet lossround-trip min/avg/max = 20/54/110 ms路由器配置如下:system-view //进入系统配置模式Enter system view, return user view with Ctrl+Z.[Huawei]sysname HW-AR1//重命名设备[HW-AR1]int g0/0/0//进入g0/0/0接口[HW-AR1-GigabitEthernet0/0/0]ip address 10.1.11.1 29//配置接口IP地址Dec 19 2020 16:13:16-08:00 HW-AR1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocolIP on the interface GigabitEthernet0/0/0 has entered the UP state. [HW-AR1-GigabitEthernet0/0/0]q//退出接口配置[HW-AR1]q//退出系统配置ping 10.1.11.2//测试网络是否连通PING 10.1.11.2: 56 data bytes, press CTRL_C to breakReply from 10.1.11.2: bytes=56 Sequence=1 ttl=255 time=30 msReply from 10.1.11.2: bytes=56 Sequence=2 ttl=255 time=30 msReply from 10.1.11.2: bytes=56 Sequence=3 ttl=255 time=20 msReply from 10.1.11.2: bytes=56 Sequence=4 ttl=255 time=20 msReply from 10.1.11.2: bytes=56 Sequence=5 ttl=255 time=40 ms
--- 10.1.11.2 ping statistics ---5 packet(s) transmitted5 packet(s) received0.00% packet lossround-trip min/avg/max = 20/28/40 ms
telnet 10.1.11.2//telnet连通测试
Press CTRL_] to quit telnet modeTrying 10.1.11.2 ...Connected to 10.1.11.2 ...
Login authentication
Password://输入密码Info: The max number of VTY users is 5, and the numberof current VTY users on line is 1.The current login time is 2020-12-19 16:16:23.//成功进入设备sy system-view Enter system view, return user view with Ctrl+Z.[HW-SW1]q //退出HW-AR1设备
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
暂时没有评论,来抢沙发吧~