You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
295 B
Django/Jinja
8 lines
295 B
Django/Jinja
protocol bgp {{ peer.name }} from dnpeers {
|
|
{% if not peer.linklocal|default(False) %}
|
|
neighbor {{ peer.v6 }} as {{ peer.as }};
|
|
{% else %}
|
|
# if you use link-local ipv6 addresses for peering using the following
|
|
neighbor {{ peer.v6 }} % '{{ peer.if }}' as {{ peer.as }};
|
|
{% endif %}
|
|
}; |