d4a6a009cf
(cherry picked from commit 0e175e6d6c
)
38 lines
1.0 KiB
Django/Jinja
38 lines
1.0 KiB
Django/Jinja
{% block banner %}
|
|
# =========== Managed by sonic-cfggen -- DO NOT edit manually! ====================
|
|
# Generated by /usr/share/sonic/templates/radvd.conf.j2 using config DB data
|
|
# File: /etc/radvd.conf
|
|
#
|
|
{% endblock banner %}
|
|
# Config file for radvd, the router advertisement daemon
|
|
# See man page for radvd.conf for descriptions of all available options
|
|
#
|
|
|
|
{# If our configuration has VLAN interfaces... #}
|
|
{% if VLAN_INTERFACE %}
|
|
{% for (name, prefix) in VLAN_INTERFACE|pfx_filter %}
|
|
{# If this VLAN has an IPv6 address... #}
|
|
{% if prefix | ipv6 %}
|
|
interface {{ name }}
|
|
{
|
|
IgnoreIfMissing on;
|
|
AdvSendAdvert on;
|
|
MinRtrAdvInterval 60;
|
|
MaxRtrAdvInterval 180;
|
|
AdvManagedFlag on;
|
|
AdvOtherConfigFlag off;
|
|
AdvLinkMTU 9100;
|
|
AdvHomeAgentFlag off;
|
|
prefix {{ prefix | network }}/{{ prefix | prefixlen }} {
|
|
AdvOnLink on;
|
|
AdvAutonomous off;
|
|
AdvRouterAddr off;
|
|
AdvValidLifetime infinity;
|
|
AdvPreferredLifetime infinity;
|
|
};
|
|
};
|
|
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endif %}
|