summaryrefslogtreecommitdiff
path: root/spec/bgp4/vyos1_script.sh
diff options
context:
space:
mode:
authorYuya Kusakabe <yuya.kusakabe@gmail.com>2017-09-22 21:27:30 +0900
committerGitHub <noreply@github.com>2017-09-22 21:27:30 +0900
commit4110d2e31dc5403f4061d65161793b6accabb2b8 (patch)
tree3b92754de6e7730aa2d1e19f09f1189aae376cde /spec/bgp4/vyos1_script.sh
parente96f80253c152c42c712ee3294bda85ae0da3aaa (diff)
parent037fd6a56255854e87333223f8966a1dfa339fc3 (diff)
downloadvyos-integration-test-4110d2e31dc5403f4061d65161793b6accabb2b8.tar.gz
vyos-integration-test-4110d2e31dc5403f4061d65161793b6accabb2b8.zip
Merge pull request #1 from micho7/feature/bgp4-add-ibgp
bgp4: added iBGP peer
Diffstat (limited to 'spec/bgp4/vyos1_script.sh')
-rw-r--r--spec/bgp4/vyos1_script.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/spec/bgp4/vyos1_script.sh b/spec/bgp4/vyos1_script.sh
index 3767236..7d77a62 100644
--- a/spec/bgp4/vyos1_script.sh
+++ b/spec/bgp4/vyos1_script.sh
@@ -6,12 +6,16 @@ fi
source /opt/vyatta/etc/functions/script-template
-set protocols bgp 65536 neighbor 10.0.1.12 ebgp-multihop 2
-set protocols bgp 65536 neighbor 10.0.1.12 remote-as 65537
+set protocols bgp 65536 parameters router-id 10.0.1.11
+
+set protocols bgp 65536 neighbor 10.0.1.12 remote-as 65537
set protocols bgp 65536 neighbor 10.0.1.12 update-source 10.0.1.11
set protocols bgp 65536 neighbor 10.0.1.12 advertisement-interval 1
-set protocols bgp 65536 network 10.0.2.0/24
-set protocols bgp 65536 parameters router-id 10.0.1.11
+
+set protocols bgp 65536 neighbor 10.0.2.13 remote-as 65536
+set protocols bgp 65536 neighbor 10.0.2.13 update-source 10.0.2.11
+set protocols bgp 65536 neighbor 10.0.2.13 advertisement-interval 1
+set protocols bgp 65536 neighbor 10.0.2.13 nexthop-self
commit
save