Routing Question: Download Questions PDF
How to filter out the default route from outgoing BGP advertisements?
![Routing Interview Answer Routing Interview Question](https://globalguideline.com/public/images/interview/4.png)
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
/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 Question | Next Question |
How does /ip route check-gateway work? | What is Routing? |