Chapter 2 Advanced Routing for FortiOS 5.0 : Border Gateway Protocol (BGP) : Dual-homed BGP example : Configuring the FortiGate unit : Add BGP neighbor information
  
Add BGP neighbor information
The configuration will not work unless you set Remote AS neighbors. This can be done in either the web-based manager or the CLI.
To configure the BGP neighbors - web-based manager
1. Go to Router > Dynamic > BGP.
2. Add a Neighbors IP of 172.21.111.4 with the Remote AS set to 650001, then click Add/Edit.
3. Add another Neighbors IP of 172.22.222.4 with the Remote AS set to 650002, then click Add/Edit.
To configure the BGP neighbors - CLI
config router BGP
set as 1
config neighbor
edit “172.21.111.4”
set remote-as 650001
next
edit “172.22.222.4”
set remote-as 650002
next
end
end