Reset Ip Routing-Table Statistics Protocol - H3C IE4300 Command Reference Manual

Industrial switch series
Hide thumbs Also See for IE4300:
Table of Contents

Advertisement

route-policy-name
characters.
Usage guidelines
Configure routing policy-based recursive lookup to control route recursion results. For example,
when a route changes, the routing protocol has to perform a route recursion if the next hop is
indirectly connected. The routing protocol might select an incorrect path, which can cause traffic loss.
To prevent this problem, you can use a routing policy to filter out incorrect routes. The routes that
pass the filtering of the routing policy will be used for route recursion.
The
apply
Make sure a minimum of one related route can match the routing policy for correct traffic forwarding.
Examples
# Configure recursive lookup based on routing policy policy1 for static routes.
<Sysname> system-view
[Sysname] rib
[Sysname-rib] address-family ipv4
[Sysname-rib-ipv4] protocol static nexthop recursive-lookup route-policy policy1

reset ip routing-table statistics protocol

Use
reset ip routing-table statistics protocol
Syntax
reset
ip
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
case-sensitive string of 1 to 31 characters.
all-routes
all-vpn-instance
: Clears route statistics for a routing protocol.
protocol
: Clears route statistics for all IPv4 routing protocols.
all
Usage guidelines
This command clears IPv4 route statistics for the public network if you do not specify the
all-routes
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
: Specifies a routing policy by its name, a case-sensitive string of 1 to 63
clauses in the specified routing policy cannot take effect.
routing-table
: Clears route statistics for the public network and all VPN instances.
: Clears route statistics for all VPN instances.
,
, or
vpn-instance
statistics
: Specifies an MPLS L3VPN instance by its name, a
all-vpn-instance
54
to clear IPv4 route statistics.
protocol
[
vpn-instance
keyword.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ie4300-mIe4320

Table of Contents