首页 > 其他 > 详细

gobgp + frr

时间:2020-08-21 11:12:34      阅读:111      评论:0      收藏:0      [点我收藏+]

 

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# 

 

gobgp + frr

原文:https://www.cnblogs.com/dream397/p/13539202.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!