summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorvishaldhingra <vdhingra@vmware.com>2019-05-06 12:59:19 +0200
committervishaldhingra <vdhingra@vmware.com>2019-06-19 13:42:48 +0200
commit36a206db6139d6613063163eae423e64524911fb (patch)
treeae3c530fa118dd21f38641eef0135452bf1188f1 /doc
parentbgpd : Support for exact-match in match clause for lcommunity (diff)
downloadfrr-36a206db6139d6613063163eae423e64524911fb.tar.xz
frr-36a206db6139d6613063163eae423e64524911fb.zip
bgpd : Support for exact-match in match clause for lcommunity
FRR has a provision to give exact-match in match clause for standard community, but this option is missing for lcommunity. Part 3 : show related changes for match clause Signed-off-by: vishaldhingra <vdhingra@vmware.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/user/bgp.rst41
1 files changed, 41 insertions, 0 deletions
diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst
index 843d4f4ae..cea6e9754 100644
--- a/doc/user/bgp.rst
+++ b/doc/user/bgp.rst
@@ -2298,8 +2298,49 @@ attribute.
match the specified community list. When `exact-match` is specified, it
displays only routes that have an exact match.
+.. _bgp-display-routes-by-lcommunity:
+
+Displaying Routes by Large Community Attribute
+----------------------------------------------
+
+The following commands allow displaying routes based on their
+large community attribute.
+
+.. index:: show [ip] bgp <ipv4|ipv6> large-community
+.. clicmd:: show [ip] bgp <ipv4|ipv6> large-community
+
+.. index:: show [ip] bgp <ipv4|ipv6> large-community LARGE-COMMUNITY
+.. clicmd:: show [ip] bgp <ipv4|ipv6> large-community LARGE-COMMUNITY
+
+.. index:: show [ip] bgp <ipv4|ipv6> large-community LARGE-COMMUNITY exact-match
+.. clicmd:: show [ip] bgp <ipv4|ipv6> large-community LARGE-COMMUNITY exact-match
+
+.. index:: show [ip] bgp <ipv4|ipv6> large-community LARGE-COMMUNITY json
+.. clicmd:: show [ip] bgp <ipv4|ipv6> large-community LARGE-COMMUNITY json
+
+ 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
+ routes in json format.
+
+.. index:: show [ip] bgp <ipv4|ipv6> large-community-list WORD
+.. clicmd:: show [ip] bgp <ipv4|ipv6> large-community-list WORD
+
+.. index:: show [ip] bgp <ipv4|ipv6> large-community-list WORD exact-match
+.. clicmd:: show [ip] bgp <ipv4|ipv6> large-community-list WORD exact-match
+
+.. index:: show [ip] bgp <ipv4|ipv6> large-community-list WORD json
+.. 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,
+ it display routes in json format.
+
.. _bgp-display-routes-by-as-path:
+
Displaying Routes by AS Path
----------------------------