史诗更新
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
ipv4 table inet4;
|
||||
ipv6 table inet6;
|
||||
|
||||
protocol pipe inet6_sync {
|
||||
table inet6;
|
||||
peer table master6;
|
||||
import none;
|
||||
export filter {
|
||||
if bgp_large_community ~ [(LOCAL_ASN, 3,*)] then reject;
|
||||
accept;
|
||||
};
|
||||
}
|
||||
|
||||
protocol pipe inet4_sync {
|
||||
table inet4;
|
||||
peer table master4;
|
||||
import none;
|
||||
export filter {
|
||||
if bgp_large_community ~ [(LOCAL_ASN, 3,*)] then reject;
|
||||
accept;
|
||||
};
|
||||
}
|
||||
@@ -1,6 +1,3 @@
|
||||
ipv4 table unet4;
|
||||
ipv6 table unet6;
|
||||
|
||||
function unet_is_valid_network_v4() {
|
||||
return net ~ [
|
||||
10.50.0.0/16+,
|
||||
@@ -28,21 +25,4 @@ function unet_is_voalid_net_v6(){
|
||||
2406:840:e600::/44{44,64},
|
||||
2a0f:1cc5:0010::/44{44,64}
|
||||
];
|
||||
}
|
||||
|
||||
protocol pipe unet4_sync {
|
||||
table unet4;
|
||||
peer table master4;
|
||||
export filter {
|
||||
if bgp_large_community ~ [(UNET_ASN, 3,*)] then reject;
|
||||
accept;
|
||||
};
|
||||
}
|
||||
protocol pipe unet6_sync {
|
||||
table unet6;
|
||||
peer table master6;
|
||||
export filter {
|
||||
if bgp_large_community ~ [(UNET_ASN, 3,*)] then reject;
|
||||
accept;
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user