Add 2 EBGP neighbors with template (#41853)

<!--- Your description here -->

+label: docsite_pr
pull/41473/merge
permitanyany 6 years ago committed by Alicia Cozine
parent 11dbed1350
commit 7135c1302a

@ -97,6 +97,15 @@ EXAMPLES = '''
- add bgp neighbor swp52 interface remote-as external
commit: true
- name: Configure BGP AS and Add 2 EBGP neighbors Using BGP Unnumbered via Template
nclu:
template: |
{% for neighbor in range(51,53) %}
add bgp neighbor swp{{neighbor}} interface remote-as external
add bgp autonomous-system 65000
{% endfor %}
atomic: true
- name: Check BGP Status
nclu:
commands:

Loading…
Cancel
Save