]> git.puffer.fish Git - mirror/frr.git/commitdiff
doc: add documentation for show vrf vni 12449/head
authorChirag Shah <chirag@nvidia.com>
Wed, 21 Dec 2022 03:32:35 +0000 (19:32 -0800)
committerChirag Shah <chirag@nvidia.com>
Fri, 13 Jan 2023 21:49:21 +0000 (13:49 -0800)
Signed-off-by: Chirag Shah <chirag@nvidia.com>
doc/user/evpn.rst

index 7c16e1f4ab5dfd0d763960c59981c07e6c4d37e9..7c4d9fe7d9091bc4e9f63d243551f8eb840635c6 100644 (file)
@@ -509,4 +509,22 @@ Displaying EVPN information
 .. clicmd:: show evpn mac vni (1-16777215) detail [json]
 
    Display detailed information about MAC addresses for
-   a specified VNI.
\ No newline at end of file
+   a specified VNI.
+
+.. clicmd:: show vrf [<NAME$vrf_name|all$vrf_all>] vni [json]
+
+   Displays VRF to L3VNI mapping. It also displays L3VNI associated
+   router-mac, svi interface and vxlan interface.
+   User can get that information as JSON format when ``json`` keyword
+   at the end of cli is presented.
+
+   .. code-block:: frr
+
+      tor2# show vrf vni
+      VRF                                   VNI        VxLAN IF             L3-SVI               State Rmac
+      sym_1                                 9288       vxlan21              vlan210_l3           Up    21:31:36:ff:ff:20
+      sym_2                                 9289       vxlan21              vlan210_l3           Up    21:31:36:ff:ff:20
+      sym_3                                 9290       vxlan21              vlan210_l3           Up    21:31:36:ff:ff:20
+      tor2# show vrf sym_1 vni
+      VRF                                   VNI        VxLAN IF             L3-SVI               State Rmac
+      sym_1                                 9288       vxlan21              vlan210_l3           Up    44:38:36:ff:ff:20