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

Re: How to disallow readvertise IBGP routes?

$
0
0
policy-statement NO-EXPORT 
term 1 {
            from {
                protocol bgp;
                route-type internal;
            }

        then reject;
}

and then add this policy before your normal one ( or merge)

 

bgp {
    group EBGP {
        type external;
        peer-as 2;
        neighbor 1.1.1.1 {
	    local-address 1.1.1.2;
            export [ NO-EXPORT  announce-prefix ];
        }
    }

 

regards

 

alexander


Viewing all articles
Browse latest Browse all 8688

Trending Articles



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