From 0fab764623d516b1e652d3c43a9978e994ac068b Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Wed, 1 Jun 2016 15:34:21 -0400 Subject: [PATCH] vtysh: Add code to allow pimd show running specific Add code to allow the show run command to accept and display the pimd specific configuration. Ticket: CM-11218 Signed-off-by: Donald Sharp Reviewed-by: Don Slice --- vtysh/vtysh.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c index f5190fb0be..8e39e9349e 100644 --- a/vtysh/vtysh.c +++ b/vtysh/vtysh.c @@ -2062,7 +2062,7 @@ DEFUN (vtysh_write_terminal, DEFUN (vtysh_write_terminal_daemon, vtysh_write_terminal_daemon_cmd, - "write terminal (zebra|ripd|ripngd|ospfd|ospf6d|bgpd|isisd)", + "write terminal (zebra|ripd|ripngd|ospfd|ospf6d|bgpd|isisd|pimd)", "Write running configuration to memory, network, or terminal\n" "Write to terminal\n" "For the zebra daemon\n" @@ -2071,7 +2071,8 @@ DEFUN (vtysh_write_terminal_daemon, "For the ospf daemon\n" "For the ospfv6 daemon\n" "For the bgp daemon\n" - "For the isis daemon\n") + "For the isis daemon\n" + "For the pim daemon\n") { unsigned int i; int ret = CMD_SUCCESS; @@ -2258,7 +2259,7 @@ ALIAS (vtysh_write_terminal, ALIAS (vtysh_write_terminal_daemon, vtysh_show_running_config_daemon_cmd, - "show running-config (zebra|ripd|ripngd|ospfd|ospf6d|bgpd|isisd)", + "show running-config (zebra|ripd|ripngd|ospfd|ospf6d|bgpd|isisd|pimd)", SHOW_STR "Current operating configuration\n" "For the zebra daemon\n" @@ -2267,7 +2268,8 @@ ALIAS (vtysh_write_terminal_daemon, "For the ospf daemon\n" "For the ospfv6 daemon\n" "For the bgp daemon\n" - "For the isis daemon\n") + "For the isis daemon\n" + "For the pim daemon\n") DEFUN (vtysh_terminal_length, vtysh_terminal_length_cmd, -- 2.39.5