Skip to content

Commit

Permalink
export peers to downstreams
Browse files Browse the repository at this point in the history
  • Loading branch information
natesales committed Dec 8, 2020
1 parent 5efbc0d commit 0b000e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/peer.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0b000e6

Please sign in to comment.