summaryrefslogtreecommitdiff
path: root/scripts/bgp
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2021-01-27 12:01:09 +0000
committersever-sever <v.gletenko@vyos.io>2021-01-27 12:01:09 +0000
commit04570b70ef05a48bed8ddf1f0e9dc6cf14600b98 (patch)
tree5b7465f6febbb58291305c12bfe0b4e4369528a1 /scripts/bgp
parent56b11f3a3c1cc3828754910336eb4a4a53ac34e9 (diff)
downloadvyatta-cfg-quagga-04570b70ef05a48bed8ddf1f0e9dc6cf14600b98.tar.gz
vyatta-cfg-quagga-04570b70ef05a48bed8ddf1f0e9dc6cf14600b98.zip
bgp: T3085: Add parameter weight for ipv6 neighbor
Diffstat (limited to 'scripts/bgp')
-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 13a2e31e..917fb93b 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',