Administrator Guide

Redistribute iBGP routes.
ROUTER BGP, ROUTER BGP-address-family, ROUTER BGP-address-family-IPv6, IPv4 VRF mode, and IPv6 Unicast VRF mode
bgp redistribute-internal
The following is an example configuration of redistributing iBGP routes into OSPF with the default VRF:
!
router ospf 100
router-id 1.1.1.1
network 10.10.10.0/24 area 0
redistribute bgp 65535 route-map bgp2ospf4
!
ipv6 router ospf 1
router-id 1.1.1.1
redistribute bgp 65535 route-map bgp2ospf6
!
router bgp 65535
maximum-paths ibgp 8
bgp redistribute-internal
neighbor 20.20.20.2 remote-as 65535
neighbor 20.20.20.2 no shutdown
neighbor 20.20.20.3 remote-as 65535
neighbor 20.20.20.3 no shutdown
neighbor 20::2 remote-as 65535
neighbor 20::2 no shutdown
neighbor 20::3 remote-as 65535
neighbor 20::3 no shutdown
!
address-family ipv6 unicast
bgp redistribute-internal
neighbor 20::2 activate
neighbor 20::3 activate
exit-address-family
!
interface Vlan 10
ip address 10.10.10.1/24
ipv6 address 10::1/64
ipv6 ospf 1 area 0
tagged Port-channel 10
ip ospf priority 255
no shutdown
The following is an example configuration of redistributing iBGP routes into OSPF with a non-default VRF:
interface Vlan 11
ip vrf forwarding core1
ip address 11.11.11.1/24
ipv6 address 11::1/64
ipv6 ospf 11 area 0
tagged Port-channel 10
ip ospf priority 255
!
router ospf 11 vrf core1
router-id 11.11.11.1
network 11.11.11.0/24 area 0
redistribute bgp 65535 route-map bgp2ospf4
!
ipv6 router ospf 11 vrf core1
redistribute bgp 65535 route-map bgp2ospf6
router bgp 65535
address-family ipv4 vrf core1
bgp redistribute-internal
neighbor 21.21.21.2 remote-as 65535
neighbor 21.21.21.2 no shutdown
address-family ipv6 unicast vrf core1
bgp redistribute-internal
neighbor 21::2 activate
Border Gateway Protocol (BGP)
213