list update

This commit is contained in:
2026-01-26 11:33:36 +08:00
parent 76bf4cf910
commit f19dc815cf
3 changed files with 16 additions and 16 deletions

View File

@@ -5,7 +5,7 @@ template bgp dn42_bgp_up {
table dn42v4;
import filter {
if !is_dn42_prefix() then reject;
if dn42_is_self_net() then reject;
if is_self_net_dn42v4() then reject;
bgp_large_community.add((DN42_ASN,200,0));# 传输到Ebgp
accept;
};
@@ -22,7 +22,7 @@ template bgp dn42_bgp_up {
table dn42v6;
import filter {
if !is_dn42_prefix() then reject;
if dn42_is_self_net_v6() then reject;
if is_self_net_dn42v6() then reject;
bgp_large_community.add((DN42_ASN,200,0));# 传输到Ebgp
accept;
};
@@ -48,13 +48,13 @@ template bgp dn42_ibgp {
import filter {
if bgp_large_community ~ [(DN42_ASN, 1,*)] then reject;
if !is_dn42_prefix() then reject;
if dn42_is_self_net() then reject;
if is_self_net_dn42v4() then reject;
accept;
};
export filter {
if bgp_large_community ~ [(DN42_ASN, 1,*)] then reject;
if !is_dn42_prefix() then reject;
if dn42_is_self_net() then reject;
if is_self_net_dn42v4() then reject;
accept;
};
};
@@ -65,13 +65,13 @@ template bgp dn42_ibgp {
import filter {
if bgp_large_community ~ [(DN42_ASN, 1,*)] then reject;
if !is_dn42_prefix() then reject;
if dn42_is_self_net_v6() then reject;
if is_self_net_dn42v6() then reject;
accept;
};
export filter {
if bgp_large_community ~ [(DN42_ASN, 1,*)] then reject;
if !is_dn42_prefix() then reject;
if dn42_is_self_net_v6() then reject;
if is_self_net_dn42v6() then reject;
accept;
};
};