• 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# 
  • 相关阅读:
    POJ 1936 All in All
    Blue Jeans POJ 3080 寻找多个串的最长相同子串
    Spell checker POJ 1035 字符串
    密码锁
    luogu P1083 借教室
    BZOJ 1588: [HNOI2002]营业额统计
    BZOJ 1433: [ZJOI2009]假期的宿舍
    luogu P1231 教辅的组成
    luogu P2756 飞行员配对方案问题
    luogu P3386 【模板】二分图匹配
  • 原文地址:https://www.cnblogs.com/dream397/p/13539202.html
Copyright © 2020-2023  润新知