4.2 DR、BDR选举

1.查看R1、R2之间DR和BDR信息

<R1>display ospf peer 
         OSPF Process 1 with Router ID 1.1.1.1
                 Neighbors 
 Area 0.0.0.0 interface 12.1.1.1(GigabitEthernet0/0/0)'s neighbors
 Router ID: 2.2.2.2          Address: 12.1.1.2        
   State: Full  Mode:Nbr is  Master  Priority: 1
   DR: 12.1.1.1  BDR: 12.1.1.2  MTU: 0    
   Dead timer due in 33  sec 
   Retrans timer interval: 5 
   Neighbor is up for 00:16:07     
   Authentication Sequence: [ 0 ] 

2.修改R1接口优先级

[R1]interface GigabitEthernet 0/0/0
[R1-GigabitEthernet0/0/0]ospf  dr-priority 10

3.修改R2查看邻居信息

<R2>display ospf peer 
         OSPF Process 1 with Router ID 2.2.2.2
                 Neighbors 
 Area 0.0.0.0 interface 12.1.1.2(GigabitEthernet0/0/0)'s neighbors
 Router ID: 1.1.1.1          Address: 12.1.1.1        
   State: Full  Mode:Nbr is  Slave  Priority: 10
   DR: 12.1.1.1  BDR: 12.1.1.2  MTU: 0    
   Dead timer due in 35  sec 
   Retrans timer interval: 5 
   Neighbor is up for 00:19:56     
   Authentication Sequence: [ 0 ] 
© 版权声明
THE END
喜欢就支持一下吧
点赞15 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称

    请登录后查看评论内容