Page MenuHomeVyOS Platform

Add no-ipv4-unicast option
Closed, DuplicatePublicENHANCEMENT

Description

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.

Details

Difficulty level
Easy (less than an hour)
Version
-

Event Timeline

Unknown Object (User) created this task.Mar 31 2016, 6:10 PM
syncer triaged this task as High priority.Mar 31 2016, 7:37 PM
syncer added a project: VyOS 1.1.x (1.1.8).

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.

syncer lowered the priority of this task from High to Wishlist.Jun 2 2016, 6:16 PM
syncer added subscribers: dmbaturin, syncer.

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.

syncer renamed this task from Saner BGP default configuration. to Add no-ipv4-unicast option.Oct 20 2018, 4:33 AM
syncer set Version to -.
syncer changed the subtype of this task from "Task" to "Enhancement".Oct 20 2018, 4:49 AM