Users Guide

Layer 3 Routing Commands 1797
Syntax
redistribute protocol [metric metric-value] [tag tag-value] [route-map route-
tag]
no redistribute protocol
protocol —One of the following:
static—Specifies that static routes are to be redistributed.
connected—Specifies that connected routes are to be redistributed.
bgp—Specifies BGP originated routes are to be redistributed.
metric-value — Metric value used for default routes. (Range: 0-16777214)
tag-value— Insert the specified tag value into redistributed routes.
route-tag—Filter redistributed routes using the specified route map.
Default Configuration
The default tag value is 0.
There is no default metric or route map configured.
Command Mode
Router OSPFv3 Configuration mode
User Guidelines
When redistributing a route metric, the receiving protocol must understand
the metric. The OSPF metric is a cost value equal to 10
8
/ link bandwidth in
bits/sec. For example, the OSPF cost of GigabitEthernet is 1 = 10
8
/10
8
= 1.
The RIP metric is a hop count with a maximum value of 15. Redistribution of
BGP-originated routes is only available on BGP-enabled routers.
Example
The following example configures the OSPFv3 protocol to allow
redistribution of routes to connected devices.
console(config)#ipv6 router ospf
console(config-rtr)#redistribute connected