Skip to content

Commit

Permalink
add next hop self on iBGP sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
natesales committed Oct 31, 2020
1 parent 7f26685 commit 25d9586
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 @@ -32,6 +32,7 @@ protocol bgp AS{{ $peer.Asn }}v{{ $af }}_{{ $i }} {
import keep filtered;
import limit AS{{ $peer.Asn }}_MAXPFX_v{{ $af }} action disable;
import filter {
{{ if eq $peer.Asn $global.Asn }}next hop self;{{ end }}
reject_bogons();
strip_communities();
bgp_local_pref = {{ $peer.LocalPref }};
Expand Down

0 comments on commit 25d9586

Please sign in to comment.