Fix : OSPF import filter change

This commit is contained in:
2025-12-19 19:31:10 +08:00
parent 703d2696bf
commit ddf74a9568
2 changed files with 8 additions and 2 deletions

View File

@@ -1,7 +1,10 @@
protocol ospf v3 ospf_ipv4 {
ipv4 {
table ospf4;
import all;
import filter {
bgp_large_community.add((UNET_ASN,1,0));
accept;
};
export filter {
if bgp_large_community !~ [(UNET_ASN, 301,0)] then reject;
accept;

View File

@@ -1,7 +1,10 @@
protocol ospf v3 ospf_ipv6 {
ipv6 {
table ospf6;
import all;
import filter {
bgp_large_community.add((UNET_ASN,1,0));
accept;
};
export filter {
if bgp_large_community !~ [(UNET_ASN, 301,0)] then reject;
accept;