summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorTrey Aspelund <taspelund@nvidia.com>2021-03-19 07:37:43 +0100
committerTrey Aspelund <taspelund@nvidia.com>2021-03-19 16:25:16 +0100
commit150dbc5e94198da1a4d2825339ec61a5f6e829eb (patch)
treeff8c0edccaea37aeda0f7eeeae8f09a178ebfc5a /doc
parentbgpd: Add 'rd all' keyword to EVPN/L3VPN show cmds (diff)
downloadfrr-150dbc5e94198da1a4d2825339ec61a5f6e829eb.tar.xz
frr-150dbc5e94198da1a4d2825339ec61a5f6e829eb.zip
doc: Add Displaying Routes by RD section
Add docs for commands to display BGP table per-RD. Also update commands to mention flowspec, routes, advertised-routes, and received-routes. Signed-off-by: Trey Aspelund <taspelund@nvidia.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/user/bgp.rst37
1 files changed, 32 insertions, 5 deletions
diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst
index 3f8dafa09..b530c92fa 100644
--- a/doc/user/bgp.rst
+++ b/doc/user/bgp.rst
@@ -3138,17 +3138,15 @@ structure is extended with :clicmd:`show bgp [afi] [safi]`.
.. clicmd:: show bgp [afi] [safi] [all] [wide|json]
-.. clicmd:: show bgp <ipv4|ipv6> <unicast|multicast|vpn|labeled-unicast>
+.. clicmd:: show bgp [<ipv4|ipv6> <unicast|multicast|vpn|labeled-unicast|flowspec> | l2vpn evpn]
These commands display BGP routes for the specific routing table indicated by
the selected afi and the selected safi. If no afi and no safi value is given,
the command falls back to the default IPv6 routing table.
- For EVPN prefixes, you can display the full BGP table for this AFI/SAFI
- using the standard `show bgp [afi] [safi]` syntax.
.. clicmd:: show bgp l2vpn evpn route [type <macip|2|multicast|3|es|4|prefix|5>]
- Additionally, you can also filter this output by route type.
+ EVPN prefixes can also be filtered by EVPN route type.
.. clicmd:: show bgp [afi] [safi] [all] summary [json]
@@ -3165,11 +3163,21 @@ structure is extended with :clicmd:`show bgp [afi] [safi]`.
Show a bgp peer summary for peers that are succesfully exchanging routes
for the specified address family, and subsequent address-family.
-.. clicmd:: show bgp [afi] [safi] neighbor [PEER]
+.. clicmd:: show bgp [afi] [safi] [neighbor [PEER] [routes|advertised-routes|received-routes] [json]
This command shows information on a specific BGP peer of the relevant
afi and safi selected.
+ The ``routes`` keyword displays only routes in this address-family's BGP
+ table that were received by this peer and accepted by inbound policy.
+
+ The ``advertised-routes`` keyword displays only the routes in this
+ address-family's BGP table that were permitted by outbound policy and
+ advertised to to this peer.
+
+ The ``received-routes`` keyword displays all routes belonging to this
+ address-family (prior to inbound policy) that were received by this peer.
+
.. clicmd:: show bgp [afi] [safi] [all] dampening dampened-paths [wide|json]
Display paths suppressed due to dampening of the selected afi and safi
@@ -3331,6 +3339,25 @@ Displaying Routes by AS Path
Print a summary of neighbor connections for the specified AFI/SAFI combination.
+Displaying Routes by Route Distinguisher
+----------------------------------------
+
+.. clicmd:: show bgp [<ipv4|ipv6> vpn | l2vpn evpn [route]] rd <all|RD>
+
+ For L3VPN and EVPN address-families, routes can be displayed on a per-RD
+ (Route Distinguisher) basis or for all RD's.
+
+.. clicmd:: show bgp l2vpn evpn rd <all|RD> [overlay | tags]
+
+ Use the ``overlay`` or ``tags`` keywords to display the overlay/tag
+ information about the EVPN prefixes in the selected Route Distinguisher.
+
+.. clicmd:: show bgp l2vpn evpn route rd <all|RD> mac <MAC> [ip <MAC>] [json]
+
+ For EVPN Type 2 (macip) routes, a MAC address (and optionally an IP address)
+ can be supplied to the command to only display matching prefixes in the
+ specified RD.
+
Displaying Update Group Information
-----------------------------------