quagga 部署启动BGP
参考链接:https://blog.laoliu.eu.org/archives/e3c95af8.html
安装quagga:
centos: yum install quagga -y 查看安装: [root@master ~]# rpm -qa | grep quagga quagga-0.99.23.xxx.x86_64
配置:
[root@master ~]# cat /etc/quagga/bgpd.conf router bgp 101 bgp router-id 1.1.1.100 neighbor 1.1.1.101 remote-as 100 neighbor 1.1.1.102 remote-as 100 neighbor 1.1.1.103 remote-as 100
启动:
/etc/init.d/zebra restart
/etc/init.d/bgpd restart
查看bgp邻居:
# vtysh
# show ip bgp neighbor