|
@@ -89,7 +89,7 @@ function tag_site_routes ()
|
|
|
}
|
|
|
|
|
|
{#-
|
|
|
- # Tag all routes for prefixes longer that site prefix leaving a gateway
|
|
|
+ # Tag all routes for prefixes longer than site prefix leaving a gateway
|
|
|
# as TE prefixes. They are for TE core -> gateway only and must not be
|
|
|
# imported on other gateways.
|
|
|
#}
|
|
@@ -120,12 +120,19 @@ filter ibgp_out {
|
|
|
if "IGP" = proto then
|
|
|
reject;
|
|
|
|
|
|
+ # Don't redistribute v6 LO IP
|
|
|
+ if "lo_v6" = proto then
|
|
|
+ reject;
|
|
|
+
|
|
|
+ # Don't redistribute null routes for bogon prefixes
|
|
|
if "bogon_unreach" = proto then
|
|
|
reject;
|
|
|
|
|
|
+ # Don't redistribute TE prefixes for FFRL
|
|
|
if "ffrl_te" = proto then
|
|
|
reject;
|
|
|
|
|
|
+ # Don't redistribute anything IF we are drained
|
|
|
if 1 = DRAINED then
|
|
|
reject;
|
|
|
|