redistribute
(BGP)
redistribute
{
connected|
rip
|
static
}
[
metric
num
]
[
route-map
string
]
no redistribute
{
connected|
rip
|
static
}
[
metric
num
]
[
route-map
string
]
The device does not redistribute routing information between BGP4 or BGP4+ and the IP interior gateway protocol OSPF.
BGP configuration mode
BGP address-family IPv6 unicast configuration mode
BGP address-family IPv4 unicast VRF configuration mode
BGP address-family IPv6 unicast VRF configuration mode
Use the no form of the command to restore the defaults. When this command is entered in BGP global configuration mode, it applies only to the IPv4 address family. Use this command in BGP address-family IPv6 unicast configuration mode for BGP4+ configurations.
Use this command to configure the device to redistribute RIP, directly connected routes, or static routes into BGP4 or BGP4+. The routes can be filtered by means of an associated route map before they are distributed.
This example redistributes static routes into BGP4 and specifies a metric of 200.
device# configure terminal device(config)# router bgp device(config-bgp-router)# redistribute static metric 200
This example redistributes static routes into BGP4+ and specifies that route-map "rm5" be consulted.
device# configure terminal device(config)# router bgp device(config-bgp-router)# address-family ipv6 unicast device(config-bgp-ipv6u)# redistribute route-map rm5
| Release version | Command history |
|---|---|
| 08.0.30 | Support was added for the BGP address-family IPv6 unicast VRF configuration mode. |