![D-Link xStack DGS-3324SRi Скачать руководство пользователя страница 288](http://html1.mh-extra.com/html/d-link/xstack-dgs-3324sri/xstack-dgs-3324sri_command-line-interface-reference-manual_3147971288.webp)
xStack Gigabit Layer 3 Switch Command Line Interface Manual
config route redistribute dst ospf src
RIP. Routing information entered into the Static Routing Table on
the local switch is also redistributed.
Parameters
src [static | rip | local]
−
Allows the selection of the protocol of the
source device.
mettype
−
allows the selection of one of the methods for calculating
the metric value.
metric <value 0-65535>
−
Allows the entry of an OSPF interface
cost. This is analogous to a Hop Count in the RIP routing protocol.
Restrictions Only
administrator-level users can issue this command.
•
Type-1 calculates the metric (for RIP to OSPF) by adding the
destination’s interface cost to the metric entered in the Metric
field.
•
Type-2 uses the metric entered in the Metric field without
change. This field applies only when the destination field is
OSPF.
Routing information source
−
RIP: the Static Route table, and the Local interface routing information. Routing information will
be redistributed to OSPF. The following table lists the allowed values for the routing metrics and the types (or forms) of the
routing information that will be redistributed.
Route Source
Metric
Metric Type
RIP
0 to 16777214
mettype 1
mettype 2
Static
0 to 16777214
mettype 1
mettype 2
Local
0 to 16777214
mettype 1
mettype 2
Allowed Metric Type combinations are
mettype 1
or
mettype 2
. The metric value
0
above will be redistributed in OSPF as the
metric
20
.
To configure route redistributions:
DGS-3324SRi:4#
Example Usage:
DGS-3324SRi:4#config route redistribute dst ospf src all metric 2
Command: config route redistribute dst ospf src all metric 2
Success.
config route redistribute dst rip src
Purpose
Used configure route redistribution settings for the exchange of
RIP routes to OSPF routes on the Switch.
Syntax
config route redistribute dst rip src [local | static | ospf | [all |
i t
l |
t
l | t
1 | t
2 | i t
1 | i t
2]]
280