Reset Ip Routing-Table Statistics Protocol - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

description text: Specifies a descriptive string for the static route. The text argument is a case-sensitive
string of 1 to 60 characters (including the space).
Description
Use the ip route-static command to configure a static route.
Use the undo ip route-static command to remove a static route.
By default, the system can obtain the subnet route directly connected to the router. When you configure
a static route, if no preference is specified for the route, the preference defaults to 60. Note that routes
with the same destinations, the same next hops, but different preferences are different routes. Among
these routes, the one with least preference (which means the highest preference) is chosen to be the
current route. A route configured using the ip route-static command is a reachable route if neither of
the reject and blackhole keywords is specified.
Note the following when configuring a static route:
The next hop address of a static route cannot be the VLAN interface address of the local switch.
A static route with both its destination IP address and mask both being 0.0.0.0 is the default route.
When no matched entry is found in the routing table, a received packet is forwarded according to
the default route.
Related command: display ip routing-table.
Example
# Configure the next hop of the default route as 129.102.0.2.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] ip route-static 0.0.0.0 0.0.0.0 129.102.0.2

reset ip routing-table statistics protocol

Syntax
reset ip routing-table statistics protocol { all | protocol }
View
User view
Parameter
all: Specifies all protocols.
protocol: Specifies a protocol, which can be static, or direct.
Description
Use the reset ip routing-table statistics protocol command to clear the statistics of routes in a routing
table.
Example
# Before executing the reset ip routing-table statistics protocol command, use the display ip
routing-table statistics command to display the routing statistics:
<Sysname> display ip routing-table statistics
1-11

Advertisement

Table of Contents
loading

Table of Contents