zoukankan      html  css  js  c++  java
  • gobgp + frr

    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# 
  • 相关阅读:
    读后感之—寒门学子重要选择-程序员
    架构中的分而治之
    如何从码农进化到项目管理者
    饿了么架构
    简单理解支付宝和蚂蚁花呗的架构
    架构小谈之美团外卖
    漫谈架构总结之1500
    平台基本信息项目目标文档
    第六学期每周总结-第三周
    质量管理之可用性战术分析
  • 原文地址:https://www.cnblogs.com/dream397/p/13539202.html
Copyright © 2011-2022 走看看