Hi there,
I am a newbie to Fortigate firewalls.
Is there a way for Fortigate to manipulate the admin distance of a BGP route by a route map...
For example, if the route has a match-community of 65002:1, it leaves the attribute as-is.
But if the route has a match-community of 65030:1, then Fortigate will increases the route's administrative distance to 300.
Appreciate if anyone can shed some light on this.
Cheers,
H.
hi,
There is no ad value of 300. AD is local to a device, you may think of altering bgp attributes, weight, local pref, etc as needed. Technical Tip: Use BGP Weight attribute to prefer ... - Fortinet Community
Best regards,
Jin
Hello,
Just a side note, you can change the distance for BGP. But this is for whole BGP as protocol and this will reflect administrative distance in routing-table. But as Jin said, any preference manipulation should be done via BGP metrics - as-path, local pref, ...
config router bgp
set distance-external 20
set distance-internal 200
set distance-local 200
end
Only based on your description without knowing exactly why you want to manipulate precedence based on incoming communities, likely you just need to set local-references inside the BGP domain.
Toshi
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 |
---|---|
1740 | |
1108 | |
752 | |
447 | |
240 |
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.