summaryrefslogtreecommitdiff
path: root/spec/bgp6/vyos1_script.sh
blob: 67e46244398719f42be3c5dcd03d04db0791e3ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/vbash

if [ "$(id -g -n)" != 'vyattacfg' ] ; then
  exec sg vyattacfg -c "/bin/vbash $(readlink -f $0) $@"
fi

source /opt/vyatta/etc/functions/script-template

set protocols bgp 65536 neighbor fd00:5679:4f53:1::c ebgp-multihop 2 
set protocols bgp 65536 neighbor fd00:5679:4f53:1::c remote-as 65537 
set protocols bgp 65536 neighbor fd00:5679:4f53:1::c update-source eth1
set protocols bgp 65536 neighbor fd00:5679:4f53:1::c advertisement-interval 1
set protocols bgp 65536 neighbor fd00:5679:4f53:1::c address-family ipv6-unicast
set protocols bgp 65536 address-family ipv6-unicast network fd00:5679:4f53:2::/64
set protocols bgp 65536 parameters router-id 10.0.1.11

commit
save