Project

General

Profile

Actions

Bug #11271

closed

Setting default-originate in FRR/BGP Silently Appends a route-map

Added by Chris Linstruth about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
FRR
Target version:
-
Start date:
01/20/2021
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
2.4.5-p1
Affected Plus Version:
Affected Architecture:

Description

When setting default-priginate on a BGP neighbor thew user is presented with four choices by default:

  • No
  • IPv4
  • IPv6
  • IPv4+6

Appended to that list are any route maps the administrator has created. These selections add the following lines to the neighbor configuration:

No: No default-originate line added
IPv4: neighbor 172.25.228.5 default-originate route-map ipv4
IPv6: neighbor 172.25.228.5 default-originate route-map ipv6
IPv4+IPv6: neighbor 172.25.228.5 default-originate

The IPv4 and IPv6 selections will filter the route unless the administrator manually creates the ipv4 or ipv6 route maps. This is added silently, however, and there is no clue the default-originate is being filtered by a route map.

Selecting IPv4+IPv6 announces the route but it is counter-intuitive for someone creating an IPv4-only peer to select IPv4+IPv6, and vice-versa.

Maybe it would be better to just have a checkbox to add default-originate with the option to add a route map from a list of configured route maps or not?

Thank you.

Actions

Also available in: Atom PDF