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

Re: donot advertise connected networks

$
0
0

In Juniper Direct routes is the equivalent of connected routes so you should reject those routes if you do not want to advertise them:

set policy-options policy-statement advertise-routes-through-rip term 0 from protocol direct
set policy-options policy-statement advertise-routes-through-rip term 0 then reject
set policy-options policy-statement advertise-routes-through-rip term 1 from interface [ fe-1/2/0.2 fe-1/2/1.5 ]
set policy-options policy-statement advertise-routes-through-rip term 1 from interface [ fe-1/2/0.2 fe-1/2/1.5 ]
=============================================================================
if you do not want to advertise connected routes from a specific interface like the lo0 then:

set policy-options policy-statement advertise-routes-through-rip term 0 from interface lo0.0
set policy-options policy-statement advertise-routes-through-rip term 0 from protocol direct
set policy-options policy-statement advertise-routes-through-rip term 0 then reject
set policy-options policy-statement advertise-routes-through-rip term 1 from interface [ fe-1/2/0.2 fe-1/2/1.5 ]
set policy-options policy-statement advertise-routes-through-rip term 1 from interface [ fe-1/2/0.2 fe-1/2/1.5 ]


Viewing all articles
Browse latest Browse all 8688

Trending Articles



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