[FROG] How to import route and NOT withdraw existing route ?

Simon Jones batmanustc at gmail.com
Mon Mar 23 22:56:07 EDT 2020


Hi all,

Now I need a feature, I have to import neighbor as vlink route into bgpd.

So I use static route like this:

> vtysh
> ip route 1.1.1.1/32 Vlan100
> redistribute static route-map XXX


But I encounter a problem:

> before I add static route, there are B route like this:
> B   2.2.2.100/32 [20/0] via 100.0.28.231, Ethernet52, src 1.1.1.230,
> 3d03h18m
> after I add static route, there are two route like this:
> S>* 2.2.2.100/32 [1/0] is directly connected, Vlan100
> B   2.2.2.100/32 [20/0] via 100.0.28.231, Ethernet52, src 1.1.1.230,
> 3d03h18m
> after I redistribute, there are only one route like this:
> S>* 2.2.2.100/32 [1/0] is directly connected, Vlan100


But what I need is to keep two route.
Because if there is only one route, I have to relearn B route after I
delete static route, which will cause package loss in long time(like 20
second).

For some producer like huawei, thay have 'import route' command, which will
combine redistributed route and learned route, like this:
https://support.huawei.com/enterprise/en/doc/EDOC1000178171/cc777bfe/configuring-bgp-to-import-routes

So will FRR support this feature ?
How to import route and NOT withdraw existing route ?

----
Simon Jones
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frrouting.org/pipermail/frog/attachments/20200324/0cc78185/attachment.html>


More information about the frog mailing list