display ip routing-table statistics

Use display ip routing-table statistics to display IPv4 route statistics.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. Without this option, the command displays route statistics for the public network.

Examples

# Display IPv4 route statistics for the public network.

<Sysname> display ip routing-table statistics

Proto      route       active      added       deleted
DIRECT     12          12          30          18
STATIC     3           3           5           2
RIP        0           0           0           0
OSPF       0           0           0           0
ISIS       0           0           0           0
BGP        0           0           0           0
Total      15          15          35          20

Table 3: Command output

Field

Description

Proto

Protocol that installed the route.

route

Number of routes installed by the protocol.

active

Number of active routes.

added

Number of routes added to the routing table after the router started up or the routing table was last cleared.

deleted

Number of routes marked as deleted, which will be cleared after a period.

Total

Total number of routes.