Reset Ip Routing-Table Statistics Protocol - HP 5920 Series Command Reference Manual

Layer 3 - ip routing
Hide thumbs Also See for 5920 Series:
Table of Contents

Advertisement

Default
The maximum lifetime for IPv4 or IPv6 routes and labels in the RIB is 480 seconds.
Views
RIB IPv4 address family view, RIB IPv6 address family view
Predefined user roles
network-admin
Parameters
second: Sets the maximum lifetime for routes and labels in the RIB, in the range of 0 to 900 seconds.
When this argument is set to 0, RIB entries immediately age out when a protocol switchover occurs.
Usage guidelines
When GR is enabled, make sure the protocol can complete GR and install all route entries to the RIB
within the lifetime configured in this command.
Examples
# Set the maximum lifetime for OSPF routes and labels in the RIB to 60 seconds.
<Sysname> system-view
[Sysname] rib
[Sysname-rib] address-family ipv4
[Sysname-rib-ipv4] protocol ospf lifetime 60

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 }
Views
User view
Predefined user roles
network-admin
Parameters
vpn-instance vpn-instance-name: Clears the IPv4 route statistics for an MPLS L3VPN instance specified
by its name, a case-sensitive string of 1 to 31 characters. Without this option, the command clears route
statistics for the public network.
protocol: Clears route statistics for a routing protocol. It can be bgp, direct, isis, ospf, rip, or static.
all: Clears route statistics for all IPv4 routing protocols.
Examples
# Clear all IPv4 route statistics for the public network.
<Sysname> reset ip routing-table statistics protocol all
42

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents