This commit is contained in:
2026-05-23 18:06:55 +08:00
parent 54089fa0bd
commit 11fce2a4a5
3 changed files with 15 additions and 32 deletions

View File

@@ -20,6 +20,17 @@ template bgp dn42_up1_new {
ipv6 {import none;export none;};
}
template bgp dn42_ds {
graceful restart;
local as DN42_ASN;
ipv4 {
table dn42v4;
import filter {if !function_inet6_downstream_import() then reject; accept; };
export filter {if !function_inet6_downstream_export() then reject; accept; };
};
ipv6 {import none;export none;};
}
template bgp dn42_ibgp_new {
graceful restart;
local as DN42_ASN;
@@ -33,17 +44,4 @@ template bgp dn42_ibgp_new {
export filter {if !function_dn42_ibgp_export() then reject; accept; };
};
ipv6 {import none;export none;};
}
template bgp dn42_ibgp_mp_new {
graceful restart;
local as DN42_ASN;
med metric;
ipv4 {
table dn42v4;
import filter {if !function_dn42_ibgp_import() then reject; accept; };
export filter {if !function_dn42_ibgp_export() then reject; accept; };
};
ipv6 {import none;export none;};
}