This commit is contained in:
2026-05-23 15:39:21 +08:00
parent 25474f3901
commit 9ee29d8cb7

View File

@@ -1,6 +1,6 @@
template bgp dn42_up0_new {
graceful restart;
local as LOCAL_ASN;
local as DN42_ASN;
ipv4 {
table dn42v4;
import filter {if !function_dn42_bgp_import_from_upstream() then reject; accept; };
@@ -15,7 +15,7 @@ template bgp dn42_up0_new {
template bgp dn42_up1_new {
graceful restart;
local as LOCAL_ASN;
local as DN42_ASN;
ipv4 {
table dn42v4;
import filter {if !function_dn42_bgp_import_from_upstream() then reject; accept; };
@@ -30,7 +30,7 @@ template bgp dn42_up1_new {
template bgp dn42_ibgp_new {
graceful restart;
local as LOCAL_ASN;
local as DN42_ASN;
med metric;
direct;
ipv4 {
@@ -52,7 +52,7 @@ template bgp dn42_ibgp_new {
template bgp dn42_ibgp_mp_new {
graceful restart;
local as LOCAL_ASN;
local as DN42_ASN;
med metric;
ipv4 {
table dn42v4;