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
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 [2021/03/22 21:15] (current) – [Router 7] olivier
Line 870: Line 870:
  bgp confederation identifier 200  bgp confederation identifier 200
  bgp confederation peers 65535  bgp confederation peers 65535
 + no bgp ebgp-requires-policy
  no bgp default ipv4-unicast  no bgp default ipv4-unicast
  neighbor 10.0.2.3 remote-as 100  neighbor 10.0.2.3 remote-as 100
Line 967: Line 968:
  bgp confederation identifier 200  bgp confederation identifier 200
  bgp confederation peers 65535  bgp confederation peers 65535
 + no bgp ebgp-requires-policy
  no bgp default ipv4-unicast  no bgp default ipv4-unicast
  neighbor 10.0.3.4 remote-as 64512  neighbor 10.0.3.4 remote-as 64512
Line 1054: Line 1056:
 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 1064:
 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 1075: Line 1077:
  bgp confederation identifier 200  bgp confederation identifier 200
  bgp confederation peers 64512  bgp confederation peers 64512
 + no bgp ebgp-requires-policy
  no bgp default ipv4-unicast  no bgp default ipv4-unicast
  neighbor 10.0.4.5 remote-as 64512  neighbor 10.0.4.5 remote-as 64512
Line 1082: Line 1085:
  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 1095:
   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 1103:
   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 1167:
 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 1175:
 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 1188:
  bgp confederation identifier 200  bgp confederation identifier 200
  bgp confederation peers 64512  bgp confederation peers 64512
 + no bgp ebgp-requires-policy
 + 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 1200:
   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.1565443743.txt.gz · Last modified: 2019/08/10 15:29 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