[dev] Redistribution based on source protocol's attributes

Donald Sharp sharpd at cumulusnetworks.com
Tue Oct 31 08:09:20 EDT 2017


Srinivas -

Currently FRR does not pass community values from bgp into the
rib(zebra).  So there is no way to match on a community currently.

Having said that if someone were to implement this behavior, I see no
reason to not accept it into the code base.

donald

On Tue, Oct 31, 2017 at 6:10 AM, Srinivas K <k.sreenivaas at outlook.com> wrote:
> Does FRR support BGP route redistribution into OSPF using route-maps with
> filtering based on BGP attributes like Cisco. If not let me know how to
> archive it.
>
> Ex: Based on BGP community want to set metric-type, metric and tag values
> (in OSPF)
>
> route-map BGP-TO-OSPF deny 5
>  match community 1
>  set metric-type type-1
>  set metric  10
>  set tag 10101
> exit
> router ospf
>  redistribute bgp route-map BGP-TO-OSPF
> exit
>
>
>
> _______________________________________________
> dev mailing list
> dev at lists.frrouting.org
> https://lists.frrouting.org/listinfo/dev
>



More information about the dev mailing list