diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-06-05 19:15:47 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-07-24 19:51:38 +0200 |
commit | 56c238c9e9a207d878ecb8e7e8693db474b99fc8 (patch) | |
tree | 477f593adaa5339f42f3b4bbe080cba8fae251a8 /pimd/pim_cmd.c | |
parent | pimd: Reschedule the correct interface for incoming packets (diff) | |
download | frr-56c238c9e9a207d878ecb8e7e8693db474b99fc8.tar.xz frr-56c238c9e9a207d878ecb8e7e8693db474b99fc8.zip |
pimd: Add 'debug pim trace detail' command
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_cmd.c')
-rw-r--r-- | pimd/pim_cmd.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c index dd890c39e..eb075ab0b 100644 --- a/pimd/pim_cmd.c +++ b/pimd/pim_cmd.c @@ -6503,6 +6503,17 @@ DEFUN (debug_pim_trace, return CMD_SUCCESS; } +DEFUN (debug_pim_trace_detail, + debug_pim_trace_detail_cmd, + "debug pim trace detail", + DEBUG_STR + DEBUG_PIM_STR + DEBUG_PIM_TRACE_STR) +{ + PIM_DO_DEBUG_PIM_TRACE_DETAIL; + return CMD_SUCCESS; +} + DEFUN (no_debug_pim_trace, no_debug_pim_trace_cmd, "no debug pim trace", @@ -6515,6 +6526,18 @@ DEFUN (no_debug_pim_trace, return CMD_SUCCESS; } +DEFUN (no_debug_pim_trace_detail, + no_debug_pim_trace_detail_cmd, + "no debug pim trace", + NO_STR + DEBUG_STR + DEBUG_PIM_STR + DEBUG_PIM_TRACE_STR) +{ + PIM_DONT_DEBUG_PIM_TRACE_DETAIL; + return CMD_SUCCESS; +} + DEFUN (debug_ssmpingd, debug_ssmpingd_cmd, "debug ssmpingd", @@ -7817,6 +7840,8 @@ void pim_cmd_init(void) install_element(ENABLE_NODE, &no_debug_pim_packetdump_recv_cmd); install_element(ENABLE_NODE, &debug_pim_trace_cmd); install_element(ENABLE_NODE, &no_debug_pim_trace_cmd); + install_element(ENABLE_NODE, &debug_pim_trace_detail_cmd); + install_element(ENABLE_NODE, &no_debug_pim_trace_detail_cmd); install_element(ENABLE_NODE, &debug_ssmpingd_cmd); install_element(ENABLE_NODE, &no_debug_ssmpingd_cmd); install_element(ENABLE_NODE, &debug_pim_zebra_cmd); @@ -7853,6 +7878,8 @@ void pim_cmd_init(void) install_element(CONFIG_NODE, &no_debug_pim_packets_cmd); install_element(CONFIG_NODE, &debug_pim_trace_cmd); install_element(CONFIG_NODE, &no_debug_pim_trace_cmd); + install_element(CONFIG_NODE, &debug_pim_trace_detail_cmd); + install_element(CONFIG_NODE, &no_debug_pim_trace_detail_cmd); install_element(CONFIG_NODE, &debug_ssmpingd_cmd); install_element(CONFIG_NODE, &no_debug_ssmpingd_cmd); install_element(CONFIG_NODE, &debug_pim_zebra_cmd); |