
C613-50186-01 Rev B
Command Reference for AR2050V
1059
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
OSPF
V
3
FOR
IP
V
6 C
OMMANDS
REDISTRIBUTE
(IP
V
6 OSPF)
redistribute (IPv6 OSPF)
Overview
Use this command to redistribute routes from other routing protocols, static
routes and connected routes into an IPv6 OSPF routing table.
Use the
no
variant of this command to disable this function.
Syntax
redistribute <
protocol
>} [metric
<0-16777214>
] [metric-type
{1|2}] [route-map <
route-map-entry
>]
no redistribute
<protocol>
Default
The default metric value for routes redistributed into OSPFv3 is 20. The metric can
also be defined using the
command for a route map. Note that a metric
defined using the
command for a route map overrides a metric defined
with this command.
Mode
Router Configuration
Usage
You use this command to inject routes, learned from other routing protocols, into
the OSPF domain to generate AS-external-LSAs. If a route-map is configured by
this command, then that route-map is used to control which routes are
redistributed and can set metric and tag values on particular routes.
The metric, metric-type, and tag values specified on this command are applied to
any redistributed routes that are not explicitly given a different metric,
metric-type, or tag value by the route map.
See the
OSPF Feature Overview and Configuration Guide
for more information
about metrics, and about behavior when configured in route maps.
Note that this command does not redistribute the default route. To redistribute the
default route, use the
command.
Parameter
Description
<
protocol
>
The routing protocol to be redistributed, can be one of:
connected
Connected routes
rip
Routing Internet Protocol
static
Static Routes
metric
Specifies the external metric.
metric-type
Specifies the external metric-type, either type 1 or type 2.
•
For Metric Type 1:
The best route is based on the external
redistributed path cost plus the internal path cost presented by
the native routing protocol.
•
For Metric Type 2:
The best route is based only on the external
redistributed path cost. The internal path cost is only used to break
a “tie” situation between two identical external path costs.
route-map
The name of the specific route-map.