BGP neighbor password
A BGP neighbor password is used for the neighbor range. Once a BGP group is configured, it uses a password to establish the neighborhood.
config router bgp config neighbor-group edit <name> set password <password> next end end
To configure the BGP group:
-
Configure the R3 FortiGate settings:
config router bgp config neighbor-group edit "FGT" set soft-reconfiguration enable set remote-as 65050 set local-as 65518 set local-as-no-prepend enable set local-as-replace-as enable set route-map-in "del-comm" set keep-alive-timer 30 set holdtime-timer 90 set update-source "npu0_vlink0" set weight 1000 set password ENC ******** next end config neighbor-range edit 1 set prefix 172.16.201.0 255.255.255.0 set max-neighbor-num 10 set neighbor-group "FGT" next end end
-
Configure the R4 router settings:
config router bgp config neighbor edit "172.16.201.1" set soft-reconfiguration enable set remote-as 65518 set password ******** next end end