summaryrefslogtreecommitdiff
path: root/scripts/bgp/vyatta-bgp.pl
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2021-01-27 12:01:09 +0000
committerDaniil Baturin <daniil@baturin.org>2021-01-27 13:09:58 +0100
commitb7dbcaa88f2f9f5e3e39f5468e4a8b3fdcab2776 (patch)
treeb863144dac0350b4caf01636ab82bb7e2b42c417 /scripts/bgp/vyatta-bgp.pl
parent6df5860ab14ea22285b0f746dac05af343caa38b (diff)
downloadvyatta-cfg-quagga-b7dbcaa88f2f9f5e3e39f5468e4a8b3fdcab2776.tar.gz
vyatta-cfg-quagga-b7dbcaa88f2f9f5e3e39f5468e4a8b3fdcab2776.zip
bgp: T3085: Add parameter weight for ipv6 neighbor
Diffstat (limited to 'scripts/bgp/vyatta-bgp.pl')
-rwxr-xr-xscripts/bgp/vyatta-bgp.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl
index 50a144ab..757b6399 100755
--- a/scripts/bgp/vyatta-bgp.pl
+++ b/scripts/bgp/vyatta-bgp.pl
@@ -214,6 +214,10 @@ my %qcom = (
set => 'router bgp #3 ; address-family ipv4 unicast ; neighbor #5 weight #9',
del => 'router bgp #3 ; address-family ipv4 unicast ; no neighbor #5 weight #9',
},
+ 'protocols bgp var neighbor var address-family ipv6-unicast weight' => {
+ set => 'router bgp #3 ; address-family ipv6 unicast ; neighbor #5 weight #9',
+ del => 'router bgp #3 ; address-family ipv6 unicast ; no neighbor #5 weight #9',
+ },
'protocols bgp var neighbor var address-family ipv6-unicast' => {
set => 'router bgp #3 ; address-family ipv6 ; neighbor #5 activate',
del => 'router bgp #3 ; address-family ipv6 ; no neighbor #5 activate',