r1
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]user-interface console 0
[Huawei-ui-console0]idle-timeout 0 0
[Huawei-ui-console0]authentication-mode password
Please configure the login password (maximum length 16):jincheng
[Huawei-ui-console0]quit
[Huawei]sysname r1
[r1]interface g0/0/0
[r1-GigabitEthernet0/0/0]ip address 12.1.1.1 24
Oct 30 2022 19:04:24-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]return
<r1>ping 12.1.1.2
PING 12.1.1.2: 56 data bytes, press CTRL_C to break
Reply from 12.1.1.2: bytes=56 Sequence=1 ttl=255 time=70 ms
Reply from 12.1.1.2: bytes=56 Sequence=2 ttl=255 time=10 ms
Reply from 12.1.1.2: bytes=56 Sequence=3 ttl=255 time=30 ms
Reply from 12.1.1.2: bytes=56 Sequence=4 ttl=255 time=30 ms
Reply from 12.1.1.2: bytes=56 Sequence=5 ttl=255 time=20 ms
--- 12.1.1.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 10/32/70 ms
<r1>
Oct 30 2022 19:21:45-08:00 r1 %%01IFPDT/4/IF_STATE(l)[2]:Interface GigabitEthern
et0/0/0 has turned into DOWN state.
<r1>
Oct 30 2022 19:21:45-08:00 r1 %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the DOWN state.
<r1>
Oct 30 2022 19:22:34-08:00 r1 %%01IFPDT/4/IF_STATE(l)[4]:Interface GigabitEthern
et0/0/0 has turned into UP state.
<r1>
Oct 30 2022 19:22:34-08:00 r1 %%01IFNET/4/LINK_STATE(l)[5]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
r2
<Huawei>
Oct 30 2022 19:22:35-08:00 Huawei %%01IFPDT/4/IF_STATE(l)[0]:Interface GigabitEt
hernet0/0/0 has turned into UP state.
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname r2
[r2]user-interface console 0
[r2-ui-console0]idle-timeout 0 0
[r2-ui-console0]quit
[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]user-interface console 0
[r2-ui-console0]authentication-mode aaa
[r2-ui-console0]quit
[r2]interface g0/0/0
[r2-GigabitEthernet0/0/0]ip address 12.1.1.2 24
Oct 30 2022 19:31:53-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]