# config router bgpThe result should be as follow:
set as 65001
set router-id 10.10.10.10
config neighbor
edit "10.20.20.75"
set remote-as 65002
next
end
config network
edit 1
set prefix 10.132.0.0 255.255.240.0
next
end
config redistribute "connected"
set status enable
set route-map "Route-Redistribute-RouteMAP"
end
config redistribute "rip"
end
config redistribute "ospf"
set status enable
set route-map "Route-Redistribute-RouteMAP"
end
config redistribute "static"
end
config redistribute "isis"
end
config redistribute6 "connected"
end
config redistribute6 "rip"
end
config redistribute6 "ospf"
end
config redistribute6 "static"
end
config redistribute6 "isis"
end
end
# config router route-map
edit "Route-Redistribute-RouteMAP"
config rule
edit 1
set match-ip-address " prefix-list-redistribute "
set set-aspath "65001 65001 65001"
next
end
next
end
# config router prefix-list
edit "prefix-list-redistribute"
config rule
edit 1
set prefix 10.139.0.0 255.255.240.0
unset ge
unset le
next
edit 2
set prefix 10.138.0.0 255.255.240.0
unset ge
unset le
next
end
next
end
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.