summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-29 20:15:22 +0200
committerGitHub <noreply@github.com>2021-03-29 20:15:22 +0200
commit0c13a4fa454926f9891450b12ffc34ef7c54d523 (patch)
tree52b0edd946c39b9d86a5f76b259dbd864ba31914 /data/templates
parent63fe6b566ad38041aedc80ebc318af01566754a1 (diff)
parent73557d68b1cb54714fc0c3652a9ab29559da00ee (diff)
downloadvyos-1x-0c13a4fa454926f9891450b12ffc34ef7c54d523.tar.gz
vyos-1x-0c13a4fa454926f9891450b12ffc34ef7c54d523.zip
Merge pull request #793 from c-po/bgp-cli
bgp: T1711: remove ASN tagNode and move to "local-as"
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/frr/bgp.frr.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/frr/bgp.frr.tmpl b/data/templates/frr/bgp.frr.tmpl
index 30e1ec082..53e62928b 100644
--- a/data/templates/frr/bgp.frr.tmpl
+++ b/data/templates/frr/bgp.frr.tmpl
@@ -185,7 +185,7 @@
{% endif %}
{% endmacro %}
!
-router bgp {{ asn }} {{ 'vrf ' + vrf if vrf is defined and vrf is not none }}
+router bgp {{ local_as }} {{ 'vrf ' + vrf if vrf is defined and vrf is not none }}
{% if parameters is defined and parameters.ebgp_requires_policy is defined %}
bgp ebgp-requires-policy
{% else %}