Rip Metricout - HP FlexNetwork 3600 v2 Series Command Reference Manual

Hide thumbs Also See for FlexNetwork 3600 v2 Series:
Table of Contents

Advertisement

View
Interface view
Default level
2: System level
Parameters
route-policy route-policy-name: Specifies the name of a routing policy used to add an additional
metric for the routes matching it. The name is a string of 1 to 63 case-sensitive characters.
value: Additional metric added to received routes, in the range of 0 to 16.
Description
Use rip metricin to configure the interface to add a metric to the routes it receives.
Use undo rip metricin to restore the default.
By default, the additional metric of a received route is 0.
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 route-policy keyword, the following operations can be
performed:
Routes matching the policy is added with the metric specified in the apply cost command
configured in the policy. Routes not matching it is added with the metric specified in the rip
metricout command. The rip metricout command does not support the + or – keyword—used
to add or reduce a metric—specified in the apply cost command. For more information about
the apply cost command, see
If the apply cost command is not configured in the policy, all the advertised routes is added with
the metric specified in the rip metricout command.
Examples
# Configure VLAN-interface 10 to add a metric of 6 for incoming route 1.0.0.0/8 and to add a metric of
2 for other incoming routes.
<Sysname> system-view
[Sysname] ip ip-prefix 123 permit 1.0.0.0 8
[Sysname] route-policy abc permit node 0
[Sysname-route-policy] if-match ip-prefix 123
[Sysname-route-policy] apply cost 6
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] rip metricin route-policy abc 2

rip metricout

Syntax
rip metricout [ route-policy route-policy-name ] value
undo rip metricout
View
Interface view
Parameters
route-policy route-policy-name: Specifies the name of a routing policy used to add an additional
metric for the routes matching it. The name is a string of 1 to 63 case-sensitive characters.
"Routing policy configuration
50
commands."

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents