Sha256: ed557362dea3670cd643e02d866c77cee1edbde688247e6e6c59e2936cd9a304
Contents?: true
Size: 1.16 KB
Versions: 4
Compression:
Stored size: 1.16 KB
Contents
! -*- bgp -*- ! ! BGPd configuration file ! hostname <%= name %>-bgp 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
4 entries across 4 versions & 1 rubygems