From 4300ed10048eefaf4a27e7320da61bc85d326908 Mon Sep 17 00:00:00 2001 From: Chirag Shah Date: Tue, 20 Dec 2022 19:32:35 -0800 Subject: [PATCH] doc: add documentation for show vrf vni Signed-off-by: Chirag Shah --- doc/user/evpn.rst | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/doc/user/evpn.rst b/doc/user/evpn.rst index 7c16e1f4ab..7c4d9fe7d9 100644 --- a/doc/user/evpn.rst +++ b/doc/user/evpn.rst @@ -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 [] 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 -- 2.39.5