From 9a339b7fc5190ef494f8b252150e6dbf1c4723ce Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Wed, 4 Aug 2021 10:41:02 +0300 Subject: [PATCH] doc: Specify how aggregate-address works for BGP Signed-off-by: Donatas Abraitis --- doc/user/bgp.rst | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) 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 -- 2.39.5