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/automation | |
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/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 |