Routing Question:
Download Questions PDF

How to filter out the default route from outgoing BGP advertisements?

Routing Interview Question
Routing Interview Question

Answer:

Assuming you have a static default route that is redistributed because redistribute-static parameter is set to yes, do the following:

/routing filter add chain=myfilter prefix=0.0.0.0/0 action=discard

Then set myfilter as the out-filter for BGP instance

/routing bgp instance set default out-filter=myfilter

Download Routing Interview Questions And Answers PDF

Previous QuestionNext Question
How does /ip route check-gateway work?What is Routing?