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.
12 lines
384 B
Plaintext
12 lines
384 B
Plaintext
5 years ago
|
{% if peer.v4 is defined%}
|
||
|
protocol bgp {{ peer.name }} from dnpeers {
|
||
|
neighbor {{ peer.v4 }} as {{ peer.as }};
|
||
|
};
|
||
|
{% endif %}
|
||
|
|
||
|
{% if peer.v6 is defined%}
|
||
|
protocol bgp {{ peer.name }}_v6 from dnpeers {
|
||
|
# if you use link-local ipv6 addresses for peering using the following
|
||
|
neighbor {{ peer.v6 }}%{{ peer.if.name | default('dn42_' + peer.name) }} as {{ peer.as }};
|
||
|
};
|
||
|
{% endif %}
|