21 lines
430 B
Plaintext
21 lines
430 B
Plaintext
log file /var/log/frr/bgpd.log
|
|
!
|
|
!
|
|
router bgp ${FRR_AS}
|
|
bgp router-id ${FRR_IP}
|
|
neighbor calico peer-group
|
|
neighbor calico remote-as ${CALICO_AS}
|
|
bgp listen range 0.0.0.0/0 peer-group calico
|
|
!
|
|
address-family ipv4 unicast
|
|
neighbor calico route-map calico-node-fix-same-as out
|
|
exit-address-family
|
|
!
|
|
route-map calico-node-fix-same-as permit 100
|
|
set as-path exclude ${CALICO_AS}
|
|
set as-path prepend ${FRR_AS}
|
|
!
|
|
line vty
|
|
!
|
|
|