summaryrefslogtreecommitdiff
path: root/docs/configexamples/azure-vpn-dual-bgp.rst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-05-26 00:01:45 +0200
committerChristian Poessinger <christian@poessinger.com>2021-05-26 00:01:45 +0200
commit1534070b0d555d5da2a7e96bfe129843ad00fc40 (patch)
tree3187ced1fe77de948326a5a4b971f8291fd6c92d /docs/configexamples/azure-vpn-dual-bgp.rst
parent274b4dc65f4323b0dd046f71cee5310c9b230095 (diff)
downloadvyos-documentation-1534070b0d555d5da2a7e96bfe129843ad00fc40.tar.gz
vyos-documentation-1534070b0d555d5da2a7e96bfe129843ad00fc40.zip
bgp: adjust to new CLI syntax where local-as is an individual leafNode
Diffstat (limited to 'docs/configexamples/azure-vpn-dual-bgp.rst')
-rw-r--r--docs/configexamples/azure-vpn-dual-bgp.rst21
1 files changed, 11 insertions, 10 deletions
diff --git a/docs/configexamples/azure-vpn-dual-bgp.rst b/docs/configexamples/azure-vpn-dual-bgp.rst
index 0a48156c..6df5d2ff 100644
--- a/docs/configexamples/azure-vpn-dual-bgp.rst
+++ b/docs/configexamples/azure-vpn-dual-bgp.rst
@@ -136,20 +136,21 @@ Vyos configuration
.. code-block:: none
- set protocols bgp 64499 neighbor 10.0.0.4 remote-as '65540'
- set protocols bgp 64499 neighbor 10.0.0.4 address-family ipv4-unicast soft-reconfiguration 'inbound'
- set protocols bgp 64499 neighbor 10.0.0.4 timers holdtime '30'
- set protocols bgp 64499 neighbor 10.0.0.4 timers keepalive '10'
+ set protocols bgp local-as 64499
+ set protocols bgp neighbor 10.0.0.4 remote-as '65540'
+ set protocols bgp neighbor 10.0.0.4 address-family ipv4-unicast soft-reconfiguration 'inbound'
+ set protocols bgp neighbor 10.0.0.4 timers holdtime '30'
+ set protocols bgp neighbor 10.0.0.4 timers keepalive '10'
- set protocols bgp 64499 neighbor 10.0.0.5 remote-as '65540'
- set protocols bgp 64499 neighbor 10.0.0.5 address-family ipv4-unicast soft-reconfiguration 'inbound'
- set protocols bgp 64499 neighbor 10.0.0.5 timers holdtime '30'
- set protocols bgp 64499 neighbor 10.0.0.5 timers keepalive '10'
+ set protocols bgp neighbor 10.0.0.5 remote-as '65540'
+ set protocols bgp neighbor 10.0.0.5 address-family ipv4-unicast soft-reconfiguration 'inbound'
+ set protocols bgp neighbor 10.0.0.5 timers holdtime '30'
+ set protocols bgp neighbor 10.0.0.5 timers keepalive '10'
- **Important**: Disable connected check, otherwise the routes learned
from Azure will not be imported into the routing table.
.. code-block:: none
- set protocols bgp 64499 neighbor 10.0.0.4 disable-connected-check
- set protocols bgp 64499 neighbor 10.0.0.5 disable-connected-check
+ set protocols bgp neighbor 10.0.0.4 disable-connected-check
+ set protocols bgp neighbor 10.0.0.5 disable-connected-check