ospf路由重分布
2014-05-26 13:34
260 查看
思科:
ip prefix-list ospf-driect seq 30 permit 10.30.0.0/16 le 32
ip prefix-list ospf-static seq 10 permit 10.0.0.0/16 le 32
ip prefix-list ospf-static seq 11 permit 10.1.0.0/16 le 32
ip prefix-list ospf-static seq 12 permit 10.2.0.0/16 le 32
ip prefix-list ospf-static seq 20 permit 10.101.0.0/16 le 32
ip prefix-list ospf-static seq 30 permit 10.30.0.0/16 le 32
ip prefix-list ospf-static seq 40 permit 10.40.0.0/16 le 32
ip prefix-list ospf-static seq 130 permit 10.130.0.0/16 le 32
route-map LX-ospf-driect permit 10
match ip address prefix-list ospf-driect
route-map LX-ospf-static permit 10
match ip address prefix-list ospf-static
router ospf 100
redistribute connected subnets route-map LX-ospf-driect
redistribute static subnets route-map LX-ospf-static
华三
ip ip-prefix ospf-static index 10 permit 10.0.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix ospf-static index 11 permit 10.1.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix ospf-static index 12 permit 10.2.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix ospf-static index 20 permit 10.101.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix ospf-static index 30 permit 10.30.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix ospf-static index 40 permit 10.40.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix ospf-static index 130 permit 10.130.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix ospf-static index 201 permit 10.201.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix ospf-static index 202 permit 10.202.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix ospf-static index 203 permit 10.203.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix ospf-static index 204 permit 10.204.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix ospf-static index 205 permit 10.205.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix ospf-static index 206 permit 10.206.0.0 16 greater-equal 16 less-equal 32
route-policy BGW-ospf-direct permit node 10
if-match ip-prefix ospf-direct
route-policy BGW-ospf-static permit node 10
if-match ip-prefix ospf-static
ospf 100 router-id 172.17.2.1
import-route direct route-policy BGW-ospf-direct
import-route static route-policy BGW-ospf-static
本文出自 “zhanguo1110” 博客,请务必保留此出处http://zhanguo1110.blog.51cto.com/5750817/1417144
ip prefix-list ospf-driect seq 30 permit 10.30.0.0/16 le 32
ip prefix-list ospf-static seq 10 permit 10.0.0.0/16 le 32
ip prefix-list ospf-static seq 11 permit 10.1.0.0/16 le 32
ip prefix-list ospf-static seq 12 permit 10.2.0.0/16 le 32
ip prefix-list ospf-static seq 20 permit 10.101.0.0/16 le 32
ip prefix-list ospf-static seq 30 permit 10.30.0.0/16 le 32
ip prefix-list ospf-static seq 40 permit 10.40.0.0/16 le 32
ip prefix-list ospf-static seq 130 permit 10.130.0.0/16 le 32
route-map LX-ospf-driect permit 10
match ip address prefix-list ospf-driect
route-map LX-ospf-static permit 10
match ip address prefix-list ospf-static
router ospf 100
redistribute connected subnets route-map LX-ospf-driect
redistribute static subnets route-map LX-ospf-static
华三
ip ip-prefix ospf-static index 10 permit 10.0.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix ospf-static index 11 permit 10.1.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix ospf-static index 12 permit 10.2.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix ospf-static index 20 permit 10.101.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix ospf-static index 30 permit 10.30.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix ospf-static index 40 permit 10.40.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix ospf-static index 130 permit 10.130.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix ospf-static index 201 permit 10.201.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix ospf-static index 202 permit 10.202.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix ospf-static index 203 permit 10.203.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix ospf-static index 204 permit 10.204.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix ospf-static index 205 permit 10.205.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix ospf-static index 206 permit 10.206.0.0 16 greater-equal 16 less-equal 32
route-policy BGW-ospf-direct permit node 10
if-match ip-prefix ospf-direct
route-policy BGW-ospf-static permit node 10
if-match ip-prefix ospf-static
ospf 100 router-id 172.17.2.1
import-route direct route-policy BGW-ospf-direct
import-route static route-policy BGW-ospf-static
本文出自 “zhanguo1110” 博客,请务必保留此出处http://zhanguo1110.blog.51cto.com/5750817/1417144
相关文章推荐
- 路由重分布之(rip&ospf)
- RIPv2的手工汇总 及其 RIPv2和OSPF的路由重分布
- EIGRP和OSPF的双向双点路由重分布
- CCNP-EIGRP&OSPF重分布和路由汇总
- RIP与OSPF路由重分布例子
- ospf默认路由重分布
- RIP&OSPF重分布例子(路由过渡)
- RIP与OSPF路由重分布
- 在Juniper olive中实现RIP和OSPF路由互重分布
- RIP&OSPF重分布例子(路由图)
- RIP&OSPF重分布例子(路由图)
- 路由重分布 rip,eigrp,和ospf
- 3.ospf与eigrp的路由重分布
- OSPF使用路由标记精确重分布
- 简单的路由重分布实验(rip和ospf重分布)
- ospf默认路由重分布
- 关于OSPF 默认路由的分布以及链路冗余并启用NAT
- rip与ospf路由重分布
- 路由重分布 rip,eigrp,和ospf
- OSPF多区域路由双向重分布