Administrator Guide

Layer 3 Routing Commands 1328
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.
Command History
Introduced in version 6.2.0.1 firmware.
Example
console(config-router)#redistribute rip
2CSNXXX_SWUM204.book Page 1328 Monday, January 25, 2016 1:25 PM