![D-Link xStack DGS-3324SRi Скачать руководство пользователя страница 287](http://html1.mh-extra.com/html/d-link/xstack-dgs-3324sri/xstack-dgs-3324sri_command-line-interface-reference-manual_3147971287.webp)
xStack Gigabit Layer 3 Switch Command Line Interface Manual
create route redistribute dst rip src
external protocol.
metric <value>
−
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.
Routing information source
−
OSPF and the Static Route table. Routing information will be redistributed to RIP. 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
Type
OSPF
0 to 16
all
type_1
type_2
inter+e1
inter+e2
external
internal
Static
0 to 16
not applicable
Entering the
Type
combination
−
internal type_1 type_2
is functionally equivalent to
all
. Entering the combination
type_1
type_2
is functionally equivalent to
external
. Entering the combination
internal external
is functionally equivalent to
all
.
To add route redistribution settings:
Entering the metric
0
specifies transparency.
Example Usage:
DGS-3324SRi:4#create route redistribute dst rip src ospf all metric 2
Command: create route redistribute dst rip src ospf all metric 2
Success.
DGS-3324SRi:4#
config route redistribute dst ospf src
Purpose
Used configure route redistribution settings for the exchange of RIP
routes to OSPF routes on the Switch.
Syntax
config route redistribute dst ospf src [static | rip | local]
{mettype [1 | 2] | metric <value 0-65535>}
Description
Route redistribution allows routers on the network
−
that are
running different routing protocols to exchange routing information.
This is accomplished by comparing the routes stored in the various
router’s routing tables and assigning appropriate metrics. This
information is then exchanged among the various routers according
to the individual routers current routing protocol. The switch can
redistribute routing information between the OSPF and RIP routing
protocols to all routers on the network that are running OSPF or
279