Skip to content
Snippets Groups Projects
Commit 87c13a42 authored by skorpy's avatar skorpy :construction_worker:
Browse files

Do not peer with AS61266 (over RS)

parent be96ccbf
No related branches found
No related tags found
No related merge requests found
Pipeline #44757 passed with warnings
filter de_cix_fra_route_server_in { filter de_cix_fra_route_server_in {
if (bgp_path ~ [= * 61266 * =]) then {
reject;
}
if ebgp_in("route-server") = 0 then if ebgp_in("route-server") = 0 then
reject; reject;
bgp_med = 1000; bgp_med = 1000;
...@@ -18,6 +21,7 @@ filter de_cix_fra_route_server_out { ...@@ -18,6 +21,7 @@ filter de_cix_fra_route_server_out {
reject; reject;
bgp_large_community.add((6695, 103, 6939)); bgp_large_community.add((6695, 103, 6939));
bgp_large_community.add((6695, 0, 8804)); bgp_large_community.add((6695, 0, 8804));
bgp_large_community.add((6695, 0, 61266));
bgp_community.add(NO_REDIST_MUC); bgp_community.add(NO_REDIST_MUC);
bgp_community.add(NO_REDIST_HAM); bgp_community.add(NO_REDIST_HAM);
bgp_community.add(NO_REDIST_DUS); bgp_community.add(NO_REDIST_DUS);
......
filter de_cix_fra_route_server_in { filter de_cix_fra_route_server_in {
if (bgp_path ~ [= * 61266 * =]) then {
reject;
}
if ebgp_in("route-server") = 0 then if ebgp_in("route-server") = 0 then
reject; reject;
bgp_med = 1000; bgp_med = 1000;
...@@ -18,6 +21,7 @@ filter de_cix_fra_route_server_out { ...@@ -18,6 +21,7 @@ filter de_cix_fra_route_server_out {
reject; reject;
bgp_large_community.add((6695, 103, 6939)); bgp_large_community.add((6695, 103, 6939));
bgp_large_community.add((6695, 0, 8804)); bgp_large_community.add((6695, 0, 8804));
bgp_large_community.add((6695, 0, 61266));
bgp_community.add(NO_REDIST_MUC); bgp_community.add(NO_REDIST_MUC);
bgp_community.add(NO_REDIST_HAM); bgp_community.add(NO_REDIST_HAM);
bgp_community.add(NO_REDIST_DUS); bgp_community.add(NO_REDIST_DUS);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment