R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)
44
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 1 to 900 seconds.
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
MSR2000/MSR3000:
reset ip routing-table statistics protocol [ topology topo-name | vpn-instance vpn-instance-name ]
{ protocol | all }
MSR4000:
reset ip routing-table statistics protocol [ topology topo-name | vpn-instance vpn-instance-name ]
{ protocol | all } [ standby slot slot-number ]
Views
User view
Predefined user roles
network-admin
Parameters
topology topo-name: Specifies a topology by its name, a case-sensitive string of 1 to 31 characters.
Without this option, the command clears IPv4 route statistics for the public network.
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 IPv4
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.
standby slot slot-number: Clears backup IPv4 route statistics for a card. Without this option, the
command clears IPv4 route statistics.