mpls1# show bgp summary
% BGP instance not found
mpls1# quit
root@mpls1:~/gobgp# ls
gobgp_2.19.0_linux_arm64.tar.gz LICENSE README.md
root@mpls1:~/gobgp# vi /etc/gobgp/gobgpd.toml --------添加frr的zebra
[[neighbors]]
[neighbors.config]
neighbor-address = "192.168.122.205"
peer-as = 65000
local-as = 65000
[zebra]
[zebra.config]
enabled = true
url = "unix:/var/run/quagga/zserv.api"
redistribute-route-type-list = ["connect"]
version = 2
[global.config]
as = 65000
router-id = "192.168.122.2"
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"/etc/gobgp/gobgpd.toml" 14L, 331C written
root@mpls1:~/gobgp# systemctl restart gobgp
root@mpls1:~/gobgp# systemctl status gobgp
● gobgp.service - GoBGP daemon
Loaded: loaded (/etc/systemd/system/gobgp.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2020-08-21 09:10:52 +08; 4s ago
Process: 3875 ExecStart=/usr/local/bin/gobgpd -f /etc/gobgp/gobgpd.toml (code=exited, status=1/FAILURE)
Main PID: 3875 (code=exited, status=1/FAILURE)
Aug 21 09:10:52 mpls1 gobgpd[3875]: {"Topic":"Zebra","level":"warning","msg":"cannot connect to Zebra with message
Aug 21 09:10:52 mpls1 gobgpd[3875]: {"Topic":"Zebra","level":"warning","msg":"going to retry another version 4.","
Aug 21 09:10:52 mpls1 gobgpd[3875]: {"Topic":"Zebra","level":"warning","msg":"cannot connect to Zebra with message
Aug 21 09:10:52 mpls1 gobgpd[3875]: {"Topic":"Zebra","level":"warning","msg":"going to retry another version 5.","
Aug 21 09:10:52 mpls1 gobgpd[3875]: {"Topic":"Zebra","level":"warning","msg":"cannot connect to Zebra with message
Aug 21 09:10:52 mpls1 gobgpd[3875]: {"Topic":"Zebra","level":"warning","msg":"going to retry another version 6.","
Aug 21 09:10:52 mpls1 gobgpd[3875]: {"Topic":"Zebra","level":"warning","msg":"cannot connect to Zebra with message
Aug 21 09:10:52 mpls1 gobgpd[3875]: {"level":"fatal","msg":"failed to set zebra config: dial unix /var/run/quagga/
Aug 21 09:10:52 mpls1 systemd[1]: gobgp.service: Main process exited, code=exited, status=1/FAILURE
Aug 21 09:10:52 mpls1 systemd[1]: gobgp.service: Failed with result 'exit-code'.
root@mpls1:~/gobgp#