< Home

display ip routing-table statistics

Function

The display ip routing-table statistics command displays statistics about routes in an IPv4 routing table.

Format

display ip routing-table [ vpn-instance vpn-instance-name | all-vpn-instance ] statistics

Parameters

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. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Route statistics include:
  • Total number of routes that are added or deleted through routing protocols
  • Number of active or inactive routes that are labeled for deletion but are not deleted

Example

# 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
Table 1 Description of the display ip routing-table statistics command output

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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >