2020-04-23 11:42:22 -05:00
|
|
|
!
|
|
|
|
{% block vrf %}
|
|
|
|
{% if VNET is defined %}
|
2020-09-28 22:21:46 -05:00
|
|
|
{% for vnet_name, vnet_metadata in VNET.items() %}
|
2020-04-23 11:42:22 -05:00
|
|
|
vrf {{ vnet_name }}
|
|
|
|
vni {{ vnet_metadata['vni'] }}
|
|
|
|
!
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{% endblock vrf %}
|
|
|
|
!
|
|
|
|
{% block interfaces %}
|
2020-10-14 00:21:28 -05:00
|
|
|
! Enable nht through default route
|
|
|
|
ip nht resolve-via-default
|
2020-04-23 11:42:22 -05:00
|
|
|
! Enable link-detect (default disabled)
|
|
|
|
{% for (name, prefix) in INTERFACE|pfx_filter %}
|
|
|
|
interface {{ name }}
|
|
|
|
link-detect
|
|
|
|
!
|
|
|
|
{% endfor %}
|
|
|
|
{% for pc in PORTCHANNEL %}
|
|
|
|
interface {{ pc }}
|
|
|
|
link-detect
|
|
|
|
!
|
|
|
|
{% endfor %}
|
|
|
|
{% endblock interfaces %}
|
|
|
|
!
|