and the solution via CLI is to configure the 2 same AS between quotation marks.
My FG configuration is:
config router route-map edit "RM_toUNTRUST-ZONE" set comments "BGP Peering to UNTRUST ZONE" config rule edit 1 set set-aspath "65007 65007" set set-community "1555:2013"
And the BGP configuration:
config router bgp set as 65007 set router-id 172.26.1.1 config neighbor edit "172.26.1.14" set soft-reconfiguration enable set interface "OUT_LINK_VL101" set remote-as 1555 set route-map-out "RM_toUNTRUST-ZONE" next end config network edit 1 set prefix 172.25.1.0 255.255.255.240 next end config redistribute "static" set status enable set route-map "RM_STATIC-2-BGP" end
On Cisco router I have both AS prepend to the routes advertised by Fortigate:
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.