[frr.conf] Advertise /64 prefix for ipv6 lo addresses in case 'unified' config mode (#3045)

Signed-off-by: Pavlo Yadvychuk <pyadvychuk@barefootnetworks.com>
This commit is contained in:
Pavlo Yadvichuk 2019-06-22 20:29:41 +03:00 committed by lguohan
parent f4d07dc003
commit 817c6370bf
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ router bgp {{ DEVICE_METADATA['localhost']['bgp_asn'] }}
network {{ prefix | ip }}/32 network {{ prefix | ip }}/32
{% elif prefix | ipv6 and name == 'Loopback0' %} {% elif prefix | ipv6 and name == 'Loopback0' %}
address-family ipv6 address-family ipv6
network {{ prefix | ip }}/128 network {{ prefix | ip }}/64
exit-address-family exit-address-family
{% endif %} {% endif %}
{% endfor %} {% endfor %}

View File

@ -55,7 +55,7 @@ router bgp 65100
bgp router-id 10.1.0.32 bgp router-id 10.1.0.32
network 10.1.0.32/32 network 10.1.0.32/32
address-family ipv6 address-family ipv6
network fc00:1::32/128 network fc00:1::32/64
exit-address-family exit-address-family
network 192.168.0.1/27 network 192.168.0.1/27
neighbor 10.0.0.57 remote-as 64600 neighbor 10.0.0.57 remote-as 64600