From 5bfa80138ffedce11baf6b6e778de5674f0b3459 Mon Sep 17 00:00:00 2001 From: Chirag Shah Date: Fri, 6 Jan 2023 13:09:36 -0800 Subject: [PATCH] doc: add documentation for show bgp vrfs Signed-off-by: Chirag Shah --- doc/user/bgp.rst | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst index 97d71b4e38..7f97491630 100644 --- a/doc/user/bgp.rst +++ b/doc/user/bgp.rst @@ -4150,6 +4150,28 @@ structure is extended with :clicmd:`show bgp [afi] [safi]`. .. clicmd:: show bgp [afi] [safi] [all] [wide|json] +.. clicmd:: show bgp vrfs [] [json] + + The command displays all bgp vrf instances basic info like router-id, + configured and established neighbors, + evpn related basic info like l3vni, router-mac, vxlan-interface. + User can get that information as JSON format when ``json`` keyword + at the end of cli is presented. + + .. code-block:: frr + + torc-11# show bgp vrfs + Type Id routerId #PeersCfg #PeersEstb Name + L3-VNI RouterMAC Interface + DFLT 0 17.0.0.6 3 3 default + 0 00:00:00:00:00:00 unknown + VRF 21 17.0.0.6 0 0 sym_1 + 8888 34:11:12:22:22:01 vlan4034_l3 + VRF 32 17.0.0.6 0 0 sym_2 + 8889 34:11:12:22:22:01 vlan4035_l3 + + Total number of VRFs (including default): 3 + .. clicmd:: show bgp [ | l2vpn evpn] These commands display BGP routes for the specific routing table indicated by -- 2.39.5