]> git.puffer.fish Git - mirror/frr.git/commitdiff
doc: Add documentation for aggregate-address with route-map support
authorDonatas Abraitis <donatas.abraitis@gmail.com>
Thu, 22 Aug 2019 06:39:33 +0000 (09:39 +0300)
committerDonatas Abraitis <donatas.abraitis@gmail.com>
Fri, 13 Sep 2019 11:52:46 +0000 (14:52 +0300)
Additionally remove trailling/unnecesarry whitespaces and align code
snippets correctly.

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
doc/user/bgp.rst

index 7883d0e4c65041e8507770e4492da6bb27ddb44d..7b3cdf2c4b1f07a6261b45d8e6da3b8b50265c33 100644 (file)
@@ -685,6 +685,11 @@ Route Aggregation-IPv4 Address Family
 
    This command specifies an aggregate address.
 
+.. index:: aggregate-address A.B.C.D/M route-map NAME
+.. clicmd:: aggregate-address A.B.C.D/M route-map NAME
+
+   Apply a route-map for an aggregated prefix.
+
 .. index:: aggregate-address A.B.C.D/M as-set
 .. clicmd:: aggregate-address A.B.C.D/M as-set
 
@@ -699,11 +704,11 @@ Route Aggregation-IPv4 Address Family
 
 .. index:: no aggregate-address A.B.C.D/M
 .. clicmd:: no aggregate-address A.B.C.D/M
-   
+
    This command removes an aggregate address.
 
 
-   This configuration example setup the aggregate-address under 
+   This configuration example setup the aggregate-address under
    ipv4 address-family.
 
    .. code-block:: frr
@@ -713,6 +718,7 @@ Route Aggregation-IPv4 Address Family
         aggregate-address 10.0.0.0/8
         aggregate-address 20.0.0.0/8 as-set
         aggregate-address 40.0.0.0/8 summary-only
+        aggregate-address 50.0.0.0/8 route-map aggr-rmap
        exit-address-family
 
 
@@ -726,6 +732,11 @@ Route Aggregation-IPv6 Address Family
 
    This command specifies an aggregate address.
 
+.. index:: aggregate-address X:X::X:X/M route-map NAME
+.. clicmd:: aggregate-address X:X::X:X/M route-map NAME
+
+   Apply a route-map for an aggregated prefix.
+
 .. index:: aggregate-address X:X::X:X/M as-set
 .. clicmd:: aggregate-address X:X::X:X/M as-set
 
@@ -744,16 +755,17 @@ Route Aggregation-IPv6 Address Family
    This command removes an aggregate address.
 
 
-   This configuration example setup the aggregate-address under 
-   ipv4 address-family.
+   This configuration example setup the aggregate-address under
+   ipv6 address-family.
 
    .. code-block:: frr
 
       router bgp 1
        address-family ipv6 unicast
         aggregate-address 10::0/64
-       aggregate-address 20::0/64 as-set
-       aggregate-address 40::0/64 summary-only
+        aggregate-address 20::0/64 as-set
+        aggregate-address 40::0/64 summary-only
+        aggregate-address 50::0/64 route-map aggr-rmap
        exit-address-family
 
 .. _bgp-redistribute-to-bgp:
@@ -2321,7 +2333,7 @@ attribute.
 Displaying Routes by Large Community Attribute
 ----------------------------------------------
 
-The following commands allow displaying routes based on their 
+The following commands allow displaying routes based on their
 large community attribute.
 
 .. index:: show [ip] bgp <ipv4|ipv6> large-community
@@ -2338,8 +2350,8 @@ large community attribute.
 
    These commands display BGP routes which have the large community attribute.
    attribute. When ``LARGE-COMMUNITY`` is specified, BGP routes that match that
-   large community are displayed. When `exact-match` is specified, it display 
-   only routes that have an exact match. When `json` is specified, it display 
+   large community are displayed. When `exact-match` is specified, it display
+   only routes that have an exact match. When `json` is specified, it display
    routes in json format.
 
 .. index:: show [ip] bgp <ipv4|ipv6> large-community-list WORD
@@ -2352,8 +2364,8 @@ large community attribute.
 .. clicmd:: show [ip] bgp <ipv4|ipv6> large-community-list WORD json
 
    These commands display BGP routes for the address family specified that
-   match the specified large community list. When `exact-match` is specified, 
-   it displays only routes that have an exact match. When `json` is specified, 
+   match the specified large community list. When `exact-match` is specified,
+   it displays only routes that have an exact match. When `json` is specified,
    it display routes in json format.
 
 .. _bgp-display-routes-by-as-path: