You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seen in Version 10.1.1 and 8.4, probably in all versions.
When we configure a BGP peer as "soft-reconfiguration inbound", the command "show ip bgp neigh x.x.x.x received-routes" should show the BGP routes before any route-maps. However, in FRR the routes are seen after the route-maps are applied (and with the changes from the route-maps)
Version
Release version 10.1.1 (And also verified in 8.4 which has same issue)
How to reproduce
Create 2 routers and announce some routes from one router (R1) to the other router (R2). On R2 apply a route-map with an inbound AS-path prepend and configure soft-reconfiguration inbound.
The output of the show bgp neighbor <r2 ip> received-routes shows the routes with the prepended AS path.
Example snippet of config on R2 (receiving router):
Example output for my setup on what I would expect (and is seen on other platforms, i.e. Cisco):
# sh ip bgp neigh 192.168.3.2 received-routes
BGP table version is 37, local router ID is 192.168.0.0, vrf id 0
Default local pref 100, local AS 1000
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 13.13.13.13/32 192.168.3.2 0 0 2000 2001 i
*> 192.168.0.0/32 192.168.3.2 0 2000 1000 i
*> 192.168.0.1/32 192.168.3.2 0 2000 1000 65000 i
*> 192.168.0.2/32 192.168.3.2 0 2000 1000 65001 i
*> 192.168.0.3/32 192.168.3.2 0 0 2000 i
*> 192.168.100.0/24 192.168.3.2 0 2000 1000 i
*> 192.168.101.0/24 192.168.3.2 0 2000 1000 65000 i
*> 192.168.102.0/24 192.168.3.2 0 2000 1000 65001 i
*> 192.168.103.0/24 192.168.3.2 0 0 2000 i
Total number of prefixes 9
Actual behavior
Current output as seen:
# sh ip bgp neigh 192.168.3.2 received-routes
BGP table version is 37, local router ID is 192.168.0.0, vrf id 0
Default local pref 100, local AS 1000
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 13.13.13.13/32 192.168.3.2 0 0 1111 2222 3333 2000 2001 i
*> 192.168.0.0/32 192.168.3.2 0 1111 2222 3333 2000 1000 i
*> 192.168.0.1/32 192.168.3.2 0 1111 2222 3333 2000 1000 65000 i
*> 192.168.0.2/32 192.168.3.2 0 1111 2222 3333 2000 1000 65001 i
*> 192.168.0.3/32 192.168.3.2 0 0 1111 2222 3333 2000 i
*> 192.168.100.0/24 192.168.3.2 0 1111 2222 3333 2000 1000 i
*> 192.168.101.0/24 192.168.3.2 0 1111 2222 3333 2000 1000 65000 i
*> 192.168.102.0/24 192.168.3.2 0 1111 2222 3333 2000 1000 65001 i
*> 192.168.103.0/24 192.168.3.2 0 0 1111 2222 3333 2000 i
Total number of prefixes 9
Additional context
Filter-lists seem to work correctly. So if I have a prefix-list filtering inbound routes, the sh ip bgp neigh 192.168.3.2 received-routes still shows the routes and only the sh ip bgp neigh 192.168.3.2 routes has them filtered out
Checklist
I have searched the open issues for this bug.
I have not included sensitive information in this report.
The text was updated successfully, but these errors were encountered:
Description
Seen in Version 10.1.1 and 8.4, probably in all versions.
When we configure a BGP peer as "soft-reconfiguration inbound", the command "show ip bgp neigh x.x.x.x received-routes" should show the BGP routes before any route-maps. However, in FRR the routes are seen after the route-maps are applied (and with the changes from the route-maps)
Version
How to reproduce
Create 2 routers and announce some routes from one router (R1) to the other router (R2). On R2 apply a route-map with an inbound AS-path prepend and configure
soft-reconfiguration inbound
.The output of the
show bgp neighbor <r2 ip> received-routes
shows the routes with the prepended AS path.Example snippet of config on R2 (receiving router):
Expected behavior
Example output for my setup on what I would expect (and is seen on other platforms, i.e. Cisco):
Actual behavior
Current output as seen:
Additional context
Filter-lists seem to work correctly. So if I have a prefix-list filtering inbound routes, the
sh ip bgp neigh 192.168.3.2 received-routes
still shows the routes and only thesh ip bgp neigh 192.168.3.2 routes
has them filtered outChecklist
The text was updated successfully, but these errors were encountered: