华为远程连接Telnet登陆管理

网络拓扑如下图:

R1中配置:

<Huawei>system-view         进入系统视图
[Huawei]sysname R1        设备名改为R1
[R1]int G0/0/0        进入G0/0/0端口
[R1-GigabitEthernet0/0/0]ip add 192.168.10.1 24       

[R1]user-interface vty 0 4           设置VTY连接数为五个
[R1-ui-vty0-4]user privilege leve 3        用户的权限等级为3
[R1-ui-vty0-4]authentication-mode password         设置远程连接密码
Please configure the login password (maximum length 16):Huawei@123

[R1-ui-vty0-4]quit
[R1]ping 192.168.10.2
  PING 192.168.10.2: 56  data bytes, press CTRL_C to break
    Reply from 192.168.10.2: bytes=56 Sequence=1 ttl=255 time=80 ms
    Reply from 192.168.10.2: bytes=56 Sequence=2 ttl=255 time=10 ms
    Reply from 192.168.10.2: bytes=56 Sequence=3 ttl=255 time=20 ms
    Reply from 192.168.10.2: bytes=56 Sequence=4 ttl=255 time=20 ms
    Reply from 192.168.10.2: bytes=56 Sequence=5 ttl=255 time=20 ms

  --- 192.168.10.2 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 10/30/80 ms
 

R2中配置:

<Huawei>system-view   
[Huawei]sysname R2
[R2]int G0/0/0
[R2-GigabitEthernet0/0/0]ip add 192.168.10.2 24
[R2-GigabitEthernet0/0/0]quit

<R2>telnet 192.168.10.1        远程连接输入密码成功进入
  Press CTRL_] to quit telnet mode
  Trying 192.168.10.1 ...
  Connected to 192.168.10.1 ...

Login authentication


Password:
<R1>

猜你喜欢

转载自blog.csdn.net/qq_62732552/article/details/123313703