R2511-HP MSR Router Series Layer 3 - IP Routing Command Reference(V5)

14
display ip routing-table statistics
Use display ip routing-table statistics to display the route statistics of the routing table.
Syntax
display ip routing-table [ vpn-instance vpn-instance-name ] statistics [ | { begin | exclude | include }
regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string
of 1 to 31 characters. If no VPN is specified, the information of the public network is displayed.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see 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, a case-sensitive string of 1 to 256 characters.
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
RIP 0 0 0 0 0
OSPF 0 0 0 0 0
IS-IS 0 0 0 0 0
BGP 0 0 0 0 0
Total 28 5 29 1 0
Table 3 Command output
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 are freed after a period.
freed Number of routes that got freed (removed permanently)
Total Total number.