Merge pull request #6301 from pguibert6WIND/bfd_debug_show

bfdd: display debugging status of bfd
This commit is contained in:
Rafael Zalamena 2020-04-27 15:12:07 -03:00 committed by GitHub
commit c516ebf90f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -878,9 +878,12 @@ DEFUN_NOSH(show_debugging_bfd,
"BFD daemon\n")
{
vty_out(vty, "BFD debugging status:\n");
vty_out(vty, " Peer events debugging.\n");
vty_out(vty, " Zebra events debugging.\n");
vty_out(vty, " Network layer debugging.\n");
if (bglobal.debug_peer_event)
vty_out(vty, " Peer events debugging is on.\n");
if (bglobal.debug_zebra)
vty_out(vty, " Zebra events debugging is on.\n");
if (bglobal.debug_network)
vty_out(vty, " Network layer debugging is on.\n");
return CMD_SUCCESS;
}