r1:
<Huawei>sy
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sy
[Huawei]sysname r1
[r1]us
[r1]user-int
[r1]user-interface co
[r1]user-interface console 0
[r1-ui-console0]id
[r1-ui-console0]idle-timeout 0 0
[r1-ui-console0]au
[r1-ui-console0]authentication-mode pa
[r1-ui-console0]authentication-mode password
Please configure the login password (maximum length 16):jincheng
[r1-ui-console0]
[r1-ui-console0]
[r1-ui-console0]ret
[r1-ui-console0]return
<r1>sy
<r1>system-view
Enter system view, return user view with Ctrl+Z.
[r1]int
[r1]interface g0/0/0
[r1-GigabitEthernet0/0/0]ip ad
[r1-GigabitEthernet0/0/0]ip address 192.168.1.1 24
Oct 30 2022 19:02:23-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]
[r1-GigabitEthernet0/0/0]
[r1-GigabitEthernet0/0/0]ret
[r1-GigabitEthernet0/0/0]return
<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=100 ms
Reply from 192.168.1.2: bytes=56 Sequence=2 ttl=255 time=30 ms
Reply from 192.168.1.2: bytes=56 Sequence=3 ttl=255 time=20 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=20 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/38/100 ms
r2:<Huawei>sy
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sy
[Huawei]sysname r2
[r2]us
[r2]user-int
[r2]user-interface co
[r2]user-interface console 0
[r2-ui-console0]au
[r2-ui-console0]id
[r2-ui-console0]idle-timeout 0 0
[r2-ui-console0]ret
[r2-ui-console0]return
<r2>sy
<r2>system-view
Enter system view, return user view with Ctrl+Z.
[r2]aaa
[r2-aaa]loc
[r2-aaa]local-user jincheng pa
[r2-aaa]local-user jincheng password ci
[r2-aaa]local-user jincheng pr
[r2-aaa]local-user jincheng privilege le
[r2-aaa]local-user jincheng privilege level 15 pa
[r2-aaa]local-user jincheng privilege level 15 password ci
[r2-aaa]local-user jincheng privilege level 15 password cipher xueyuan
Info: Add a new user.
[r2-aaa]lo
[r2-aaa]local-user jinchengser
[r2-aaa]local-user jincheng ser
[r2-aaa]local-user jincheng service-type ter
[r2-aaa]local-user jincheng service-type terminal
[r2-aaa]lo
[r2-aaa]local-user xuesheng pri
[r2-aaa]local-user xuesheng privilege le
[r2-aaa]local-user xuesheng privilege level 0 pas
[r2-aaa]local-user xuesheng privilege level 0 password ci
[r2-aaa]local-user xuesheng privilege level 0 password cipher 123\
Info: Add a new user.
[r2-aaa]ret
[r2-aaa]return
<r2>sy
<r2>system-view
Enter system view, return user view with Ctrl+Z.
[r2]us
[r2]us
[r2]user-int
[r2]user-interface co
[r2]user-interface console 0
[r2-ui-console0]au
[r2-ui-console0]authentication-mode aaa
[r2-ui-console0]
[r2-ui-console0]
[r2-ui-console0]int
[r2-ui-console0]ret
[r2-ui-console0]retu
[r2-ui-console0]return
<r2>sy
<r2>system-view
Enter system view, return user view with Ctrl+Z.
[r2]int
[r2]interface g0/0/0
[r2-GigabitEthernet0/0/0]ip add
[r2-GigabitEthernet0/0/0]ip address 192.168.1.2 24
Oct 30 2022 19:03:52-08:00 r2 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r2-GigabitEthernet0/0/0]
[r2-GigabitEthernet0/0/0]ret
[r2-GigabitEthernet0/0/0]return