DGS-6604
m
redistribute (IPv6 OSPF)
CLI Reference Guide
520
redistribute (IPv6 OSPF)
Use redistribute to redistribute routes from other routing domains into the IPv6
OSPF routing domain. Use the no form of the command to disable redistribution.
redistribute
PROTOCOL
[metric
METRIC-VALUE
] [metric-type
TYPE-VALUE
]
no redistribute
PROTOCOL
Default
Disabled
Command Mode
Router configuration
Usage Guideline
Changing or disabling any keyword will not affect the state of other keywords.
A router receiving a link-state protocol with an internal metric will consider the
cost of the route from itself to the redistributing router plus the advertised cost to
reach the destination. An external metric only considers the advertised metric to
reach the destination.
Whenever the
redistribute
or the
default-information
originate
configuration
commands are used to redistribute routes into an IPv6 OSPF routing domain, the
router automatically becomes an ASBR. However, an ASBR does not, by default,
generate a default route into the IPv6 OSPF routing domain.
When routes are redistributed into IPv6 OSPF from protocols other than IPv6
OSPF, and no metric has been specified with the metric-type keyword and type-
value argument, IPv6 OSPF will use 20 as the default metric. When intra-area
and inter-area routes are redistributed between IPv6 OSPF processes, the
internal OSPF metric from the redistribution source process is advertised as the
external metric in the redistribution destination process.
Routes configured with the connected keyword affected by this redistribute
command are the routes not specified by the router configuration command.
Syntax Description
PROTOCO
L
Source protocol from which routes are being redistributed. It can be one of the
following keywords: connected, static, or rip.
METRIC-VALUE
(Optional) When redistributing from one OSPF process to another OSPF
process on the same router, the metric will be carried through from one process
to the other if no metric value is specified.
TYPE-VALUE
(Optional) IPv6 OSPF specifies the external link type associated with the default
route advertised into the IPv6 OSPF routing domain. It can be one of two values:
1: Type 1 external route
2: Type 2 external route
If a metric-type is not specified, the Switch adopts a Type 2 external route. This
is only for IPv6 OSPF.