Re: The function return true but it could not be export

2021-06-08 Thread Alexander Zubkov
Hello, Maybe all your peers have the same AS number? BGP by default does not pass routes among internal peers. On Mon, Jun 7, 2021 at 3:07 PM 智慧雨泽 wrote: > > Hi everyone ,I'm using bird2.I wanna export 2602:feda:ab2::/48 from LL_IX to > TOHU_IX. > LL_IX BGP---up 12:24:1

Re: The function return true but it could not be export

2021-06-07 Thread 智慧雨泽
Hi everyone ,I'm using bird2.I wanna export 2602:feda:ab2::/48 from LL_IX to TOHU_IX. LL_IX BGP---up 12:24:16.896 Established TOHU_IXBGP---up 12:14:34.736 Established bird> show route protocol LL_IX where bgp_path.len = 0 Table master6: 2602:feda:

Re: The function return true but it could not be export

2021-06-06 Thread Maria Matějka
Hello! I'd try: * "show route noexport all" to see what may be the reason to drop the route * add some logging to the filter to see why it is dropped BTW, what version are you using? As far as I remember, the BGP attributes are behaving differently on export in 1.6 and 2.0 Maria On June 6, 202

Re: The function return true but it could not be export

2021-06-06 Thread Alexander Zubkov
Hi, I can guess that when you export to BGP, it prepends your AS before the filter, so your check for "bgp_path.len = 0" turns false. On Sun, Jun 6, 2021 at 5:31 AM 智慧雨泽 wrote: > > Hi,The function i wrote correctly returns net. > > bird> show route 2602:feda:ab2::/48 where bgp_export_all() > Tab

The function return true but it could not be export

2021-06-05 Thread 智慧雨泽
Hi,The function i wrote correctly returns net. bird> show route 2602:feda:ab2::/48 where bgp_export_all() Table master6: 2602:feda:ab2::/48 unicast [LL_IX 02:19:31.236] * (100) [i] via 2602:feda:ab2::1 on ll-ix But it could be export. bird> show route export TOHU_IX for 2602:feda:ab2::/4