|
@@ -2,10 +2,20 @@
|
|
|
#
|
|
|
# vim: set ts=4:sw=4
|
|
|
|
|
|
+
|
|
|
+#
|
|
|
+# Default configuration for all bgp templates
|
|
|
+#
|
|
|
+template bgp tpl_bgp {
|
|
|
+ # Use MED for routes received by different ASes
|
|
|
+ bgp med;
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
#
|
|
|
# iBGP (Backbone)
|
|
|
#
|
|
|
-template bgp ibgp {
|
|
|
+template bgp ibgp from tpl_bgp {
|
|
|
direct;
|
|
|
gateway direct;
|
|
|
local as 20766;
|
|
@@ -35,7 +45,7 @@ protocol bgp core_vodka from ibgp {
|
|
|
#
|
|
|
# Member: FDN
|
|
|
#
|
|
|
-template bgp tpl_fdn {
|
|
|
+template bgp tpl_fdn from tpl_bgp {
|
|
|
local as 20766;
|
|
|
description "Livraison FDN";
|
|
|
import where bgp_import(65055,"member",50000,100);
|
|
@@ -52,7 +62,7 @@ protocol bgp membre_fdn2 from tpl_fdn {
|
|
|
#
|
|
|
# Member: Lorraine Data Network
|
|
|
#
|
|
|
-template bgp tpl_ldn {
|
|
|
+template bgp tpl_ldn from tpl_bgp {
|
|
|
local as 20766;
|
|
|
description "Livraison Lorraine Data Network";
|
|
|
import where bgp_import(60197,"member",40000,100);
|
|
@@ -71,7 +81,7 @@ protocol bgp member_ldn2 from tpl_ldn {
|
|
|
#
|
|
|
# Member: Neutrinet
|
|
|
#
|
|
|
-template bgp tpl_neutrinet {
|
|
|
+template bgp tpl_neutrinet from tpl_bgp {
|
|
|
local as 20766;
|
|
|
description "Livraison Neutrinet";
|
|
|
import where bgp_import(204059,"member",40000,100);
|
|
@@ -85,7 +95,7 @@ protocol bgp member_neutrinet from tpl_neutrinet {
|
|
|
#
|
|
|
# Transit: Absolight
|
|
|
#
|
|
|
-template bgp tpl_absolight {
|
|
|
+template bgp tpl_absolight from tpl_bgp {
|
|
|
local as 20766;
|
|
|
description "Transit Absolight";
|
|
|
import where bgp_import(29608,"transit",10004,100);
|
|
@@ -115,7 +125,7 @@ protocol bgp transit_ielo from tpl_ielo {
|
|
|
#
|
|
|
# Peering: Grenode
|
|
|
#
|
|
|
-template bgp tpl_grenode {
|
|
|
+template bgp tpl_grenode from tpl_bgp {
|
|
|
local as 20766;
|
|
|
description "Peering Grenode";
|
|
|
import where bgp_import(51083,"peering",30000,100);
|
|
@@ -129,13 +139,13 @@ protocol bgp peering_grenode1 from tpl_grenode {
|
|
|
#
|
|
|
# Peering : FranceIX
|
|
|
#
|
|
|
-template bgp tpl_franceix_rs {
|
|
|
+template bgp tpl_franceix_rs from tpl_bgp {
|
|
|
local as 20766;
|
|
|
import where bgp_import(51706,"peering",26000,200);
|
|
|
export where bgp_export(51706,"members");
|
|
|
import limit 100000;
|
|
|
}
|
|
|
-template bgp tpl_franceix_peers {
|
|
|
+template bgp tpl_franceix_peers from tpl_bgp {
|
|
|
local as 20766;
|
|
|
import where bgp_import(51706,"peering",26000,210);
|
|
|
export where bgp_export(51706,"members");
|
|
@@ -217,7 +227,7 @@ protocol bgp franceix_21502 from tpl_franceix_peers {
|
|
|
# Peering: EquinIX
|
|
|
#
|
|
|
# EquinIX: route collector (only for monitoring)
|
|
|
-template bgp tpl_equinix_rc {
|
|
|
+template bgp tpl_equinix_rc from tpl_bgp {
|
|
|
local as 20766;
|
|
|
import where bgp_import(65517,"peering",22000,100);
|
|
|
export where bgp_export(65517,"members");
|
|
@@ -230,13 +240,13 @@ protocol bgp equinix_rc1 from tpl_equinix_rc {
|
|
|
}
|
|
|
|
|
|
# EquinIX: Route server
|
|
|
-template bgp tpl_equinix_rs {
|
|
|
+template bgp tpl_equinix_rs from tpl_bgp {
|
|
|
local as 20766;
|
|
|
import where bgp_import(24115,"peering",22000,100);
|
|
|
export where bgp_export(24115,"members");
|
|
|
import limit 100000;
|
|
|
}
|
|
|
-template bgp tpl_equinix_peers {
|
|
|
+template bgp tpl_equinix_peers from tpl_bgp {
|
|
|
local as 20766;
|
|
|
import where bgp_import(24115,"peering",22000,110);
|
|
|
export where bgp_export(24115,"members");
|