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
- Ip bgp redistribute direct
command
- dvr
- Ip bgp redistribute dvr
command
- enable
- Enables the route redistribution
instance.
- ipv6-direct
- Ip bgp redistribute ipv6-direct
command
- ipv6-isis
- Ip bgp redistribution ipv6-isis
command
- ipv6-static
- Ip bgp redistribute ipv6-static
command
- isis
- Ip bgp redistribute isis
command
- metric <0-65535>
- Configures the metric to apply to
redistributed routes.
- metric-type live-metric
- Configures default bgp
redistribute direct metric-type value
- ospf
- Ip bgp redistribute ospf
command
- ospfv3
- Ip bgp redistribute ospfv3
command
- rip
- Ip bgp redistribute rip
command
- route-map WORD<0-64>
- Configures the route map to apply
to redistributed routes.
- static
- Ip bgp redistribute static
command
- 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