summaryrefslogtreecommitdiffstats
path: root/pimd/pim6_cmd.c
diff options
context:
space:
mode:
authorSarita Patra <saritap@vmware.com>2022-07-12 13:23:34 +0200
committerSarita Patra <saritap@vmware.com>2022-10-20 10:07:48 +0200
commit0cb98fcd81b2181e20d12b3fdcfd416241bd4261 (patch)
treee0045d66337b601a3ea774ebe39da60ea9f54b06 /pimd/pim6_cmd.c
parentpimd: Add vrf optional parameter in "show ip pim bsr" cmd (diff)
downloadfrr-0cb98fcd81b2181e20d12b3fdcfd416241bd4261.tar.xz
frr-0cb98fcd81b2181e20d12b3fdcfd416241bd4261.zip
pim6d: Add "show ipv6 pim bsr [vrf NAME] [json] cmd"
Signed-off-by: Sarita Patra <saritap@vmware.com>
Diffstat (limited to '')
-rw-r--r--pimd/pim6_cmd.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/pimd/pim6_cmd.c b/pimd/pim6_cmd.c
index a2a7e7c01..fb61c9618 100644
--- a/pimd/pim6_cmd.c
+++ b/pimd/pim6_cmd.c
@@ -1281,6 +1281,18 @@ DEFPY (show_ipv6_pim_interface_traffic,
return pim_show_interface_traffic_helper(vrf, if_name, vty, !!json);
}
+DEFPY (show_ipv6_pim_bsr,
+ show_ipv6_pim_bsr_cmd,
+ "show ipv6 pim bsr [vrf NAME] [json$json]",
+ SHOW_STR
+ IPV6_STR
+ PIM_STR
+ "boot-strap router information\n"
+ VRF_CMD_HELP_STR
+ JSON_STR)
+{
+ return pim_show_bsr_helper(vrf, vty, !!json);
+}
DEFPY (clear_ipv6_pim_statistics,
clear_ipv6_pim_statistics_cmd,
@@ -1803,7 +1815,7 @@ void pim_cmd_init(void)
install_element(VIEW_NODE, &show_ipv6_mroute_summary_cmd);
install_element(VIEW_NODE, &show_ipv6_mroute_summary_vrf_all_cmd);
install_element(VIEW_NODE, &show_ipv6_pim_interface_traffic_cmd);
-
+ install_element(VIEW_NODE, &show_ipv6_pim_bsr_cmd);
install_element(ENABLE_NODE, &clear_ipv6_pim_statistics_cmd);
install_element(ENABLE_NODE, &clear_ipv6_mroute_cmd);
install_element(ENABLE_NODE, &clear_ipv6_pim_oil_cmd);