]> git.puffer.fish Git - matthieu/frr.git/commitdiff
doc: Specify how aggregate-address works for BGP
authorDonatas Abraitis <donatas.abraitis@gmail.com>
Wed, 4 Aug 2021 07:41:02 +0000 (10:41 +0300)
committerDonatas Abraitis <donatas.abraitis@gmail.com>
Thu, 5 Aug 2021 06:08:29 +0000 (09:08 +0300)
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
doc/user/bgp.rst

index ef72c5030a1ceb6158206f0f8bd214e9b5eee331..b1592cf10a0eacb8b04602a1d411c457299101a7 100644 (file)
@@ -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