Administrator Guide

Layer 3 Routing Commands 1329
redistribute (IPv6 Address Family Configuration)
In IPv6 address family configuration node, the redistribute command
configures BGP to redistribute non-BGP 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
only valid for OSPF originated routes. Successive redistribute commands
are additive. Use the
no
form of the command to disable redistribution of
a route source.
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.
2CSNXXX_SWUM204.book Page 1329 Monday, January 25, 2016 1:25 PM