summaryrefslogtreecommitdiffstats
path: root/bgpd
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2016-11-17 22:33:04 +0100
committerQuentin Young <qlyoung@cumulusnetworks.com>2016-11-17 22:33:04 +0100
commit7fa12b130fd48aac63fccedb99411fcdeb11ce51 (patch)
tree9a03e42924af72db43dd5fcbf0ef18412abd326f /bgpd
parentlib, ospf6d: Change SECONDS_STR to be more generic (diff)
downloadfrr-7fa12b130fd48aac63fccedb99411fcdeb11ce51.tar.xz
frr-7fa12b130fd48aac63fccedb99411fcdeb11ce51.zip
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>
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/bgp_vty.c22
1 files changed, 2 insertions, 20 deletions
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c
index 148d8f19a..517684a57 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -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);