![H3C S5120-EI Series Configuration Commands Download Page 15](http://html1.mh-extra.com/html/h3c/s5120-ei-series/s5120-ei-series_configuration-commands_3705782015.webp)
9
display ip routing-table statistics
Syntax
display ip routing-table
statistics
[
|
{
begin
|
exclude
|
include
} regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see the
Fundamentals Configuration Guide
.
begin
: Displays the first line that matches the specified regular expression and all lines that follow.
exclude
: Displays all lines that do not match the specified regular expression.
include
: Displays all lines that match the specified regular expression.
regular-expression
: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters.
Description
Use the
display ip routing-table statistics
command to display the route statistics of the network routing
table.
Examples
# Display route statistics in the routing table.
<Sysname> display ip routing-table statistics
Proto route active added deleted freed
DIRECT 24 4 25 1 0
STATIC 4 1 4 0 0
Total 28 5 29 1 0
Table 3
Output description
Field Description
Proto
Origin of the routes.
route
Number of routes from the origin
active
Number of active routes from the origin
added
Number of routes added into the routing table since the router started up or the routing
table was last cleared
deleted
Number of routes marked as deleted, which will be freed after a period.
freed
Number of routes that got freed (removed permanently)
Total Total
number