diff options
| author | srividya0208 <a.srividya@vyos.io> | 2021-05-27 14:18:26 -0400 | 
|---|---|---|
| committer | srividya0208 <a.srividya@vyos.io> | 2021-05-27 14:18:26 -0400 | 
| commit | cf3312318177f02ec33be403ec88eb1438a9892c (patch) | |
| tree | 34c6c7b4713a447e49a39cb6f9a15874164fe640 /docs/configexamples/ha.rst | |
| parent | 8651aed3bd0f17e44d4a7fb486448a9f0526950f (diff) | |
| parent | 546eced065d473ad2a1e2a7ef0bf8def6ff43ab3 (diff) | |
| download | vyos-documentation-cf3312318177f02ec33be403ec88eb1438a9892c.tar.gz vyos-documentation-cf3312318177f02ec33be403ec88eb1438a9892c.zip  | |
Merge branch 'master' of https://github.com/vyos/vyos-documentation
Diffstat (limited to 'docs/configexamples/ha.rst')
| -rw-r--r-- | docs/configexamples/ha.rst | 21 | 
1 files changed, 12 insertions, 9 deletions
diff --git a/docs/configexamples/ha.rst b/docs/configexamples/ha.rst index 48d093c9..aa184d09 100644 --- a/docs/configexamples/ha.rst +++ b/docs/configexamples/ha.rst @@ -6,7 +6,7 @@ This document walks you through a complete HA setup of two VyOS machines. This  design is based on a VM as the primary router, and a physical machine as a  backup, using VRRP, BGP, OSPF and conntrack sharing. -The aim of this document is to walk you through setting everything up, so  +The aim of this document is to walk you through setting everything up, so  at a point where you can reboot any machine and not lose more than a few  seconds worth of connectivity. @@ -555,6 +555,7 @@ it is not 203.0.113.0/24.     set policy prefix-list BGPOUT rule 100 prefix '203.0.113.0/24'     set policy prefix-list BGPOUT rule 10000 action 'deny'     set policy prefix-list BGPOUT rule 10000 prefix '0.0.0.0/0' +     set policy route-map BGPOUT description 'BGP Export Filter'     set policy route-map BGPOUT rule 10 action 'permit'     set policy route-map BGPOUT rule 10 match ip address prefix-list 'BGPOUT' @@ -564,14 +565,16 @@ it is not 203.0.113.0/24.     set policy route-map BGPPREPENDOUT rule 10 set as-path-prepend '65551 65551 65551'     set policy route-map BGPPREPENDOUT rule 10 match ip address prefix-list 'BGPOUT'     set policy route-map BGPPREPENDOUT rule 10000 action 'deny' -   set protocols bgp 65551 address-family ipv4-unicast network 192.0.2.0/24 -   set protocols bgp 65551 address-family ipv4-unicast redistribute connected metric '50' -   set protocols bgp 65551 address-family ipv4-unicast redistribute ospf metric '50' -   set protocols bgp 65551 neighbor 192.0.2.11 address-family ipv4-unicast route-map export 'BGPOUT' -   set protocols bgp 65551 neighbor 192.0.2.11 address-family ipv4-unicast soft-reconfiguration inbound -   set protocols bgp 65551 neighbor 192.0.2.11 remote-as '65550' -   set protocols bgp 65551 neighbor 192.0.2.11 update-source '192.0.2.21' -   set protocols bgp 65551 parameters router-id '192.0.2.21' + +   set protocols bgp local-as 65551 +   set protocols bgp address-family ipv4-unicast network 192.0.2.0/24 +   set protocols bgp address-family ipv4-unicast redistribute connected metric '50' +   set protocols bgp address-family ipv4-unicast redistribute ospf metric '50' +   set protocols bgp neighbor 192.0.2.11 address-family ipv4-unicast route-map export 'BGPOUT' +   set protocols bgp neighbor 192.0.2.11 address-family ipv4-unicast soft-reconfiguration inbound +   set protocols bgp neighbor 192.0.2.11 remote-as '65550' +   set protocols bgp neighbor 192.0.2.11 update-source '192.0.2.21' +   set protocols bgp parameters router-id '192.0.2.21'  **router2**  | 
