set protocols bgp <AS> parameters default no-ipv4-unicast
I ran into this, I exported all my IPv4 routes via bgp sessions using IPv6 because I didn't set a deny any AFI IPv4 route-map.
set protocols bgp <AS> parameters default no-ipv4-unicast
I ran into this, I exported all my IPv4 routes via bgp sessions using IPv6 because I didn't set a deny any AFI IPv4 route-map.
If this is set as defaults there must be a way to enable IPv4 unicast for selected peers?
I tried doing the obvious thing:
vyos@bgp2# set neighbor 10.63.52.73 address-family ipv4-unicast Configuration path: neighbor 10.63.52.73 address-family [ipv4-unicast] is not valid Set failed
This is on VyOS 1.1.7, maybe I am missing something? I get config commit errors if setting this option for my IPv4 peers.
I think it leads to incompatibilities with other device's default behavior - cisco, for example, exports/imports everything, if another behavior not stated explicitly, AFAIR.
Hello,
changing this to wish list
@dmbaturin can you check out and take decision if this should be implemented or not
Thanks
@syncer @dmbaturin
I found the following discussion on Cisco forum very explainable
https://supportforums.cisco.com/discussion/11476526/when-use-bgp-address-family
So Cisco does it the same as Vyos currently so default is with IPv4 done for backwards compatibility with non-multiprotocol routers.
The option parameters default no-ipv4-unicast would be nice because i now have to create a prefix list to filter all IPv4 on IPv6 BGP peers.
And indeed then we would need address-family ipv4-unicast to enable it.