基础配置
undo info-center enable //不会出现各种警告了
R1:
[R1]int g0/0/0
[R1-GigabitEthernet0/0/0]ip add 10.0.13.1 24
Error: The address already exists.
[R1-GigabitEthernet0/0/0]int g0/0/1
[R1-GigabitEthernet0/0/1]ip add 10.0.12.1 24
[R1-GigabitEthernet0/0/1]quit
[R1]int g0/0/0
[R1-GigabitEthernet0/0/0]ip add 10.0.13.1 24
Error: The address already exists.
[R1-GigabitEthernet0/0/0]quit
[R1]int g0/0/1
[R1-GigabitEthernet0/0/1]ip add 10.0.12.1 24
Error: The address already exists.
[R1-GigabitEthernet0/0/1]quit
[R1]int loopback 0
[R1-LoopBack0]ip add 10.0.1.1 24
R2:
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname R2
[R2]
Mar 27 2022 11:20:17-08:00 R2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 1, the ch
ange loop count is 0, and the maximum number of records is 4095.
[R2]int g0/0/1
[R2-GigabitEthernet0/0/1]ip add 10.0.12.2 24
[R2-GigabitEthernet0/0/1]
Mar 27 2022 11:20:57-08:00 R2 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
Mar 27 2022 11:20:57-08:00 R2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 2, the ch
ange loop count is 0, and the maximum number of records is 4095.
[R2-GigabitEthernet0/0/1]quit
[R2]int g0/0/2
[R2-GigabitEthernet0/0/2]ip add 10.0.23.2 24
[R2-GigabitEthernet0/0/2]
Mar 27 2022 11:22:27-08:00 R2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 3, the ch
ange loop count is 0, and the maximum number of records is 4095.
[R2-GigabitEthernet0/0/2]quit
[R2]undo info-center enable
Info: Information center is disabled.
[R2]int loopback 0
[R2-LoopBack0]ip add 10.0.2.2 24
[R2-LoopBack0]quit
R3:
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname R3
[R3]
Mar 27 2022 11:27:27-08:00 R3 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 1, the ch
ange loop count is 0, and the maximum number of records is 4095.
[R3]undo info-center enable
Info: Information center is disabled.
[R3]int g0/0/2
[R3-GigabitEthernet0/0/2]ip add 10.0.23.3 24
[R3-GigabitEthernet0/0/2]quit
[R3]int g0/0/0
[R3-GigabitEthernet0/0/0]ip add 10.0.13.3
^
Error:Incomplete command found at '^' position.
[R3-GigabitEthernet0/0/0]ip add 10.0.13.3 24
[R3-GigabitEthernet0/0/0]quit
[R3]int loopback 0
[R3-LoopBack0]ip add 10.0.3.3 24
R1ping不到R2;但可以ping网段
二。
R2配到网段,到路由器的静态路由
配置备份静态路由
验证静态路由
验证备份静态路由
关闭R2的g0/0/2的端口伪装这条路坏掉