]> git.puffer.fish Git - mirror/frr.git/commitdiff
doc: Add `bgp community alias NAME ALIAS` command
authorDonatas Abraitis <donatas.abraitis@gmail.com>
Wed, 21 Apr 2021 19:34:44 +0000 (22:34 +0300)
committerDonatas Abraitis <donatas.abraitis@gmail.com>
Wed, 5 May 2021 13:37:01 +0000 (16:37 +0300)
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
doc/user/bgp.rst

index 314873640d535deb9835a464d1184a4e321074d0..bcbca0ada3fc2b057d5dc56ffe1471dadc1dfad7 100644 (file)
@@ -2022,6 +2022,23 @@ expanded
    attribute in BGP updates. The expanded community is only used to filter,
    not `set` actions.
 
+.. clicmd:: bgp community alias NAME ALIAS
+
+   This command creates an alias name for a community that will be used
+   later in various CLI outputs in a human-readable format.
+
+   .. code-block:: frr
+       ~# show ip bgp 172.16.16.1/32
+       BGP routing table entry for 172.16.16.1/32, version 21
+       Paths: (2 available, best #2, table default)
+         Advertised to non peer-group peers:
+         65030
+           192.168.0.2 from 192.168.0.2 (172.16.16.1)
+             Origin incomplete, metric 0, valid, external, best (Neighbor IP)
+             Community: 65001:12 65001:13 community-1 65001:65534
+             Large Community: lcommunity-1 65001:123:2
+             Last update: Fri Apr 16 12:51:27 2021
+
 .. deprecated:: 5.0
    It is recommended to use the more explicit versions of this command.