Configure and enable redistribution entries to allow a protocol to announce routes of a certain source type, for example, static, RIP, or direct.
default ip ospf redistribute { bgp| direct | isis | ospf | rip | static | dvr }
default ip ospf redistribute { bgp| direct | isis | ospf | rip | static | dvr } vrf-src WORD<1-16>
default ip ospf redistribute { bgp| direct | isis | ospf | rip | static | dvr } enable
default ip ospf redistribute { bgp| direct | isis | ospf | rip | static | dvr } metric
default ip ospf redistribute { bgp| direct | isis | ospf | rip | static | dvr } metric-type
default ip ospf redistribute { bgp| direct | isis | ospf | rip | static | dvr } route-map
default ip ospf redistribute { bgp| direct | isis | ospf | rip | static | dvr } subnets
default ip ospf redistribute { bgp| direct | isis | ospf | rip | static | dvr } subnets vrf-src WORD<1-16>
ip ospf redistribute { bgp| direct | isis | ospf | rip | static | dvr }
ip ospf redistribute { bgp| direct | isis | ospf | rip | static | dvr } subnets { allow | suppress }
ip ospf redistribute { bgp| direct | isis | ospf | rip | static | dvr } vrf-src WORD<1-16>
ip ospf redistribute { bgp| direct | isis | ospf | rip | static | dvr } enable
ip ospf redistribute { bgp| direct | isis | ospf | rip | static | dvr } metric <0-65535>
ip ospf redistribute { bgp| direct | isis | ospf | rip | static | dvr } metric-type { type1 | type2 | any }
ip ospf redistribute { bgp| direct | isis | ospf | rip | static | dvr } route-map WORD<0-64>
ip ospf redistribute { bgp| direct | isis | ospf | rip | static | dvr } subnets { allow | suppress } vrf-src WORD<1-16>
no ip ospf redistribute { bgp| direct | isis | ospf | rip | static | dvr }
no ip ospf redistribute { bgp| direct | isis | ospf | rip | static | dvr } route-policy vrf-src WORD<1-16>
no ip ospf redistribute { bgp| direct | isis | ospf | rip | static | dvr } vrf-src WORD<1-16>
no ip ospf redistribute { bgp| direct | isis | ospf | rip | static | dvr } enable
no ip ospf redistribute { bgp| direct | isis | ospf | rip | static | dvr } route-map
Specifies the type of routes to redistribute-the protocol source.
If you use the direct parameter, configured secondary IP subnets are always redistributed unless you configure a filtering route-map with redistribution.
None
VRF Router Configuration