作业要求
作业步骤
<Huawei>sy
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sy
[Huawei]sysname r1
[r1]us in
[r1]us
[r1]user-in
[r1]user-interface con
[r1]user-interface console 0
[r1-ui-console0]id
[r1-ui-console0]idle-timeout 0 0
<Huawei>sy
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sy
[Huawei]sysname r2
[r2]us
[r2]user-in
[r2]user-interface con
[r2]user-interface console 0
[r2-ui-console0]id
[r2-ui-console0]idle-timeout 0 0
[r1]user
[r1]user-in
[r1]user-interface co
[r1]user-interface console 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
[r2]aaa
[r2-aaa]loc
[r2-aaa]local-user jincheng
[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
[r2-aaa]local-user xuesheng privilege level 0 password cipher 123
[r2-aaa]
[r2-aaa]
[r2-aaa]quit
[r2]user
[r2]user-inter
[r2]user-interface con
[r2]user-interface console 0
[r2-ui-console0]au
[r2-ui-console0]authentication-mode aaa
[r1]interface g0/0/0
[r1-GigabitEthernet0/0/0]ip a
[r1-GigabitEthernet0/0/0]ip add
[r1-GigabitEthernet0/0/0]ip address 192.168.
^
Error: Wrong parameter found at '^' position.
[r1-GigabitEthernet0/0/0]ip ad
[r1-GigabitEthernet0/0/0]ip address 192.168.1.2 255.255.255.0
[r2]inter
[r2]interface g0/0/0
[r2-GigabitEthernet0/0/0]ip address 192.168.1.1 255.255.255.0
ping 192.168.1.1
PING 192.168.1.1: 56 data bytes, press CTRL_C to break
Reply from 192.168.1.1: bytes=56 Sequence=1 ttl=255 time=20 ms
Reply from 192.168.1.1: bytes=56 Sequence=2 ttl=255 time=30 ms
Reply from 192.168.1.1: bytes=56 Sequence=3 ttl=255 time=30 ms
Reply from 192.168.1.1: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 192.168.1.1: bytes=56 Sequence=5 ttl=255 time=20 ms
--- 192.168.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/24/30 ms