From 0b000e6106f86a7ecc8b57695ad726e8777ca222 Mon Sep 17 00:00:00 2001 From: Nate Sales Date: Tue, 8 Dec 2020 13:42:26 -0800 Subject: [PATCH] export peers to downstreams --- templates/peer.tmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/peer.tmpl b/templates/peer.tmpl index ed9740c2..78faa904 100644 --- a/templates/peer.tmpl +++ b/templates/peer.tmpl @@ -88,6 +88,7 @@ protocol bgp {{ $peer.Name }}v{{ $af }}_{{ $i }} { if ((ASN,0,103) ~ bgp_large_community) then accept; # Downstream {{ else if eq $peer.Type "downstream" -}} if ((ASN,0,103) ~ bgp_large_community) then accept; # Downstream + if ((ASN,0,102) ~ bgp_large_community) then accept; # Peer if ((ASN,0,101) ~ bgp_large_community) then accept; # Upstream {{ end -}} reject;