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

Next revision
Previous revision
documentation:examples:bgp_route_reflector_and_confederation_using_quagga_and_bird [2018/10/22 10:42]
127.0.0.1 external edit
documentation:examples:bgp_route_reflector_and_confederation_using_quagga_and_bird [2019/08/10 15:33] (current)
olivier [Router 7]
Line 851: Line 851:
 sysrc ipsec_enable=YES sysrc ipsec_enable=YES
 sysrc ipsec_file="/​etc/​ipsec.conf"​ sysrc ipsec_file="/​etc/​ipsec.conf"​
-service frr start 
 cat <<EOF > /​etc/​ipsec.conf cat <<EOF > /​etc/​ipsec.conf
 flush ; flush ;
Line 860: Line 859:
 EOF EOF
 service ipsec start service ipsec start
-cli +cat > /​usr/​local/​etc/​frr/​frr.conf <<EOF
-conf t+
 interface vtnet2 interface vtnet2
  ip address 10.0.2.4/24  ip address 10.0.2.4/24
Line 879: Line 877:
  ​neighbor 2001:​db8:​2::​3 password abigpassword  ​neighbor 2001:​db8:​2::​3 password abigpassword
  ​neighbor 2001:​db8:​3::​5 remote-as 64512  ​neighbor 2001:​db8:​3::​5 remote-as 64512
 + !
  ​address-family ipv4 unicast  ​address-family ipv4 unicast
   network 10.0.3.0/24   network 10.0.3.0/24
 +  neighbor 10.0.2.3 activate
   neighbor 10.0.3.5 activate   neighbor 10.0.3.5 activate
   neighbor 10.0.3.5 next-hop-self   neighbor 10.0.3.5 next-hop-self
-  neighbor 10.0.2.3 activate 
   no neighbor 2001:​db8:​2::​3 activate   no neighbor 2001:​db8:​2::​3 activate
   no neighbor 2001:​db8:​3::​5 activate   no neighbor 2001:​db8:​3::​5 activate
  ​exit-address-family  ​exit-address-family
 + !
  ​address-family ipv6 unicast  ​address-family ipv6 unicast
   network 2001:​db8:​3::/​64   network 2001:​db8:​3::/​64
Line 893: Line 893:
   neighbor 2001:​db8:​3::​5 next-hop-self   neighbor 2001:​db8:​3::​5 next-hop-self
  ​exit-address-family  ​exit-address-family
- exit +! 
-exit +EOF 
-wr +service frr start
-exit+
 config save config save
 </​code>​ </​code>​
Line 955: Line 954:
 sysrc hostname=R5 sysrc hostname=R5
 sysrc frr_enable=YES sysrc frr_enable=YES
-hostname R5 +cat <<EOF > /​usr/​local/​etc/​frr/frr.conf 
-service ​frr start +log syslog
-cli +
-conf t+
 interface vtnet3 interface vtnet3
  ip address 10.0.3.5/24  ip address 10.0.3.5/24
  ipv6 address 2001:​db8:​3::​5/​64  ipv6 address 2001:​db8:​3::​5/​64
 +!
 interface vtnet4 interface vtnet4
  ip address 10.0.4.5/24  ip address 10.0.4.5/24
Line 974: Line 972:
  ​neighbor 2001:​db8:​3::​4 remote-as 64512  ​neighbor 2001:​db8:​3::​4 remote-as 64512
  ​neighbor 2001:​db8:​4::​6 remote-as 65535  ​neighbor 2001:​db8:​4::​6 remote-as 65535
 + !
  ​address-family ipv4 unicast  ​address-family ipv4 unicast
   network 10.0.3.0/24   network 10.0.3.0/24
Line 984: Line 983:
   no neighbor 2001:​db8:​4::​6 activate   no neighbor 2001:​db8:​4::​6 activate
  ​exit-address-family  ​exit-address-family
 + !
  ​address-family ipv6 unicast  ​address-family ipv6 unicast
   network 2001:​db8:​3::/​64   network 2001:​db8:​3::/​64
Line 992: Line 992:
   neighbor 2001:​db8:​4::​6 next-hop-self   neighbor 2001:​db8:​4::​6 next-hop-self
  ​exit-address-family  ​exit-address-family
- exit +EOF 
-exit +hostname R5 
-wr +service frr start
-exit+
 config save config save
 </​code>​ </​code>​
Line 1055: 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 1064: 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 1083: 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 1092: 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 1099: 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 1165: 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 1174: 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 1186: 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 1195: 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.1540197771.txt.gz · Last modified: 2018/10/22 10:42 by 127.0.0.1