redistribute ospf (for BGP)

Redistribute OSPF-learned routes into Border Gateway Protocol (BGP).


Command Parameters

Enables the redistribution.
metric <0-65535>
Specifies the value of the metric to be announced in the advertisement. The default is 0.
metric-type live-metric
Configures the route redistribution metric type. The default is disabled.
route-map WORD<0-64>
Configures the route policy to apply to redistributed routes.
vrf-src WORD<1-16>
Specifies the source VRF instance. This parameter is not required for redistribution within the same VRF.


By default, route redistribution is disabled.

Command Mode

BGP Router Configuration