diff options
| author | Donald Sharp <sharpd@cumulusnetwroks.com> | 2016-08-23 16:22:14 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-12-21 20:26:07 -0500 |
| commit | 00d07c6fda1ef744eb2e7481beeb85aa31bf61d6 (patch) | |
| tree | fd1260d98f5cc3a062498adc39c6bb03806dcdc6 /pimd/pim_cmd.c | |
| parent | bb6e291f3bab84ae623d6c4c05de2bc7eba837c9 (diff) | |
pimd: Add "show ip pim rp-info" command
List the RP information we have configured.
Fix bug where we were not properly initializing some code
Ticket: CM-12617
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_cmd.c')
| -rw-r--r-- | pimd/pim_cmd.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c index bd3a85abb0..bbc1de3443 100644 --- a/pimd/pim_cmd.c +++ b/pimd/pim_cmd.c @@ -2004,6 +2004,19 @@ DEFUN (show_ip_pim_upstream_rpf, return CMD_SUCCESS; } +DEFUN (show_ip_pim_rp, + show_ip_pim_rp_cmd, + "show ip pim rp-info ", + SHOW_STR + IP_STR + PIM_STR + "PIM RP information\n") +{ + pim_rp_show_information (vty); + + return CMD_SUCCESS; +} + DEFUN (show_ip_pim_rpf, show_ip_pim_rpf_cmd, "show ip pim rpf", @@ -4863,6 +4876,7 @@ void pim_cmd_init() install_element (VIEW_NODE, &show_ip_pim_upstream_cmd); install_element (VIEW_NODE, &show_ip_pim_upstream_join_desired_cmd); install_element (VIEW_NODE, &show_ip_pim_upstream_rpf_cmd); + install_element (VIEW_NODE, &show_ip_pim_rp_cmd); install_element (VIEW_NODE, &show_ip_multicast_cmd); install_element (VIEW_NODE, &show_ip_mroute_cmd); install_element (VIEW_NODE, &show_ip_mroute_count_cmd); |
