diff --git a/vyos.conf.j2 b/vyos.conf.j2 index ba6b14c..89cc66f 100644 --- a/vyos.conf.j2 +++ b/vyos.conf.j2 @@ -312,6 +312,10 @@ protocols { {% if neighbor_data['address-family']['ipv4-unicast'].get('maximum-prefix',None) != None %} maximum-prefix {{ neighbor_data['address-family']['ipv4-unicast'].get('maximum-prefix',None) }} {% endif %} + {% if neighbor_data['address-family']['ipv4-unicast'].get('default-originate',False) %} + default-originate { + } + {% endif %} } {% endif %} {% if 'ipv6-unicast' in neighbor_data['address-family'] %} @@ -348,6 +352,10 @@ protocols { {% if neighbor_data['address-family']['ipv6-unicast'].get('maximum-prefix',None) != None %} maximum-prefix {{ neighbor_data['address-family']['ipv6-unicast'].get('maximum-prefix',None) }} {% endif %} + {% if neighbor_data['address-family']['ipv6-unicast'].get('default-originate',False) %} + default-originate { + } + {% endif %} } {% endif %} }