Skip to content

Commit

Permalink
fix next hop self location
Browse files Browse the repository at this point in the history
  • Loading branch information
natesales committed Oct 31, 2020
1 parent 0ec7273 commit 0768dbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/peer.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ protocol bgp AS{{ $peer.Asn }}v{{ $af }}_{{ $i }} {
ipv{{ $af }} {
import keep filtered;
import limit AS{{ $peer.Asn }}_MAXPFX_v{{ $af }} action disable;
{{ if eq $peer.Asn $global.Asn }}next hop self;{{ end }}
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 0768dbe

Please sign in to comment.