Add 2 EBGP neighbors with template (#41853)
<!--- Your description here --> +label: docsite_pr
This commit is contained in:
parent
11dbed1350
commit
7135c1302a
1 changed files with 9 additions and 0 deletions
|
@ -97,6 +97,15 @@ EXAMPLES = '''
|
||||||
- add bgp neighbor swp52 interface remote-as external
|
- add bgp neighbor swp52 interface remote-as external
|
||||||
commit: true
|
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
|
- name: Check BGP Status
|
||||||
nclu:
|
nclu:
|
||||||
commands:
|
commands:
|
||||||
|
|
Loading…
Reference in a new issue