[pim] "show ip route" renamed to "show ip rib"
diff --git a/pimd/COMMANDS b/pimd/COMMANDS
index 1199368..fb09e6c 100644
--- a/pimd/COMMANDS
+++ b/pimd/COMMANDS
@@ -41,7 +41,7 @@
show ip multicast Multicast global information
show ip mroute IP multicast routing table
show ip mroute count Route and packet count data
- show ip route IP routing table
+ show ip rib IP unicast routing table
show ip ssmpingd ssmpingd operation
debug commands:
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c
index 4e6cb89..60e5a16 100644
--- a/pimd/pim_cmd.c
+++ b/pimd/pim_cmd.c
@@ -2159,12 +2159,12 @@
return CMD_SUCCESS;
}
-DEFUN (show_ip_route,
- show_ip_route_cmd,
- "show ip route A.B.C.D",
+DEFUN (show_ip_rib,
+ show_ip_rib_cmd,
+ "show ip rib A.B.C.D",
SHOW_STR
IP_STR
- ROUTE_STR
+ RIB_STR
"Unicast address\n")
{
struct in_addr addr;
@@ -4261,7 +4261,7 @@
install_element (VIEW_NODE, &show_ip_multicast_cmd);
install_element (VIEW_NODE, &show_ip_mroute_cmd);
install_element (VIEW_NODE, &show_ip_mroute_count_cmd);
- install_element (VIEW_NODE, &show_ip_route_cmd);
+ install_element (VIEW_NODE, &show_ip_rib_cmd);
install_element (VIEW_NODE, &show_ip_ssmpingd_cmd);
install_element (VIEW_NODE, &show_debugging_cmd);
@@ -4298,7 +4298,7 @@
install_element (ENABLE_NODE, &show_ip_multicast_cmd);
install_element (ENABLE_NODE, &show_ip_mroute_cmd);
install_element (ENABLE_NODE, &show_ip_mroute_count_cmd);
- install_element (ENABLE_NODE, &show_ip_route_cmd);
+ install_element (ENABLE_NODE, &show_ip_rib_cmd);
install_element (ENABLE_NODE, &show_ip_ssmpingd_cmd);
install_element (ENABLE_NODE, &show_debugging_cmd);
diff --git a/pimd/pim_cmd.h b/pimd/pim_cmd.h
index d83cbc0..391046a 100644
--- a/pimd/pim_cmd.h
+++ b/pimd/pim_cmd.h
@@ -51,6 +51,7 @@
#define CLEAR_IP_IGMP_STR "IGMP clear commands\n"
#define CLEAR_IP_PIM_STR "PIM clear commands\n"
#define MROUTE_STR "IP multicast routing table\n"
+#define RIB_STR "IP unicast routing table\n"
#define PIM_CMD_NO "no"
#define PIM_CMD_IP_MULTICAST_ROUTING "ip multicast-routing"