9 IGP路由配置 - 图文

更新时间:2024-04-20 03:54:01 阅读量: 综合文库 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

Ospf部分

1. 在SW2 SW3 RT2 RT3上配置ospf进程110,编号如图,22 33配置为末节区域,只network设备互连网段和loopback口地址,各vlan路由通过直连接口引入来发布。 2. ospf所有区域配置认证 采用简单明文的方式,验证口令为123456. 3. SW2与SW3上不出现vlan10 vlan20 vlan30 vlan40报文。

4. RT2 RT3上配置OSPF在NSSA区域发布缺省,并SW2 SW3都只能获得缺省路由。 5. 配置RT2 RT3互连链路类型为P2P,ospf Hello报文发送间隔为1s,ospf的计算时间间隔为100毫秒,用来加快ospf收敛

Rip部分

6. 在SW1 RT2 RT3 上配置Ripv2,进程为1,只发布设备间直连网段,vlan网段用直连

网段引入来解决。

7. 配置RIPv2的报文认证,采用简单明文的验证方式,验证口令为123456。 8. 要求用户终端上不得出现rip协议报文。

9. RT2 RT3上配置rip发布缺省路由,并设定RT3所发布的缺省路由的metric值为2. 10. 对RT2-SW1-RT3之间配置BFD双向检测,加快rip的收敛速度(bfd发送/接收间隔为

300ms,bfd检测时间为4)

Ospf与rip引入

11. 在RT2 RT3上配置rip和ospf的相互引入,以提供全网互通(其中,rip引入ospf时,

外部引入度量值为50,并计算内部消耗;ospf引入rip时,度量值为5) SW1 rip 1

undo summary //关闭自动聚合 version 2

network 10.0.0.0 network 9.0.0.0 network 172.16.0.0 network 192.16.3.0 network 192.168.2.0

silent-interface Vlan-interface100 silent-interface Vlan-interface200 silent-interface Vlan-interface300 silent-interface Vlan-interface400 import-route direct //引入直连 QUI

interface GigabitEthernet1/0/25

rip authentication-mode simple plain 123456 interface GigabitEthernet1/0/26

rip authentication-mode simple plain 123456 SW2

ospf 110 router-id 9.9.9.202 import-route direct //引入直连

silent-interface Vlan-interface10 silent-interface Vlan-interface20 silent-interface Vlan-interface30 silent-interface Vlan-interface40 spf-schedule-interval 5 100 200 //ospf的计算时间间隔为100毫秒 area 22

authentication-mode simple

//认证模式为明文(密码设置在具体的端口下) network 9.9.9.202 0.0.0.0 network 10.0.0.8 0.0.0.3 nssa //末节区域

interface Ethernet1/0/22

ospf authentication-mode simple plain 123456 //认证模式为明文,密码为123456 ospf timer hello 1 //hello时间为1s

ospf network-type p2p //ospf网络类型为p2p SW3

ospf 110 router-id 9.9.9.203 import-route direct

silent-interface Vlan-interface10 silent-interface Vlan-interface20 silent-interface Vlan-interface30 silent-interface Vlan-interface40 spf-schedule-interval 5 100 200 area 33

authentication-mode simple network 9.9.9.203 0.0.0.0 network 10.0.0.12 0.0.0.3 nssa

interface Ethernet1/0/22

ospf authentication-mode simple plain 123456 ospf timer hello 1 ospf network-type p2p RT2

ospf 110 router-id 9.9.9.2

import-route rip 1 cost 50 type 1

//rip引入ospf,引入度量值为50 (这里修改了类型,默认类型为2,题目没有要求修改) spf-schedule-interval 5 100 200 area 0

authentication-mode simple plain 123456 network 9.9.9.2 0.0.0.0 network 10.0.0.16 0.0.0.3 area 22

authentication-mode simple plain 123456 network 10.0.0.8 0.0.0.3

nssa default-route-advertise no-summary

//发布一条缺省路由,并且转变为完全末节区域,抑制外来路由

interface Serial3/0 ospf timer hello 1 ospf network-type p2p rip 1

undo summary

default-route originate cost 2 version 2

network 9.0.0.0 network 10.0.0.0

import-route ospf 110 cost 5

interface GigabitEthernet0/0

rip authentication-mode simple plain 123456 rip bfd enable

bfd min-transmit-interval 300 bfd min-receive-interval 300 bfd detect-multiplier 4

RT3

ospf 110 router-id 9.9.9.3

import-route rip 1 cost 50 type 1 spf-schedule-interval 5 100 200 area 0

authentication-mode simple plain 123456 network 9.9.9.3 0.0.0.0 network 10.0.0.16 0.0.0.3 area 33

authentication-mode simple plain 123456 network 10.0.0.12 0.0.0.3

nssa default-route-advertise no-summary

interface Serial3/0 ospf timer hello 1 ospf network-type p2p rip 1

undo summary

default-route originate cost 2 version 2

network 9.0.0.0 network 10.0.0.0

import-route ospf 110 cost 5

interface GigabitEthernet0/0

rip authentication-mode simple plain 123456 rip bfd enable

bfd min-transmit-interval 300 bfd min-receive-interval 300 bfd detect-multiplier 4

本文来源:https://www.bwwdw.com/article/wdvp.html

Top