您的位置:首页 > 其它

OSPF特殊区域之totally stub

2015-08-28 23:50 513 查看
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区域
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: