frr: don’t BGP peer on disabled interfaces
This commit is contained in:
parent
011a0852bb
commit
246178fa5d
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ router bgp {{ asn.asn }}
|
||||||
neighbor fabric remote-as external
|
neighbor fabric remote-as external
|
||||||
neighbor fabric capability extended-nexthop
|
neighbor fabric capability extended-nexthop
|
||||||
|
|
||||||
{% for iface in interfaces | selectattr('name', 'match', '^lan') %}
|
{% for iface in interfaces | selectattr('enabled') | selectattr('name', 'match', '^lan') %}
|
||||||
neighbor {{ iface.name }} interface peer-group fabric
|
neighbor {{ iface.name }} interface peer-group fabric
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue