cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5943
Views
5
Helpful
1
Replies

Redistribute bgp(vrf) route into OSPF

johnelliot
Level 1
Level 1

Hi,

Trying to redistribute a bgp route into an ospf instance:

Have the following route table for vrf KOR-PT:

#sh ip route vrf KOR-PT

Routing Table: KOR-PT

Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2

i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

ia - IS-IS inter area, * - candidate default, U - per-user static route

o - ODR, P - periodic downloaded static route

Gateway of last resort is 10.11.6.78 to network 0.0.0.0

172.18.0.0/16 is variably subnetted, 2 subnets, 2 masks

B 172.18.9.2/32 [200/0] via 203.149.76.245, 00:24:49

B 172.18.9.0/24 [200/0] via 203.149.76.245, 1w1d

172.24.0.0/24 is subnetted, 1 subnets

B 172.24.24.0 [200/0] via 203.149.76.245, 00:24:49

10.0.0.0/30 is subnetted, 1 subnets

C 10.11.6.76 is directly connected, FastEthernet0/0.200

S* 0.0.0.0/0 [1/0] via 10.11.6.78

And wanting to redistribute the 172.24.24.0/24 and the 172.18.9.0/24 into the following ospf process:

router ospf 22 vrf KOR-PT

router-id 10.11.6.77

log-adjacency-changes

redistribute connected subnets

redistribute static subnets

network 10.11.6.76 0.0.0.3 area 0

I've tried adding "redistribute bgp 17766", but the bgp routes are still not redistributed?

#sh ip ospf 22 database self-originate

OSPF Router with ID (10.11.6.77) (Process ID 22)

Router Link States (Area 0)

Link ID ADV Router Age Seq# Checksum Link count

10.11.6.77 10.11.6.77 1698 0x8000015F 0x008F9F 1

Net Link States (Area 0)

Link ID ADV Router Age Seq# Checksum

10.11.6.77 10.11.6.77 210 0x80000029 0x00A5CC

Any help is greatly appreciated.

1 Accepted Solution

Accepted Solutions

johnelliot
Level 1
Level 1

Resolved - I needed:

redistribute bgp 17766 subnets

View solution in original post

1 Reply 1

johnelliot
Level 1
Level 1

Resolved - I needed:

redistribute bgp 17766 subnets

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: