diff options
author | Wouter van Os <wouter0100@gmail.com> | 2019-07-08 09:52:17 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2019-07-08 10:56:17 +0200 |
commit | e53c009dfce46d5be144c64b5d8ca36a346e6554 (patch) | |
tree | 441aa7a58ffcd73fba56a017bcef670cbb793c35 /scripts | |
parent | a43d24140ea6e7d72c7c430dfabd9dd3c7ad788d (diff) | |
download | vyatta-cfg-quagga-e53c009dfce46d5be144c64b5d8ca36a346e6554.tar.gz vyatta-cfg-quagga-e53c009dfce46d5be144c64b5d8ca36a346e6554.zip |
[bgp] T1509: add support for replace-as in local-as BGP neighbor
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/bgp/vyatta-bgp.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl index 1fef8de7..2f8459a3 100755 --- a/scripts/bgp/vyatta-bgp.pl +++ b/scripts/bgp/vyatta-bgp.pl @@ -559,6 +559,10 @@ my %qcom = ( set => 'router bgp #3 ; no neighbor #5 local-as #7 ; neighbor #5 local-as #7 no-prepend', del => 'router bgp #3 ; no neighbor #5 local-as #7 no-prepend ; neighbor #5 local-as #7', }, + 'protocols bgp var neighbor var local-as var no-prepend replace-as' => { + set => 'router bgp #3 ; no neighbor #5 local-as #7 ; neighbor #5 local-as #7 no-prepend replace-as', + del => 'router bgp #3 ; neighbor #5 local-as #7 no-prepend', + }, 'protocols bgp var neighbor var override-capability' => { set => 'router bgp #3 ; neighbor #5 override-capability', del => 'router bgp #3 ; no neighbor #5 override-capability', |