diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-05-26 00:01:45 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-05-26 00:01:45 +0200 |
commit | 1534070b0d555d5da2a7e96bfe129843ad00fc40 (patch) | |
tree | 3187ced1fe77de948326a5a4b971f8291fd6c92d /docs/automation | |
parent | 274b4dc65f4323b0dd046f71cee5310c9b230095 (diff) | |
download | vyos-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/automation')
-rw-r--r-- | docs/automation/command-scripting.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/automation/command-scripting.rst b/docs/automation/command-scripting.rst index 7d0ab6c5..6bc6690c 100644 --- a/docs/automation/command-scripting.rst +++ b/docs/automation/command-scripting.rst @@ -26,7 +26,8 @@ example, if you want to disable a BGP peer on VRRP transition to backup: #!/bin/vbash source /opt/vyatta/etc/functions/script-template configure - set protocols bgp 65536 neighbor 192.168.2.1 shutdown + set protocols bgp local-as 65536 + set protocols bgp neighbor 192.168.2.1 shutdown commit exit |