Sha256: 02036572607c3fb569aca349cf6a4d5b4df5594356f1f6991555a55d5784471f

Contents?: true

Size: 1.15 KB

Versions: 2

Compression:

Stored size: 1.15 KB

Contents

! -*- bgp -*-
!
! BGPd configuration file
!
hostname leaf
password zebra
!enable password please-set-at-here
!
!bgp mulitple-instance
!
router bgp <%= bgp_asn %>
 bgp router-id <%= bgp_router_id %>
 timers bgp 1 3
 <% bgp_announce.each do |announce| %>
 network <%= announce.to_cidr %>
 <% end %>

 <% bgp_neighbors.each do |node| %>
 neighbor <%= node.ip_in_same_subnet(self) %> remote-as <%= node.bgp_asn %>
 neighbor <%= node.ip_in_same_subnet(self) %> route-map DOWNSTREAM in
 neighbor <%= node.ip_in_same_subnet(self) %> next-hop-self
 neighbor <%= node.ip_in_same_subnet(self) %> advertisement-interval 1
 <% end %>
 
ip community-list standard cm-prefmod-300 permit 65534:300
ip community-list standard cm-prefmod-200 permit 65534:200
ip community-list standard cm-prefmod-100 permit 65534:100

route-map DOWNSTREAM permit 10
 match community cm-prefmod-300
 set local-preference 300
route-map DOWNSTREAM permit 20
 match community cm-prefmod-200
 set local-preference 200
route-map DOWNSTREAM permit 30
 match community cm-prefmod-100
 set local-preference 100
route-map DOWNSTREAM permit 40
 set local-preference 90

log file /var/log/quagga/bgpd.log
!
log stdout

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-clusterfuck-0.0.3 templates/quagga.bgpd.conf.erb
vagrant-clusterfuck-0.0.2 templates/quagga.bgpd.conf.erb