Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

ASBR - how to redistribute an E2 route?

How can I redistribute an E2 route from OSPF to BGP?

Here is the config so far:

address-family ipv4 vrf arena_201

redistribute connected

redistribute static

redistribute ospf 900

no auto-summary

no synchronization

exit-address-family

Here are the routing tables:

D_H11_ZGR10_02#sh ip route vrf gw_inet_900

Gateway of last resort is 172.28.133.240 to network 0.0.0.0

[taken out some routes]

B 172.30.1.0

[20/1] via 10.200.200.240 (alte_welt_999), 00:18:08, Vlan999

10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks

B 10.200.200.0/24 is directly connected, 00:18:24, Vlan999

B 10.10.90.0/24

[20/1] via 10.200.200.240 (alte_welt_999), 00:18:24, Vlan999

O 10.190.1.0/30 [110/2] via 172.28.133.240, 00:19:15, Vlan900

O*E2 0.0.0.0/0 [110/1] via 172.28.133.240, 00:19:15, Vlan900

D_H11_ZGR10_02#

D_H11_ZGR10_02#sh ip route vrf arena_201

Gateway of last resort is not set

172.17.0.0/24 is subnetted, 3 subnets

B 172.17.9.0

[20/1] via 10.200.200.240 (alte_welt_999), 00:19:25, Vlan999

B 172.17.8.0

[20/1] via 10.200.200.240 (alte_welt_999), 00:19:25, Vlan999

B 172.17.6.0

[20/1] via 10.200.200.240 (alte_welt_999), 00:19:25, Vlan999

172.16.0.0/24 is subnetted, 1 subnets

B 172.16.1.0 is directly connected, 00:19:09, Vlan100

172.28.0.0/16 is variably subnetted, 13 subnets, 3 masks

B 172.28.160.0/24

[20/10] via 10.200.200.240 (alte_welt_999), 00:19:25, Vlan999

C 172.28.161.0/24 is directly connected, Vlan201

B 172.28.162.0/24 is directly connected, 00:19:26, Vlan202

B 172.28.131.18/32

[20/1] via 10.200.200.240 (alte_welt_999), 00:19:26, Vlan999

B 172.28.150.0/24

[20/1] via 10.200.200.240 (alte_welt_999), 00:19:26, Vlan999

B 172.28.128.0/24

[20/1] via 10.200.200.240 (alte_welt_999), 00:19:26, Vlan999

B 172.28.129.0/24

[20/1] via 10.200.200.240 (alte_welt_999), 00:19:26, Vlan999

B 172.28.130.0/24

[20/1] via 10.200.200.240 (alte_welt_999), 00:19:26, Vlan999

B 172.28.133.0/24 is directly connected, 00:19:26, Vlan900

B 172.28.135.0/24

[20/1] via 10.200.200.240 (alte_welt_999), 00:19:26, Vlan999

B 172.28.140.0/24

[20/1] via 10.200.200.240 (alte_welt_999), 00:19:26, Vlan999

B 172.28.143.0/24

[20/1] via 10.200.200.240 (alte_welt_999), 00:19:26, Vlan999

B 172.28.0.0/17

[20/10] via 10.200.200.240 (alte_welt_999), 00:19:26, Vlan999

172.30.0.0/24 is subnetted, 1 subnets

B 172.30.1.0

[20/1] via 10.200.200.240 (alte_welt_999), 00:19:10, Vlan999

10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks

B 10.200.200.0/24 is directly connected, 00:19:27, Vlan999

B 10.10.90.0/24

[20/1] via 10.200.200.240 (alte_welt_999), 00:19:27, Vlan999

B 10.190.1.0/30

[20/2] via 172.28.133.240 (gw_inet_900), 00:19:27, Vlan900

D_H11_ZGR10_02#

As you can see, the route to 0.0.0.0 is not redistributed, because it?s an E2 route. How can I achieve, that this route is redistributed?

Best regards,

Martin Funke.

5 REPLIES
New Member

Re: ASBR - how to redistribute an E2 route?

Hi,

I'm not sure whether it is your case but I read in one of Cisco's documents the following:

"Default redistribution of IGPs or EGP into BGP is not allowed unless default-information originate is specified."

http://www.cisco.com/en/US/products/sw/iosswrel/ps1828/products_command_reference_chapter09186a00800ca5ac.html#wp1019783

//Mikhail Galiulin

Re: ASBR - how to redistribute an E2 route?

Hello Martin,

try the command:

redistribute ospf 900 match external 2

and see if your default route gets redistributed.

You also might want to check this link:

Understanding Redistribution of OSPF Routes into BGP

http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800943c5.shtml

Regards,

GNT

New Member

Re: ASBR - how to redistribute an E2 route?

Hello,

I tried that. But against all expectations it doesn't work. Perhaps it's necessary to reset all routing processes after that?

Best regards,

Martin Funke

Germany.

New Member

Re: ASBR - how to redistribute an E2 route?

Hi,

sounds helpful, but doesn?t work.

Nevertheless, thanks for your help.

Best regards,

Martin Funke

Germany.

Silver

Re: ASBR - how to redistribute an E2 route?

Configure default-information originate under the BGP address-family. This command is necessary for BGP to advertise the redistributed default route.

Check

http://www.cisco.com/en/US/products/sw/iosswrel/ps5207/products_command_reference_chapter09186a00801a807f.html#wp1118958

207
Views
15
Helpful
5
Replies