日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

36、重分布配置实验之route-map

發(fā)布時(shí)間:2024/4/17 编程问答 38 豆豆
生活随笔 收集整理的這篇文章主要介紹了 36、重分布配置实验之route-map 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

1、route-map解析


2、實(shí)驗(yàn)拓?fù)?/p>

3、實(shí)驗(yàn)配置

R1配置

interface Serial0/0

?ip address 12.1.1.1 255.255.255.0

interface Serial0/1

?ip address 13.1.1.1 255.255.255.0

interface Serial0/2

?ip address 14.1.1.1 255.255.255.0

router eigrp 90

?redistribute ospf 110 metric 1500 100 255 1 1500

?network 14.1.1.0 0.0.0.255

?no auto-summary

router ospf 110

?router-id 1.1.1.1

?log-adjacency-changes

?redistribute rip subnets

?network 13.1.1.0 0.0.0.255 area 0

router rip

?version 2

?network 12.0.0.0

?no auto-summary


R2配置

interface Loopback0

?ip address 2.2.2.2 255.255.255.0

interface Loopback22

?ip address 22.22.22.22 255.255.255.0

interface Loopback222

?ip address 222.222.222.222 255.255.255.0

interface Serial0/0

?ip address 12.1.1.2 255.255.255.0

router rip

?version 2

?network 2.0.0.0

?network 22.0.0.0

?network 222.222.222.0

?network 12.0.0.0

?no auto-summary


R3配置

interface Loopback0

?ip address 3.3.3.3 255.255.255.0

interface Serial0/0

?ip address 13.1.1.3 255.255.255.0

router ospf 110

?router-id 3.3.3.3

?log-adjacency-changes

?network 3.3.3.0 0.0.0.255 area 0

?network 13.1.1.0 0.0.0.255 area 0


R4配置

interface Loopback0

?ip address 4.4.4.4 255.255.255.0

interface Serial0/0

?ip address 14.1.1.4 255.255.255.0

router eigrp 90

?network 4.4.4.0 0.0.0.255

?network 14.1.1.0 0.0.0.255

?no auto-summary


此時(shí)R3學(xué)到4外部路由,我們希望作如下修改。

222.222.222.0/24????修改為E1

2.2.2.0/24????????? 修改Default Seed Metrics為10

22.22.22.0/24????? ?deny掉,permit any


R1配置

ip prefix-list 222 seq 5 permit 222.222.222.0/24

access-list 2 permit 2.2.2.0 0.0.0.255

access-list 22 permit 22.22.22.0 0.0.0.255


route-map RM permit 10

?match ip address prefix-list 222

?set metric-type type-1

route-map RM permit 20

?match ip address 2

?set metric 10

route-map RM deny 30

?match ip address 22

route-map RM permit 40


router ospf 110

?redistribute rip subnets route-map RM



可以看到結(jié)果與我們的需求一致。






? ? ? 本文轉(zhuǎn)自開源殿堂 51CTO博客,原文鏈接:http://blog.51cto.com/kaiyuandiantang/1719611,如需轉(zhuǎn)載請(qǐng)自行聯(lián)系原作者




總結(jié)

以上是生活随笔為你收集整理的36、重分布配置实验之route-map的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。