summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2021-04-21 21:34:44 +0200
committerDonatas Abraitis <donatas.abraitis@gmail.com>2021-05-05 15:37:01 +0200
commit76b40371fe8aba9d55c5c6c54a234886dc1a3397 (patch)
treeaa25fd5b08be9fedb98c00bc49f96df073741919 /doc
parentbgpd: Create BGP alias names for community/large-community (diff)
downloadfrr-76b40371fe8aba9d55c5c6c54a234886dc1a3397.tar.xz
frr-76b40371fe8aba9d55c5c6c54a234886dc1a3397.zip
doc: Add `bgp community alias NAME ALIAS` command
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/user/bgp.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst
index 314873640..bcbca0ada 100644
--- a/doc/user/bgp.rst
+++ b/doc/user/bgp.rst
@@ -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.