diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-18 18:50:13 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-21 13:23:59 +0200 |
commit | 87f6dc504d5d227ea66a4da37b350c2fc3df212b (patch) | |
tree | 5a90641311ecdff313ed6de66b7b1efb7949df2f /pimd/pim_cmd.c | |
parent | vtysh: Convert 'show logging' to use helper function. (diff) | |
download | frr-87f6dc504d5d227ea66a4da37b350c2fc3df212b.tar.xz frr-87f6dc504d5d227ea66a4da37b350c2fc3df212b.zip |
*: Add 'show debugging' command from vtysh
Allow vtysh to query every daemon about its
debugging status in one go.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_cmd.c')
-rw-r--r-- | pimd/pim_cmd.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c index 3bffaf855..9c79fd87e 100644 --- a/pimd/pim_cmd.c +++ b/pimd/pim_cmd.c @@ -7254,14 +7254,17 @@ DEFUN (no_debug_msdp_packets, ALIAS(no_debug_msdp_packets, undebug_msdp_packets_cmd, "undebug msdp packets", UNDEBUG_STR DEBUG_MSDP_STR DEBUG_MSDP_PACKETS_STR) -DEFUN (show_debugging_pim, - show_debugging_pim_cmd, - "show debugging pim", - SHOW_STR - DEBUG_STR - PIM_STR) +DEFUN_NOSH (show_debugging_pim, + show_debugging_pim_cmd, + "show debugging [pim]", + SHOW_STR + DEBUG_STR + PIM_STR) { + vty_out(vty, "PIM debugging status\n"); + pim_debug_config_write(vty); + return CMD_SUCCESS; } |