bgpd: Add missing [ip] qualifiers to a couple BGP commands

Missed these when I was unifying the `show bgp` and
`show ip bgp` command trees.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
Quentin Young 2016-11-17 21:33:04 +00:00
parent 98cfd06b41
commit 7fa12b130f

View File

@ -6066,7 +6066,7 @@ DEFUN (show_bgp_vrfs,
DEFUN (show_bgp_memory,
show_bgp_memory_cmd,
"show bgp memory",
"show [ip] bgp memory",
SHOW_STR
BGP_STR
"Global BGP memory statistics\n")
@ -8565,7 +8565,7 @@ DEFUN (show_ip_bgp_neighbors,
same.*/
DEFUN (show_ip_bgp_paths,
show_ip_bgp_paths_cmd,
"show ip bgp paths",
"show [ip] bgp [<unicast|multicast>] paths",
SHOW_STR
IP_STR
BGP_STR
@ -8576,23 +8576,6 @@ DEFUN (show_ip_bgp_paths,
return CMD_SUCCESS;
}
DEFUN (show_ip_bgp_ipv4_paths,
show_ip_bgp_ipv4_paths_cmd,
"show ip bgp ipv4 <unicast|multicast> paths",
SHOW_STR
IP_STR
BGP_STR
"Address Family\n"
"Address Family modifier\n"
"Address Family modifier\n"
"Path information\n")
{
vty_out (vty, "Address Refcnt Path\r\n");
aspath_print_all_vty (vty);
return CMD_SUCCESS;
}
#include "hash.h"
static void
@ -10738,7 +10721,6 @@ bgp_vty_init (void)
/* "show ip bgp paths" commands. */
install_element (VIEW_NODE, &show_ip_bgp_paths_cmd);
install_element (VIEW_NODE, &show_ip_bgp_ipv4_paths_cmd);
/* "show ip bgp community" commands. */
install_element (VIEW_NODE, &show_ip_bgp_community_info_cmd);