13-高级路由:OSPF DR BDR实验

一、实验拓扑:
13-高级路由:OSPF DR BDR实验
二、命令部署:

三、验证:
R3#show ip ospf neighbor 查看DR、BDR
R1#clear ip ospf process 清除OSPF进程

R1(config)#int f0/0
R1(config-if)#ip ospf priority 10 修改优先级

注意:增加R6,如果把200.1.1.6通告进入area 0,那么R6就是新的DR;
如果通告进area 1,那么R6是200.1.1.0的DR,R5是200.1.1.0的BDR;
这样结果,R5既是DR又是BDR,只不过在不同的网段。

1、验证:重启后/清除进程后
R1#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
2.2.2.2 1 2WAY/DROTHER 00:00:32 100.1.1.2 FastEthernet0/0
3.3.3.3 1 2WAY/DROTHER 00:00:32 100.1.1.3 FastEthernet0/0
4.4.4.4 1 FULL/BDR 00:00:34 100.1.1.4 FastEthernet0/0
5.5.5.5 1 FULL/DR 00:00:35 100.1.1.5 FastEthernet0/0
2、验证:R1增加优先级重启后
R2#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
1.1.1.1 10 FULL/DR 00:00:36 100.1.1.1 FastEthernet0/0
3.3.3.3 1 2WAY/DROTHER 00:00:36 100.1.1.3 FastEthernet0/0
4.4.4.4 1 2WAY/DROTHER 00:00:36 100.1.1.4 FastEthernet0/0
5.5.5.5 1 FULL/BDR

R1(config)#int f0/0
R1(config-if)#shutdown
R2#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
3.3.3.3 1 2WAY/DROTHER 00:00:30 100.1.1.3 FastEthernet0/0
4.4.4.4 1 FULL/BDR 00:00:34 100.1.1.4 FastEthernet0/0
5.5.5.5 1 FULL/DR 00:00:34 100.1.1.5 FastEthernet0/0
3、R3、R4把优先级改为0后
R4(config)#int f0/0
R4(config-if)#ip ospf priority 0
R3(config)#int f0/0
R3(config-if)#ip ospf priority 0

R2#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
3.3.3.3 0 FULL/DROTHER 00:00:34 100.1.1.3 FastEthernet0/0
4.4.4.4 0 FULL/DROTHER 00:00:35 100.1.1.4 FastEthernet0/0
5.5.5.5 1 FULL/DR
4、增加R6后:
R2#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
3.3.3.3 0 FULL/DROTHER 00:00:38 100.1.1.3 FastEthernet0/0
4.4.4.4 0 FULL/DROTHER 00:00:38 100.1.1.4 FastEthernet0/0
5.5.5.5 1 FULL/DR 00:00:39 100.1.1.5 FastEthernet0/0

R6#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
5.5.5.5 1 FULL/BDR 00:00:34 200.1.1.5 FastEthernet0/0

13-高级路由:OSPF DR BDR实验

转载于:https://blog.51cto.com/13856092/2137511

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值