telnet远程登录passwrd

在这里插入图片描述

R1(设置IP地址)
<Huawei>system-view     //进入全局配置模式
[Huawei]sysname R1     //改名
[R1]undo info-center enable     //关闭信息告警提示
[R1]interface g0/0/0     //进入g/0/0接口
[R1-GigabitEthernet0/0/0]ip address 192.168.100.1 24     //配置IP地址
R1(开启telnet服务)
[R1]telnet server enable     //开启telnet服务
R1(设置密码)
[R1]user-interface vty 0 4     //用户界面vty 0 4    
[R1-ui-vty0-4]authentication-mode password     //输入密码验证
Please configure the login password (maximum length 16):admin@123     //输入密码
[R1-ui-vty0-4]quit
[R1]
R2(设置IP地址)
<Huawei>system-view      //进入全局配置模式
[Huawei]sysname R2     //改名
[R2]undo info-center enable     //关闭信息告警提示 
[R2]interface g0/0/0     //进入g/0/0接口
[R2-GigabitEthernet0/0/0]ip address 192.168.100.2 24     //配置IP地址
[R2-GigabitEthernet0/0/0]quit     //退出
###### ==R2==(测试是否可以ping通R1设备)
R2(测试是否可以ping通R1设备)
[R2]ping 192.168.100.1     //测试是否可以ping通
  PING 192.168.100.1: 56  data bytes, press CTRL_C to break
    Reply from 192.168.100.1: bytes=56 Sequence=1 ttl=255 time=100 ms     //可以ping通
    Reply from 192.168.100.1: bytes=56 Sequence=2 ttl=255 time=80 ms
    Reply from 192.168.100.1: bytes=56 Sequence=3 ttl=255 time=70 ms
    Reply from 192.168.100.1: bytes=56 Sequence=4 ttl=255 time=80 ms
    Reply from 192.168.100.1: bytes=56 Sequence=5 ttl=255 time=60 ms

  --- 192.168.100.1 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 60/78/100 ms

[R2]quit
R2(测试是否可以远程登录R1设备)
<R2>telnet 192.168.100.1
  Press CTRL_] to quit telnet mode
  Trying 192.168.100.1 ...
  Connected to 192.168.100.1 ...

Login authentication


Password:     //直接输入密码
<R1>
发布了68 篇原创文章 · 获赞 23 · 访问量 7830

猜你喜欢

转载自blog.csdn.net/Yang__Qi/article/details/101643995