diff options
Diffstat (limited to 'spec/bgp4/vyos2_script.sh')
-rw-r--r-- | spec/bgp4/vyos2_script.sh | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/spec/bgp4/vyos2_script.sh b/spec/bgp4/vyos2_script.sh index 7cb0586..a153e0d 100644 --- a/spec/bgp4/vyos2_script.sh +++ b/spec/bgp4/vyos2_script.sh @@ -6,12 +6,16 @@ fi source /opt/vyatta/etc/functions/script-template -set protocols bgp 65537 neighbor 10.0.1.11 ebgp-multihop 2 -set protocols bgp 65537 neighbor 10.0.1.11 remote-as 65536 +set protocols bgp 65537 parameters router-id 10.0.1.12 + +set protocols bgp 65537 neighbor 10.0.1.11 remote-as 65536 set protocols bgp 65537 neighbor 10.0.1.11 update-source 10.0.1.12 set protocols bgp 65537 neighbor 10.0.1.11 advertisement-interval 1 -set protocols bgp 65537 network 10.0.3.0/24 -set protocols bgp 65537 parameters router-id 10.0.1.12 + +set protocols bgp 65537 neighbor 10.0.3.14 remote-as 65537 +set protocols bgp 65537 neighbor 10.0.3.14 update-source 10.0.3.12 +set protocols bgp 65537 neighbor 10.0.3.14 advertisement-interval 1 +set protocols bgp 65537 neighbor 10.0.3.14 nexthop-self commit save |