OSPF特殊区域之totally stub

totally stub区域特点

  • 过滤3、4、5类lsa
  • ABR上下发一条缺省路由
  • 在ABR上配置(stub no-summary)
  • ABR的区域上配置cost值,存在多个ABR时用于选路
#R2区域1修改为totally stub
[R2-ospf-1-area-0.0.0.1]stub no-summary 
#修改后邻居会中断,当邻居建立后,在R4上查看路由情况
[R4-ospf-1]dis ospf lsdb 

         OSPF Process 1 with Router ID 4.4.4.4
                 Link State Database 

                         Area: 0.0.0.1
 Type      LinkState ID    AdvRouter          Age  Len   Sequence   Metric
 Router    4.4.4.4         4.4.4.4              9  60    80000005    1562
 Router    2.2.2.2         2.2.2.2              9  48    80000005    1562
 Sum-Net   0.0.0.0         2.2.2.2             52  28    80000001       1

[R4-ospf-1]dis ip ro
[R4-ospf-1]dis ip routing-table  p o
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Public routing table : OSPF
         Destinations : 1        Routes : 1        

OSPF routing table status : <Active>
         Destinations : 1        Routes : 1

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        0.0.0.0/0   OSPF    10   1563        D   24.1.1.2        Serial0/0/1

OSPF routing table status : <Inactive>
         Destinations : 0        Routes : 0

[R4-ospf-1]
其中lsa3已经不存在了,只有一条lsa3缺省路由
所以在将一个区域配置为stub时,最好还是将其修改为totally stub区域
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值