Revert "对相关的配置进行修整;"

This reverts commit 1660565696.
This commit is contained in:
2025-10-13 02:39:09 +08:00
parent dd23abe233
commit 048b2567bf
11 changed files with 199 additions and 39 deletions

View File

@@ -2,6 +2,8 @@ ipv4 table inet4;
ipv6 table inet6;
ipv4 table unet4;
ipv6 table unet6;
ipv4 table dn42v4;
ipv6 table dn42v6;
ipv4 table ospf4;
ipv6 table ospf6;
@@ -25,6 +27,26 @@ protocol pipe inet6_sync {
# };
#}
protocol pipe dn42v4_sync {
table dn42v4;
peer table master4;
import none;
export filter {
if bgp_large_community ~ [(DN42_ASN, 3,*)] then reject;
accept;
};
}
protocol pipe dn42v6_sync {
table dn42v6;
peer table master6;
import none;
export filter {
if bgp_large_community ~ [(DN42_ASN, 3,*)] then reject;
accept;
};
}
protocol pipe unet4_sync {
table unet4;
peer table master4;
@@ -42,7 +64,7 @@ protocol pipe unet6_sync {
};
}
protocol pipe ospf4_sync {
protocol pipe pipe_ospf4_sync {
table ospf4;
peer table master4;
export filter {