change 4.0
This commit is contained in:
@@ -3,13 +3,13 @@ template bgp tpl_inet_up {
|
||||
local as LOCAL_ASN;
|
||||
ipv4 {
|
||||
table inet4;
|
||||
import filter {if !function_inet4_bgp_import() then reject; accept; };
|
||||
export filter {if !function_inet4_bgp_export() then reject; accept; };
|
||||
import filter {if !function_inet_bgp_import_from_upstream() then reject; accept; };
|
||||
export filter {if !function_inet_bgp_export_to_upstream0() then reject; accept; };
|
||||
};
|
||||
ipv6 {
|
||||
table inet6;
|
||||
import filter {if !function_inet6_bgp_import() then reject; accept; };
|
||||
export filter {if !function_inet6_bgp_export() then reject; accept; };
|
||||
import filter {if !function_inet_bgp_import_from_upstream() then reject; accept; };
|
||||
export filter {if !function_inet_bgp_export_to_upstream0() then reject; accept; };
|
||||
};
|
||||
}
|
||||
|
||||
@@ -18,8 +18,8 @@ template bgp tpl_inet4_up {
|
||||
local as LOCAL_ASN;
|
||||
ipv4 {
|
||||
table inet4;
|
||||
import filter {if !function_inet4_bgp_import() then reject; accept; };
|
||||
export filter {if !function_inet4_bgp_export() then reject; accept; };
|
||||
import filter {if !function_inet_bgp_import_from_upstream() then reject; accept; };
|
||||
export filter {if !function_inet_bgp_export_to_upstream0() then reject; accept; };
|
||||
};
|
||||
}
|
||||
|
||||
@@ -28,8 +28,8 @@ template bgp tpl_inet6_up {
|
||||
local as LOCAL_ASN;
|
||||
ipv6 {
|
||||
table inet6;
|
||||
import filter {if !function_inet6_bgp_import() then reject; accept; };
|
||||
export filter {if !function_inet6_bgp_export() then reject; accept; };
|
||||
import filter {if !function_inet_bgp_import_from_upstream() then reject; accept; };
|
||||
export filter {if !function_inet_bgp_export_to_upstream0() then reject; accept; };
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user