reset ip routing-table statistics protocol
Use reset ip routing-table statistics protocol to clear IPv4 route statistics.
Syntax
reset ip routing-table statistics protocol [ vpn-instance vpn-instance-name ] { protocol | all }
reset ip routing-table [ all-routes | all-vpn-instance ] statistics protocol { protocol | all }
Views
User view
Predefined user roles
network-admin
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.
all-routes: Clears route statistics for the public network and all VPN instances.
all-vpn-instance: Clears route statistics for all VPN instances.
protocol: Clears route statistics for a routing protocol.
all: Clears route statistics for all IPv4 routing protocols.
Usage guidelines
This command clears IPv4 route statistics for the public network if you do not specify the all-routes, vpn-instance, or all-vpn-instance keyword.
This command clears only statistics of added and deleted routes for the specified routing protocols.
Examples
# Clear all IPv4 route statistics for the public network.
<Sysname> reset ip routing-table statistics protocol all