reset ip routing-table statistics protocol
Function
The reset ip routing-table statistics protocol command clears route statistics in an IPv4 routing table.
Parameters
Parameter | Description | Value |
---|---|---|
all | Clear route statistics of all routing protocols in an IPv4 routing table. | - |
protocol | Clears route statistics of the specified routing protocol in an IPv4 routing table. This parameter can be one of the following: direct, bgp, isis, ospf, rip, static, and unr. | - |
Usage Guidelines
Usage Scenario
You can use this command to clear route statistics in an IPv4 routing table, including statistics about the routes added, deleted, and released by each routing protocol. Subsequently, the system can re-collect route statistics of each routing protocol again to monitor route changes and locate network faults.
Precautions
IPv4 route statistics cannot be restored after being cleared. Exercise caution when you use this command.