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# 
  • 相关阅读:
    网站链接
    CSS 初始化
    常见浏览器+浏览器内核
    sublime及其插件的安装
    数码时钟.js
    每天迁移MySQL历史数据到历史库Python脚本
    python和redis简单交互
    python和mongodb简单交互
    python3与mysql交互
    Red Hat Enterprise Linux 7.2修改主机名(hostname)
  • 原文地址:https://www.cnblogs.com/dream397/p/13539202.html
Copyright © 2011-2022 走看看