display ip routing-table statistics

Function

The display migp routing-table statistics command displays the statistics of the Multicast Interior Gateway Protocol (MIGP) routing table.

The display ip routing-table statistics command displays integrated route statistics of the IPv4 routing table.

Format

display ip routing-table all-routes statistics

display migp routing-table statistics

Parameters

Parameter Description Value
all-routes

Displays integrated route statistics about all IPv4 routes.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
route-base read

Usage Guidelines

Usage Scenario

Integrated route statistics include:

  • Total number of routes that are added or deleted through the routing protocol
  • Number of active routes or inactive routes that are labeled for deletion but have not been deleted

Example

The actual command output varies according to the device. The command output here is only an example.

# Display integrated route statistics.
<HUAWEI> display ip routing-table all-routes statistics
Summary Prefixes : 12
Proto      total      active     added      deleted    freed
           routes     routes     routes     routes     routes
DIRECT     11         11         11         0          0          
STATIC     1          1          1          0          0          
RIP        0          0          0          0          0          
OSPF       1          0          1          0          0          
IS-IS      0          0          0          0          0          
BGP        0          0          0          0          0          
UNR        0          0          0          0          0          
Total      13         12         13         0          0
# Display the statistics of the Multicast Interior Gateway Protocol (MIGP) routing table.
<HUAWEI> display migp routing-table statistics
Proto     total      active      added        deleted      freed
          routes     routes      routes       routes       routes
OSPF      0          0           0            0            0
IS-IS     5          5           45           40           40
Total     5          5           45           40           40
Table 1 Description of the display ip routing-table statistics command output
Item Description
Summary Prefixes

Total number of route prefixes in the routing table.

Proto

Routing protocol.

  • DIRECT: displays direct routes.
  • STATIC: displays static routes.
  • RIP: displays RIP routes.
  • OSPF: displays OSPF routes.
  • IS-IS: displays IS-IS routes.
  • BGP: displays BGP routes.
  • UNR: displays UNR routes.
total

Total number of routes in the routing table.

active

Number of active routes in the routing table.

added

Number of active and inactive routes added to the routing table.

deleted

Number of routes deleted from the routing table.

freed

Number of released (permanently deleted) routes in the routing table.

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