Hello,
I am trying to redistribute static routes into bgp between two fortigates, but i don't want default-to be advertised.
I thought this command is responsible for enabling/disabling def-route advertisiment, and in my config it is set to
"set capability-default-originate disable"
but i am still getting default route.
so only option to solve this is route-map, prefix-list filter ?
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
You are correct, Fortigate will redistribute all routes of a kind you tell him to + routes learned dynamically from other BGP peers. I.e. if you enable redistribute static - it will redistribute ALL static routes configured on it, unless of course you set route-map either in redistribute static clause or on BGP peer in outgoing direction. So if you have default route as static, enabling static routes redistribute will advertise it as well, unless filtered out with a route-map/prefix list.
That is all the beauty of BGP - full control over learning/advertising process, in OSPF e.g. you can't filter anything from learning, only control installing routes in the RIB.
Yes
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1712 | |
1093 | |
752 | |
447 | |
231 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.