Rip Metricout - 3Com S7906E Command Reference Manual

6300 series
Hide thumbs Also See for S7906E:
Table of Contents

Advertisement

[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
value: Additional metric of sent routes, in the range of 1 to 16.
Description
Use the rip metricout command to add a metric to sent routes.
Use the undo rip metricout command to restore the default.
By default, the additional metric for sent routes is 1.
With the command configured on an interface, the metric of RIP routes sent on the interface will be
increased.
If a routing policy is referenced with the route-policy keyword:
Routes matching the policy is added with the metric specified in the apply cost command
configured in the policy, while routes not matching it is added with the metric specified in the rip
metricout command. Note that, the rip metricout command does not support the + or – keyword
(used to add or reduce a metric) specified in the apply cost command. For details about the apply
cost command, refer to Routing Policy Commands in the IP Routing Volume.
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.
Related commands: rip metricin.
Examples
# Configure VLAN-interface 10 to add a metric of 6 for the outgoing route 1.0.0.0/8 and to add a metric
of 2 for other outgoing 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 metricout route-policy abc 2
1-21

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

S7910eS7906e-vS7903eS7903e-sS7902e

Table of Contents