User Tools

Site Tools


documentation:examples:bgp_route_reflector_and_confederation_using_quagga_and_bird

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
documentation:examples:bgp_route_reflector_and_confederation_using_quagga_and_bird [2019/08/10 15:29] – [Router 5] olivierdocumentation:examples:bgp_route_reflector_and_confederation_using_quagga_and_bird [2019/08/10 15:33] – [Router 7] olivier
Line 1054: Line 1054:
 sysrc ipsec_file="/etc/ipsec.conf" sysrc ipsec_file="/etc/ipsec.conf"
 sysrc frr_enable=YES sysrc frr_enable=YES
-service frr start 
 cat <<EOF > /etc/ipsec.conf cat <<EOF > /etc/ipsec.conf
 flush ; flush ;
Line 1063: Line 1062:
 EOF EOF
 service ipsec start service ipsec start
-cli +cat <<EOF > /usr/local/etc/frr/frr.conf 
-conf t+log syslog
 interface vtnet4 interface vtnet4
  ip address 10.0.4.6/24  ip address 10.0.4.6/24
  ipv6 address 2001:db8:4::6/64  ipv6 address 2001:db8:4::6/64
 +!
 interface vtnet5 interface vtnet5
  ip address 10.0.5.6/24  ip address 10.0.5.6/24
Line 1082: Line 1082:
  neighbor 2001:db8:5::7 remote-as 65535  neighbor 2001:db8:5::7 remote-as 65535
  neighbor 2001:db8:5::7 password abcdefgh  neighbor 2001:db8:5::7 password abcdefgh
 + !
  address-family ipv4 unicast  address-family ipv4 unicast
   network 10.0.5.0/24   network 10.0.5.0/24
Line 1091: Line 1092:
   no neighbor 2001:db8:5::7 activate   no neighbor 2001:db8:5::7 activate
  exit-address-family  exit-address-family
 + !
  address-family ipv6 unicast  address-family ipv6 unicast
   network 2001:db8:5::/64   network 2001:db8:5::/64
Line 1098: Line 1100:
   neighbor 2001:db8:5::7 next-hop-self   neighbor 2001:db8:5::7 next-hop-self
  exit-address-family  exit-address-family
- exit +EOF 
-exit +service frr start
-wr +
-exit+
 config save config save
 </code> </code>
Line 1164: Line 1164:
 sysrc ipsec_file="/etc/ipsec.conf" sysrc ipsec_file="/etc/ipsec.conf"
 sysrc frr_enable=YES sysrc frr_enable=YES
-service frr start 
 cat <<EOF > /etc/ipsec.conf cat <<EOF > /etc/ipsec.conf
 flush ; flush ;
Line 1173: Line 1172:
 EOF EOF
 service ipsec start service ipsec start
-cli +cat <<EOF > /usr/local/etc/frr/frr.conf 
-conf t+log syslog
 interface vtnet0 interface vtnet0
  ip address 10.0.7.7/24  ip address 10.0.7.7/24
  ipv6 address 2001:db8:7::7/64  ipv6 address 2001:db8:7::7/64
 +!
 interface vtnet5 interface vtnet5
  ip address 10.0.5.7/24  ip address 10.0.5.7/24
Line 1185: Line 1185:
  bgp confederation identifier 200  bgp confederation identifier 200
  bgp confederation peers 64512  bgp confederation peers 64512
 + no bgp default ipv4-unicast
  neighbor 10.0.5.6 remote-as 65535  neighbor 10.0.5.6 remote-as 65535
  neighbor 10.0.5.6 password abcdefgh  neighbor 10.0.5.6 password abcdefgh
  neighbor 2001:db8:5::6 remote-as 65535  neighbor 2001:db8:5::6 remote-as 65535
  neighbor 2001:db8:5::6 password abcdefgh  neighbor 2001:db8:5::6 password abcdefgh
 + !
  address-family ipv4 unicast  address-family ipv4 unicast
   network 10.0.5.0/24   network 10.0.5.0/24
Line 1194: Line 1196:
   neighbor 10.0.5.6 activate   neighbor 10.0.5.6 activate
   no neighbor 2001:db8:5::6 activate   no neighbor 2001:db8:5::6 activate
-  exit-address-family+ exit-address-family 
 + !
  address-family ipv6 unicast  address-family ipv6 unicast
   network 2001:db8:5::/64   network 2001:db8:5::/64
   network 2001:db8:7::/64   network 2001:db8:7::/64
   neighbor 2001:db8:5::6 activate   neighbor 2001:db8:5::6 activate
-  exit-address-family + exit-address-family 
- exit +EOF 
-exit +service frr start
-wr +
-exit+
 config save config save
 </code> </code>
documentation/examples/bgp_route_reflector_and_confederation_using_quagga_and_bird.txt · Last modified: 2021/03/22 21:15 by olivier

Except where otherwise noted, content on this wiki is licensed under the following license: BSD 2-Clause
Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki