From: Donatas Abraitis Date: Wed, 4 Aug 2021 07:41:02 +0000 (+0300) Subject: doc: Specify how aggregate-address works for BGP X-Git-Tag: base_8.1~229^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=9a339b7fc5190ef494f8b252150e6dbf1c4723ce;p=matthieu%2Ffrr.git doc: Specify how aggregate-address works for BGP Signed-off-by: Donatas Abraitis --- diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst index ef72c5030a..b1592cf10a 100644 --- a/doc/user/bgp.rst +++ b/doc/user/bgp.rst @@ -1128,6 +1128,13 @@ Route Aggregation-IPv4 Address Family This command specifies an aggregate address. + In order to advertise an aggregated prefix, a more specific (longer) prefix + MUST exist in the BGP table. For example, if you want to create an + ``aggregate-address 10.0.0.0/24``, you should make sure you have something + like ``10.0.0.5/32`` or ``10.0.0.0/26``, or any other smaller prefix in the + BGP table. The routing information table (RIB) is not enough, you have to + redistribute them into the BGP table. + .. clicmd:: aggregate-address A.B.C.D/M route-map NAME Apply a route-map for an aggregated prefix. @@ -1143,8 +1150,9 @@ Route Aggregation-IPv4 Address Family .. clicmd:: aggregate-address A.B.C.D/M summary-only - This command specifies an aggregate address. Aggregated routes will - not be announced. + This command specifies an aggregate address. + + Longer prefixes advertisements of more specific routes to all neighbors are suppressed. .. clicmd:: aggregate-address A.B.C.D/M matching-MED-only @@ -1195,8 +1203,9 @@ Route Aggregation-IPv6 Address Family .. clicmd:: aggregate-address X:X::X:X/M summary-only - This command specifies an aggregate address. Aggregated routes will - not be announced. + This command specifies an aggregate address. + + Longer prefixes advertisements of more specific routes to all neighbors are suppressed .. clicmd:: aggregate-address X:X::X:X/M matching-MED-only