summaryrefslogtreecommitdiff
path: root/scripts/bgp
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-11-18 13:21:08 +0100
committerDaniil Baturin <daniil@baturin.org>2018-11-18 13:21:08 +0100
commitc3fa5fd1e8cc670afaa73fedd75ceba758d307f3 (patch)
tree6de125b62de60906ce3aee1a6e61938f75421af2 /scripts/bgp
parenteca1842c10541f59f3bebe603651cad2ca8eccb2 (diff)
downloadvyatta-cfg-quagga-c3fa5fd1e8cc670afaa73fedd75ceba758d307f3.tar.gz
vyatta-cfg-quagga-c3fa5fd1e8cc670afaa73fedd75ceba758d307f3.zip
T941: add "interface" option to enable using IPv6 link-local peer addresses.
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 31f97dea..522a0788 100755
--- a/scripts/bgp/vyatta-bgp.pl
+++ b/scripts/bgp/vyatta-bgp.pl
@@ -494,6 +494,10 @@ my %qcom = (
set => 'router bgp #3 ; neighbor #5 remote-as #7 ; neighbor #5 activate',
del => 'router bgp #3 ; no neighbor #5 remote-as #7',
},
+ 'protocols bgp var neighbor var interface' => {
+ set => 'router bgp #3 ; neighbor #5 interface #7',
+ del => 'router bgp #3 ; no neighbor #5 interface #7',
+ },
'protocols bgp var neighbor var disable-capability-negotiation' => {
set => 'router bgp #3 ; neighbor #5 dont-capability-negotiate',
del => 'router bgp #3 ; no neighbor #5 dont-capability-negotiate',