1.改名r1.r2 2.r1使用密码加密密码为jincheng 3.r2使用用户名为jincheng管理权限为15密码为xueyuan r2使用用户名为xuesheng管理权限为0密码为123 4.r1可以pingr2 使用地址为192.168.1.0/24
<Huawei>system-view
[Huawei]sysname r1
[r1]user-interface console 0
[r1-ui-console0]authentication-mode password
Please configure the login password (maximum length 16):jincheng
[r1-ui-console0]quit
[r1]user-interface console 0
[r1-ui-console0]idle-timeout 0 0
[r1-ui-console0]quit
[r1]interface g0/0/0
[r1-GigabitEthernet0/0/0]ip address 192.168.1.1 24
Nov 1 2022 20:12:37-08:00 r1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r1-GigabitEthernet0/0/0]quit
[r1]ping 192.168.1.2
PING 192.168.1.2: 56 data bytes, press CTRL_C to break
Reply from 192.168.1.2: bytes=56 Sequence=1 ttl=255 time=60 ms
Reply from 192.168.1.2: bytes=56 Sequence=2 ttl=255 time=20 ms
Reply from 192.168.1.2: bytes=56 Sequence=3 ttl=255 time=30 ms
Reply from 192.168.1.2: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 192.168.1.2: bytes=56 Sequence=5 ttl=255 time=30 ms
--- 192.168.1.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/32/60 ms
<Huawei>system-view
[Huawei]sysname r2
[r2]aaa
[r2-aaa]local-user jincheng privilege level 15 password cipher xueyuan
Info: Add a new user.
[r2-aaa]local-user xuesheng privilege level 0 password cipher 123
Info: Add a new user.
[r2-aaa]quit
[r2-GigabitEthernet0/0/0]ip address 192.168.1.2 24
Nov 1 2022 20:12:06-08:00 r2 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.