删除DN42相关配置
This commit is contained in:
@@ -1,31 +0,0 @@
|
||||
ipv4 table dn42v4;
|
||||
ipv6 table dn42v6;
|
||||
|
||||
function dn42_is_valid_network() {
|
||||
return net ~ [
|
||||
172.20.0.0/14+
|
||||
];
|
||||
}
|
||||
|
||||
function dn42_is_valid_network_v6() {
|
||||
return net ~ [
|
||||
fd00::/8+
|
||||
];
|
||||
}
|
||||
|
||||
protocol pipe dn42v4_sync {
|
||||
table dn42v4;
|
||||
peer table master4;
|
||||
export filter {
|
||||
if bgp_large_community ~ [(DN42_ASN, 3,*)] then reject;
|
||||
accept;
|
||||
};
|
||||
}
|
||||
protocol pipe dn42v6_sync {
|
||||
table dn42v6;
|
||||
peer table master6;
|
||||
export filter {
|
||||
if bgp_large_community ~ [(DN42_ASN, 3,*)] then reject;
|
||||
accept;
|
||||
};
|
||||
}
|
||||
@@ -12,7 +12,6 @@ function unet_is_valid_network_v4() {
|
||||
|
||||
function unet_is_valid_network_v4_anynet() {
|
||||
return net ~ [
|
||||
172.20.21.0/26+,
|
||||
44.32.191.0/24+
|
||||
];
|
||||
}
|
||||
@@ -26,8 +25,7 @@ function unet_is_valid_network_v4_allnet(){
|
||||
function unet_is_voalid_net_v6(){
|
||||
return net ~ [
|
||||
2406:840:e600::/44{44,64},
|
||||
2a0f:1cc5:0010::/44{44,64},
|
||||
fde8:936e:ee29::/48+
|
||||
2a0f:1cc5:0010::/44{44,64}
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user