leaf: don’t activate disabled interfaces in the EVPN family
This commit is contained in:
parent
48eee50203
commit
bd4299732d
1 changed files with 2 additions and 2 deletions
|
@ -55,8 +55,8 @@ router bgp {{ asn.asn }}
|
|||
{% endfor %}
|
||||
address-family l2vpn evpn
|
||||
neighbor fabric activate
|
||||
{% for iface in ifaces_evpn|default([]) %}
|
||||
neighbor {{ iface }} activate
|
||||
{% for iface in interfaces | selectattr('enabled') | selectattr('name', 'in', ifaces_evpn|default([])) %}
|
||||
neighbor {{ iface.name }} activate
|
||||
{% endfor %}
|
||||
{% if peer is defined and interfaces | selectattr('mode') %}
|
||||
advertise-all-vni
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue