Browse Source

bgp-filters: Specific configuration (test for Tetaneutral weird no-export)

Sebastien Badia 9 years ago
parent
commit
81bd78937e
1 changed files with 3 additions and 0 deletions
  1. 3 0
      etc/local/bird/common/bgp-filters.conf

+ 3 - 0
etc/local/bird/common/bgp-filters.conf

@@ -55,6 +55,9 @@ function bgp_import( int AS; string import_type; int community)
     # adding the community to identify the source of the route
     if import_type != "core" && community > 0 then bgp_community.add((20766,community));
 
+    # Specific configuration (test for Tetaneutral weird no-export)
+    if AS = 51706 then bgp_community.delete( [(65535,*)] );
+
     return true;
 }