Sha256: ffaa5da9f3fd150e60c6951951d00f45ff5f3b06040f21c8aa04a674311e7e13
Contents?: true
Size: 1.17 KB
Versions: 1
Compression:
Stored size: 1.17 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_announced.each do |subnet| %> network <%= subnet.to_cidr %> <% end %> <% bgp_neighbors.each do |node| %> neighbor <%= node.overlapping_subnets(self).first %> remote-as <%= node.bgp_asn %> neighbor <%= node.overlapping_subnets(self).first %> route-map DOWNSTREAM in neighbor <%= node.overlapping_subnets(self).first %> next-hop-self neighbor <%= node.overlapping_subnets(self).first %> 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vagrant-clusterfuck-0.0.1 | templates/quagga.bgpd.conf.erb |