22
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display ipv6 routing-table statistics to display IPv6 routing statistics, including total route number,
added route number, and deleted route number.
Examples
# Display IPv6 routing statistics.
<Sysname> display ipv6 routing-table statistics
Protocol route active added deleted freed
DIRECT 1 1 1 0 0
STATIC 3 0 3 0 0
RIPng 0 0 0 0 0
OSPFv3 0 0 0 0 0
BGP4+ 0 0 0 0 0
Total 4 1 4 0 0
Table 6 Command output
Field Description
Protocol Routing protocol
route Route number of the protocol
active Number of active routes
added Routes added after the last startup of the router
deleted Deleted routes, which will be released after a specified time
freed Released (totally removed from the routing table) route number
Total Total number of routes
reset ip routing-table statistics protocol
Syntax
reset ip routing-table statistics protocol [ vpn-instance vpn-instance-name ] { protocol | all }
View
User view
Default level
2: System level
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string
of 1 to 31 characters. If no VPN is specified, the routing statistics of the public network is cleared.
protocol: Clears statistics for the IPv4 routing protocol, which can be bgp, direct, ospf, rip, or static.
all: Clears statistics for all IPv4 routing protocols.