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

OSPF to BGP redistribution route-filter

$
0
0

I want to export all of my ospf routes into bgp except for 172.16.0.0/16. I have tried the following config, but it is not working. Any suggestions?

 

policy-options {
   policy-statement ospf-to-bgp {
        term ospf-area0 {
            from {
                protocol ospf;
                route-filter 172.16.0.0/12 orlonger reject;
           }
        then accept;
        }
    }
}


Viewing all articles
Browse latest Browse all 8688

Latest Images

Trending Articles



Latest Images

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