配置静态路由 ENSP

 

 基础配置

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的端口伪装这条路坏掉

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值