Users Guide

Layer 3 Routing Commands 1353
In conformance with RFC 1475, information learned via BGP from peers
within the same AS is not redistributed to OSPF.
In general, redistributing routes from BGP into a RIP network is not
recommended.
Command History
Introduced in version 6.2.0.1 firmware.
Example
console(config-router)#redistribute rip
redistribute (BGP IPv6)
In IPv6 address family configuration node, the redistribute command
configures BGP to redistribute non-BGP originated routes from the IPv6
routing table.
Syntax
redistribute { ospf [match {[internal][external 1] [external 2] [nssa-external
1] [nssa-external 2]} ] | rip | connected | static} [metric metric-value]
[route-map map-tag]
no redistribute { ospf [match {[internal][external 1] [external 2] [nssa-
external 1] [nssa-external 2]} ] | rip | connected | static} [metric metric-
value] [route-map map-tag]
ospf, rip, connected, static—A source of routes to redistribute.
metric metric-value(Optional) When this option is specified, BGP
advertises the prefix with the Multi Exit Discriminator path attribute set
to the configured value. If this option is not specified, but a default metric
is configured for BGP (default metric command), the MED is set to the
default metric. If both a default metric and a metric value are not
configured, the prefix is advertised without a MED attribute.
match—(Optional) By default, if BGP is configured to redistribute OSPF
routes (redistribute ospf command), BGP only redistributes internal
routes (OSPF intra-area and inter-area routes). Use of the match option
configures BGP to also redistribute specific types of external or internal
routes, or to disable redistribution of OSPF routes. The match option is