summaryrefslogtreecommitdiff
path: root/docs/automation/command-scripting.rst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-08-04 21:15:38 +0200
committerChristian Poessinger <christian@poessinger.com>2022-08-04 21:15:38 +0200
commitbe69070e2449d8437a2fe0cde82c501edc8c19ad (patch)
tree1f4617190c5347fbbc0d15bbe06a7e52effe4b87 /docs/automation/command-scripting.rst
parent30ea3e8f98970ce8165d6dcdfd26bb2ccaa0ef0e (diff)
downloadvyos-documentation-be69070e2449d8437a2fe0cde82c501edc8c19ad.tar.gz
vyos-documentation-be69070e2449d8437a2fe0cde82c501edc8c19ad.zip
bgp: T4257: changing BGP "local-as" to "system-as"
Diffstat (limited to 'docs/automation/command-scripting.rst')
-rw-r--r--docs/automation/command-scripting.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/automation/command-scripting.rst b/docs/automation/command-scripting.rst
index db4724cd..ed76a879 100644
--- a/docs/automation/command-scripting.rst
+++ b/docs/automation/command-scripting.rst
@@ -28,7 +28,7 @@ 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 local-as 65536
+ set protocols bgp system-as 65536
set protocols bgp neighbor 192.168.2.1 shutdown
commit
exit