display ipv6 routing-table statistics

Use display ipv6 routing-table statistics to display IPv6 route statistics, including numbers of total routes, routes installed by the protocol, and routes marked as deleted.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

all-routes: Displays IPv6 route statistics for the public network and all VPN instances.

all-vpn-instance: Displays IPv6 route statistics for all VPN instances.

vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, the command displays route statistics for the public network.

Usage guidelines

If you do not specify any parameters, this command displays IPv6 route statistics for the public network.

Examples

# Display IPv6 route statistics for the public network.

<Sysname> display ipv6 routing-table statistics

Total prefixes: 8        Active prefixes: 8

Proto      Routes      Active      Added       Deleted
DIRECT     5           5           5           0
STATIC     3           3           3           0
RIPng      0           0           0           0
OSPFv3     0           0           0           0
IS-ISv6    0           0           0           0
BGP4+      0           0           0           0
Total      8           8           8           0

# Display IPv6 route statistics for the public network and all VPN instances.

<Sysname> display ipv6 routing-table all-routes statistics

Total prefixes: 6        Active prefixes: 6

Proto      Routes      Active      Added       Deleted
DIRECT     3           3           3           0
STATIC     3           3           5           2
RIP        0           0           0           0
OSPF       0           0           0           0
IS-IS      0           0           0           0
LISP       0           0           0           0
BGP        0           0           0           0
Total      6           6           8           2

# Display IPv6 route statistics for VPN instance vpn1.

<Sysname> display ipv6 routing-table vpn-instance vpn1 statistics

Total prefixes: 11        Active prefixes: 11

Proto      Routes      Active      Added       Deleted
DIRECT     8           8           8           0
STATIC     3           3           5           2
RIPng      0           0           0           0
OSPFv3     0           0           0           0
IS-ISv6    0           0           0           0
LISP       0           0           0           0
BGP4+      0           0           0           0
Total      11          11          13          2

# Display IPv6 route statistics for all VPN instances.

<Sysname> display ipv6 routing-table all-vpn-instance statistics

Total prefixes: 11        Active prefixes: 11

Proto      Routes      Active      Added       Deleted
DIRECT     8           8           8           0
STATIC     3           3           5           2
RIPng      0           0           0           0
OSPFv3     0           0           0           0
IS-ISv6    0           0           0           0
LISP       0           0           0           0
BGP4+      0           0           0           0
Total      11          11          13          2

Table 8: Command output

Field

Description

Proto

Protocol that installed the route.

Routes

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 cleared most recently.

Deleted

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

Total

Total number of routes.