This commit is contained in:
2026-05-26 10:42:06 +08:00
parent 08f63e772c
commit 420250832e
2 changed files with 4 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
function function_dn42_ibgp_import() {
bgp_large_community.delete((DN42_ASN,3,1));
if is_dn42_self_net() then return false;
if !is_dn42_prefix() then return false;
if bgp_large_community ~ [(DN42_ASN, 1,*)] then return false;
@@ -6,6 +7,7 @@ function function_dn42_ibgp_import() {
}
function function_dn42_ibgp_export() {
bgp_large_community.delete((DN42_ASN,3,1));
if is_dn42_self_net() then return false;
if !is_dn42_prefix() then return false;
if bgp_large_community ~ [(DN42_ASN, 1,*)] then return false;

View File

@@ -1,4 +1,5 @@
function function_inet_ibgp_import() {
bgp_large_community.delete((LOCAL_ASN,3,1));
if is_self_net() then return false;
if is_bogon_prefix() then return false;
if bgp_large_community ~ [(LOCAL_ASN, 1,*)] then return false;
@@ -6,6 +7,7 @@ function function_inet_ibgp_import() {
}
function function_inet_ibgp_export() {
bgp_large_community.delete((LOCAL_ASN,3,1));
if is_self_net() then return false;
if is_bogon_prefix() then return false;
if bgp_large_community ~ [(LOCAL_ASN, 1,*)] then return false;