The display ip routing-table statistics command displays integrated route statistics in the routing table.
| Parameter | Description | Value |
|---|---|---|
| vpn-instance vpn-instance-name | Displays integrated route statistics of a specified VPN instance. | The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
| all-vpn-instance | Displays integrated route statistics in the routing table of all VPN instances. | - |
Usage Scenario
Total number of active and inactive routes of each protocol in the routing table
Number of active routes of each protocol in the routing table
Total number of newly added active and inactive routes of each protocol in the routing table
Total number of active or inactive routes that are labeled for deletion but are not yet deleted from the routing table
Number of routes of each protocol that are deleted permanently from the routing table
Precautions
The reset ip routing-table statistics protocol command clears route statistics in the routing table, including the number of newly added routes of each protocol, active or inactive routes that are labeled for deletion but are not yet deleted, and routes that are permanently deleted. You can run the display ip routing-table statistics and reset ip routing-table statistics protocol commands to check statistics changes during a period in the routing table to diagnose faults.
# Display integrated route statistics in the routing table.
<sysname> 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 routing table |
Proto |
Routing protocol |
total routes |
Total number of active and inactive routes in the routing table |
active routes |
Number of active routes in the routing table |
added routes |
Number of active and inactive routes added in the routing table |
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 |
Total |
Total number of routes in the routing table |
<sysname> display ip routing-table all-vpn-instance 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