20、OSPF配置實驗之特殊地區stub

來源:互聯網
上載者:User

標籤:20、ospf配置實驗之特殊地區stub

1、特殊地區stub解析

地區類型 作用 是否下發預設路由 備忘
stub 過濾LSA4、LSA5 ABR預設下發3類預設路由,seed cost值為1 本地區所有路由器都必須配置成stub,否則鄰居起不來,且不能包含ASBR


2、實驗拓撲

650) this.width=650;" src="http://s5.51cto.com/wyfs02/M02/76/C6/wKioL1ZcHs_hy9CUAABHUUOfk9U909.png" title="stub1.png" alt="wKioL1ZcHs_hy9CUAABHUUOfk9U909.png" />

3、實驗配置

R1配置

interface Loopback0

 ip address 1.1.1.1 255.255.255.0

interface Serial0/0

 ip address 12.1.1.1 255.255.255.0

router ospf 110

 router-id 1.1.1.1

 network 12.1.1.0 0.0.0.255 area 2


R2配置

interface Loopback0

 ip address 2.2.2.2 255.255.255.0

interface Serial0/0

 ip address 12.1.1.2 255.255.255.0

interface Serial0/1

 ip address 23.1.1.2 255.255.255.0router ospf 110

 router-id 2.2.2.2

 network 12.1.1.0 0.0.0.255 area 2

 network 23.1.1.0 0.0.0.255 area 0


R3配置

interface Loopback0

 ip address 3.3.3.3 255.255.255.0

interface Serial0/0

 ip address 34.1.1.3 255.255.255.0

interface Serial0/1

 ip address 23.1.1.3 255.255.255.0router ospf 110

 router-id 3.3.3.3

 network 23.1.1.0 0.0.0.255 area 0

 network 34.1.1.0 0.0.0.255 area 1


R4配置

interface Loopback0

 ip address 4.4.4.4 255.255.255.0

interface Serial0/0

 ip address 34.1.1.4 255.255.255.0

interface Serial0/1

 ip address 45.1.1.4 255.255.255.0

router ospf 110

 router-id 4.4.4.4

 redistribute rip subnets

 network 34.1.1.0 0.0.0.255 area 1


R5配置

interface Loopback0

 ip address 5.5.5.5 255.255.255.0

interface Serial0/1

 ip address 45.1.1.5 255.255.255.0

 serial restart-delay 0

router rip

 version 2

 network 5.0.0.0

 network 45.0.0.0

 no auto-summary


4、實驗驗證

過濾LSA4、LSA4

配置stub前

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/76/C6/wKioL1ZcID2yXy1vAABGFKW4R20698.png" title="stu.png" alt="wKioL1ZcID2yXy1vAABGFKW4R20698.png" />配置stub後

650) this.width=650;" src="http://s1.51cto.com/wyfs02/M00/76/C6/wKiom1ZcIOzwWsO3AAAS0Qq3IRs956.png" style="float:none;" title="stub1.png" alt="wKiom1ZcIOzwWsO3AAAS0Qq3IRs956.png" />

650) this.width=650;" src="http://s1.51cto.com/wyfs02/M00/76/C6/wKioL1ZcIVGzPveMAAASwrSkLis444.png" style="float:none;" title="stub2.png" alt="wKioL1ZcIVGzPveMAAASwrSkLis444.png" />

650) this.width=650;" src="http://s2.51cto.com/wyfs02/M01/76/C7/wKiom1ZcIO2j6zvhAAAzvMsF6Vc005.png" style="float:none;" title="stub3.png" alt="wKiom1ZcIO2j6zvhAAAzvMsF6Vc005.png" />

ABR下放3類預設路由

650) this.width=650;" src="http://s4.51cto.com/wyfs02/M00/76/C6/wKioL1ZcIXuArUVGAABOsTHIoBo708.png" style="float:none;" title="stub4.png" alt="wKioL1ZcIXuArUVGAABOsTHIoBo708.png" />

650) this.width=650;" src="http://s4.51cto.com/wyfs02/M02/76/C6/wKioL1ZcIXzg99oWAABG391iLYw429.png" style="float:none;" title="stub5.png" alt="wKioL1ZcIXzg99oWAABG391iLYw429.png" />


本文出自 “開源殿堂” 部落格,請務必保留此出處http://kaiyuandiantang.blog.51cto.com/10699754/1718287

20、OSPF配置實驗之特殊地區stub

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.