summaryrefslogtreecommitdiff
path: root/spec/bgp4/vyos1_script.sh
diff options
context:
space:
mode:
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