The display ip routing-table statistics command displays statistics about routes in an IPv4 routing table.
| Parameter | Description | Value | 
|---|---|---|
| vpn-instance vpn-instance-name | Displays statistics about routes in the routing table of a specified VPN instance. If neither vpn-instance vpn-instance-name nor all-vpn-instance is specified, statistics about routes in a public routing table are displayed. | The value must be an existing VPN instance name. | 
| all-vpn-instance | Displays statistics about routes in the routing tables of all VPN instances. If neither vpn-instance vpn-instance-name nor all-vpn-instance is specified, statistics about routes in a public routing table are displayed. | - | 
# Display statistics about routes in an IPv4 routing table.
<HUAWEI> display ip routing-table statistics Summary Prefixes: 9 Proto total active added deleted freed routes routes routes routes routes DIRECT 6 6 42 36 36 STATIC 3 3 21 18 18 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 UNR 0 0 0 0 0 Total 9 9 63 54 54
Item  | 
Description  | 
|---|---|
Summary Prefixes  | 
Total number of prefixes in the current routing table.  | 
Proto  | 
Routing protocol type  | 
total routes  | 
Total number of routes that a routing protocol learns in the routing table, including active and inactive routes.  | 
active routes  | 
Number of active routes that a routing protocol learns in the routing table.  | 
added routes  | 
Number of active and inactive routes that are added to the routing table through a routing protocol.  | 
deleted routes  | 
Number of routes to be deleted from the routing table.  | 
freed routes  | 
Number of routes that are permanently deleted from the routing table.  |