ip bgp redistribute
Configure and enable redistribution entries to allow a protocol to announce routes of a
certain source type, for example, static, RIP, or direct.
Syntax
-
default ip bgp
redistribute {{direct | dvr | ipv6-direct | ipv6-isis | ipv6-static | isis |
ospf | ospfv3 | rip | static} {enable | metric | metric-type |route-map WORD
|vrf-src WORD <1-16>}
-
ip bgp redistribute
{{direct | dvr | ipv6-direct | ipv6-isis | ipv6-static | isis | ospf | ospfv3 |
rip | static} {enable | metric <0-65535> | metric-type live-metric
|route-map WORD<0-64> |vrf-src WORD <1-16>}
-
no ip bgp redistribute
{{direct | dvr | ipv6-direct | ipv6-isis | ipv6-static | isis | ospf | ospfv3 |
rip | static} [enable] vrf-src WORD <1-16>
Command Parameters
- direct
-
Specifies the type of routes to redistribute-the protocol source.
If you use this parameter, configured secondary IP subnets are always
redistributed unless you configure a filtering route-map with
redistribution.
- dvr
- Specifies the type of routes to redistribute-the protocol source.
- enable
- Enables the route redistribution
instance.
- ipv6-direct
- Specifies the type of routes to redistribute-the protocol source.
- ipv6-isis
- Specifies the type of routes to redistribute-the protocol source.
- ipv6-static
- Specifies the type of routes to redistribute-the protocol source.
- isis
- Specifies the type of routes to redistribute-the protocol source.
- metric <0-65535>
- Configures the metric to apply to
redistributed routes.
- metric-type live-metric
- Configures default bgp
redistribute direct metric-type value
- ospf
- Specifies the type of routes to redistribute-the protocol source.
- ospfv3
- Specifies the type of routes to redistribute-the protocol source.
- rip
- Specifies the type of routes to redistribute-the protocol source.
- route-map WORD<0-64>
- Configures the route map to apply
to redistributed routes.
- static
- Specifies the type of routes to redistribute-the protocol source.
- vrf-src WORD<1-16>
- Specifies the source VRF instance.
This parameter is not required for redistribution within the same VRF.
Command Mode
VRF Router Configuration