Users Guide

Layer 3 Routing Commands 1338
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 an MED attribute.
match—(Optional) By default, if BGP is configured to redistribute OSPF
routes, 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 routes, or to disable redistribution of internal
OSPF routes. The match option is only valid for OSPF originated routes.
route-map map-tag(Optional) A route map can be used to filter
redistributed routes by destination prefix using a prefix list.
Default Configuration
BGP redistributes no routes by default. When BGP redistributes OSPF
routes, it redistributes only internal routes unless the match option specifies
external routes.
Command Mode
BGP Router Configuration mode
User Guidelines
The distribute-list out command can also be used to filter redistributed
routes by prefix. Either a redistribute route map or a distribute list may be
configured, but not both.
Successive invocations of the redistribute command are additive. The
redistribute command does not overwrite previous redistribute command
configuration or the default configuration. Use the no redistribute command
to remove the redistribution of internal or external routes.
A default route cannot be redistributed unless the default-information-
originate command is given.
The configured metric value is specific to the routes distributed. Use the
default-metric command to configure a default metric for all redistributed
routes.