设为首页收藏本站language 语言切换
查看: 1765|回复: 1
收起左侧

[原创] CCIE实验-6.Redistribute综合实验解法

[复制链接]
发表于 2015-8-19 10:42:16 | 显示全部楼层 |阅读模式
重分布解法
http://bbs.hh010.com/forum.php?m ... ;page=1#pid11730183
R2-config
router eigrp 100
redistribute ospf 1 metric 10000 100 255 1 1500
router ospf 1
redistribute eigrp 100 subnets
R3-config
router eigrp 100
redistribute ospf 1 metric 10000 100 255 1 1500
router ospf 1
redistribute eigrp 100 subnets
R1-config
router eigrp 100
redistribute connected
interface s1/0
  no ip split-horizon eigrp 100
----------------------------------------------------------
R2-config
ip prefix-list NET_150 seq 5 permit 150.1.0.0/16 ge 32
router eigrp 100
distribute-list prefix NET_150 out ospf 1
router ospf 1
distribute-list prefix NET_150 out eigrp 100
R3-config
ip prefix-list NET_150 seq 5 permit 150.1.0.0/16 ge 32
router eigrp 100
distribute-list prefix NET_150 out ospf 1
router ospf 1
distribute-list prefix NET_150 out eigrp 100
-----------------------------------------------------------
R4-config
route-map OSPF->RIP permit 10
match ip address prefix-list NET_150
route-map RIP->OSPF permit 10
match ip address prefix-list NET_150
router ospf 1
redistribute rip subnets route-map RIP->OSPF
router rip
redistribute ospf 1 metric 1 route-map OSPF->RIP
R5-config
route-map OSPF->RIP permit 10
match ip address prefix-list NET_150
route-map RIP->OSPF permit 10
match ip address prefix-list NET_150
router ospf 1
redistribute rip subnets route-map RIP->OSPF
router rip
redistribute ospf 1 metric 1 route-map OSPF->RIP
-------------------------------------------------------------
R4-config
ip access-list standard R6_LOOPBACK0
permit 150.1.6.6
router rip
distance 105 10.1.46.6 0.0.0.0 R6_LOOPBACK0
R5-config
ip access-list standard R6_LOOPBACK0
permit 150.1.6.6
router ospf 1
distance 125 0.0.0.0 255.255.255.255 R6_LOOPBACK0
-------------------------------------------------------------
R6-config
ip access-list standard R2_R4_LOOPBACK0
permit 150.1.2.2
permit 150.1.4.4
ip access-list standard R3_R5_LOOPBACK0
permit 150.1.3.3
permit 150.1.5.5
router rip
offset-list R3_R5_LOOPBACK0 in 5 Serial1/0
offset-list R2_R4_LOOPBACK0 in 5 Serial1/1
-------------------------------------------------------------
R6-config
route-map PBR permit 10
match length 0 1499
set interface Serial1/0
route-map PBR permit 20
match length 1500 1999
set interface Serial1/1
route-map PBR permit 30
match length 2000 2147483647
set interface Null0
ip local policy-map PBR
-------------------------------------------------------------
R1-config
ip local policy route-map PBR
ip prefix-list NET_150 seq 5 permit 150.1.0.0/16 ge 32
ip prefix-list NON_FROM_R3 seq 5 deny 136.1.0.3/32
ip prefix-list NON_FROM_R3 seq 10 permit 0.0.0.0/0 le 32
router eigrp 100
distribute-list prefix NET_150 gateway NON_FROM_R3 in
-------------------------------------------------------------
R6-config
access-list 100 deny   ip host 10.1.46.4 host 150.1.2.2
access-list 100 deny   ip host 10.1.56.5 host 150.1.3.3
access-list 100 permit ip any any
router rip
distribute-list 100 in
-------------------------------------------------------------
R2-config
route-map EIGRP->OSPF permit 10
set tag 2
route-map OSPF->EIGRP deny 10
match tag 3
route-map OSPF->EIGRP permit 20
router eigrp 100
redistribute ospf 1 metric 10000 100 255 1 1500 route-map OSPF->EIGRP
router ospf 1
redistribute eigrp 100 subnets route-map EIGRP->OSPF
R3-config
route-map EIGRP->OSPF permit 10
set tag 3
route-map OSPF->EIGRP deny 10
match tag 2
route-map OSPF->EIGRP permit 20
router eigrp 100
redistribute ospf 1 metric 10000 100 255 1 1500 route-map OSPF->EIGRP
router ospf 1
redistribute eigrp 1 subnets route-map EIGRP->OSPF
---------------------------------------------------------------------------
R4-config
ip prefix-list NET_150 seq 5 permit 150.1.0.0/16 ge 32
router ospf 1
area 24 filter-list prefix NET_150 out
R5-config
ip prefix-list NET_150 seq 5 permit 150.1.0.0/16 ge 32
router ospf 1
area 0 filter-list prefix NET_150 in
---------------------------------------------------------------------------
R2-config
route-map NET_150 permit 10
match ip address prefix-list NET_150
router eigrp 100
eigrp stub connected redistributed leak-map NET_150
router ospf 1
area 24 nssa
R3-config
route-map NET_150 permit 10
match ip address prefix-list NET_150
router eigrp 100
eigrp stub connected redistributed leak-map NET_150
router ospf 1
area 35 nssa
R4-config
router ospf 1
area 24 nssa translate type7 suppress-fa
R5-config
router ospf 1
area 35 nssa translate type7 suppress-fa
---------------------------------------------------------------------------
R1-config
ip access-list extended FROM_R1_R3
permit ip host 150.1.1.1 host 150.1.3.3
route-map PBR permit 10
match ip address FROM_R1_R3
set ip next-hop verify-availability 136.1.0.3 1 track 3
set ip default next-hop 136.1.0.2
ip local policy route-map PBR







发表于 2016-7-22 00:09:15 | 显示全部楼层
感謝您的分享
沙发 2016-7-22 00:09:15 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-3 18:00 , Processed in 0.055815 second(s), 12 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表