
balajig81 at gmail
Jul 18, 2012, 9:42 AM
Post #1 of 3
(197 views)
Permalink
|
|
[PATCH] [Zebra]: Changed the show command show ip/ipv6 mroute to show ip/ipv6 mbgp
|
|
From: "G.Balaji" <balajig81 [at] gmail> --- zebra/zebra_vty.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c index 743c13f..917be52 100644 --- a/zebra/zebra_vty.c +++ b/zebra/zebra_vty.c @@ -1198,15 +1198,15 @@ DEFUN (show_ip_protocol, } /* - * Show IP mroute command to dump the BGP Multicast + * Show IP mbgp command to dump the BGP Multicast * routing table */ -DEFUN (show_ip_mroute, - show_ip_mroute_cmd, - "show ip mroute", +DEFUN (show_ip_mbgp, + show_ip_mbgp_cmd, + "show ip mbgp", SHOW_STR IP_STR - "IP Multicast routing table\n") + "IP MBGP routing table\n") { struct route_table *table; struct route_node *rn; @@ -1990,12 +1990,12 @@ DEFUN (show_ipv6_route_summary, * the Multicast routing table. */ -DEFUN (show_ipv6_mroute, - show_ipv6_mroute_cmd, - "show ipv6 mroute", +DEFUN (show_ipv6_mbgp, + show_ipv6_mbgp_cmd, + "show ipv6 mbgp", SHOW_STR IP_STR - "IPv6 Multicast routing table\n") + "IPv6 MBGP routing table\n") { struct route_table *table; struct route_node *rn; @@ -2162,8 +2162,8 @@ zebra_vty_init (void) install_element (ENABLE_NODE, &show_ip_route_supernets_cmd); install_element (ENABLE_NODE, &show_ip_route_summary_cmd); - install_element (VIEW_NODE, &show_ip_mroute_cmd); - install_element (ENABLE_NODE, &show_ip_mroute_cmd); + install_element (VIEW_NODE, &show_ip_mbgp_cmd); + install_element (ENABLE_NODE, &show_ip_mbgp_cmd); #ifdef HAVE_IPV6 @@ -2196,7 +2196,7 @@ zebra_vty_init (void) install_element (ENABLE_NODE, &show_ipv6_route_prefix_longer_cmd); install_element (ENABLE_NODE, &show_ipv6_route_summary_cmd); - install_element (VIEW_NODE, &show_ipv6_mroute_cmd); - install_element (ENABLE_NODE, &show_ipv6_mroute_cmd); + install_element (VIEW_NODE, &show_ipv6_mbgp_cmd); + install_element (ENABLE_NODE, &show_ipv6_mbgp_cmd); #endif /* HAVE_IPV6 */ } -- 1.7.10.4 _______________________________________________ Quagga-dev mailing list Quagga-dev [at] lists http://lists.quagga.net/mailman/listinfo/quagga-dev
|