Quantcast
Channel: All Routing posts
Viewing all articles
Browse latest Browse all 8688

Re: How to redistribute bgp into ospf with different area.

$
0
0

Agree with Ashwin.

 

Below are the configs:

 

R1

 


set policy-options policy-statement ADV_BGP_TO_OSPF term Default-Route from protocol bgp
set policy-options policy-statement ADV_BGP_TO_OSPF term Default-Route from route-filter 0.0.0.0/0 exact
set policy-options policy-statement ADV_BGP_TO_OSPF term Default-Route then accept
set policy-options policy-statement ADV_BGP_TO_OSPF term rest then reject

 

R3 


set policy-options policy-statement filter-default term Default-Route from route-filter 0.0.0.0/0 exact
set policy-options policy-statement filter-default term Default-Route then reject

 

[edit]
R3

 

R3 show protocols ospf


import filter-default;
area 0.0.0.18 {
interface ge-0/0/1.0;
interface lo0.0;
}


R3 commit
commit complete

[edit]


Viewing all articles
Browse latest Browse all 8688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>