Rip Metricin - H3C S6550X-HI Series Command Reference Manual

Table of Contents

Advertisement

rip metricin

Use
rip metricin
Use
undo rip metricin
Syntax
rip metricin [ route-policy route-policy-name ] value
undo rip metricin
Default
The additional metric of an inbound route is 0.
Views
Interface view
Predefined user roles
network-admin
Parameters
route-policy route-policy-name
string of 1 to 63 characters. If you specify this option, the command adds an additional metric for the
routes that match the routing policy.
: Adds an additional metric to inbound routes, in the range of 0 to 16.
value
Usage guidelines
When a valid RIP route is received, the system adds a metric to it and then installs it into the routing
table. The metric of the route received on the configured interface is then increased. If the sum of the
additional metric and the original metric is greater than 16, the metric of the route will be 16.
If a routing policy is referenced with the
performed:
Routes matching the policy are added with the metric specified in the
configured in the policy. Routes not matching it are added with the metric specified in the
metricin
keyword in the
If the
apply cost
with the metric specified in the
Examples
# Configure VLAN-interface 10 to add a metric of 6 to the inbound route 1.0.0.0/8 and to add a metric
of 2 to other inbound routes.
<Sysname> system-view
[Sysname] ip prefix-list 123 permit 1.0.0.0 8
[Sysname] route-policy abc permit node 10
[Sysname-route-policy-abc-10] if-match ip address prefix-list 123
[Sysname-route-policy-abc-10] apply cost 6
[Sysname-route-policy-abc-10] quit
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] rip metricin route-policy abc 2
Related commands
apply cost
to configure an interface to add a metric to inbound routes.
to restore the default.
command. The
rip metricin
apply cost
command to add or reduce a metric.
command is not configured in the policy, all the inbound routes are added
rip metricin
: Specifies a routing policy by its name, a case sensitive
keyword, the following operations can be
route-policy
command does not support specifying the
command.
31
command
apply cost
rip
or
+

Advertisement

Table of Contents
loading

Table of Contents