cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2444
Views
0
Helpful
4
Replies

BGP "default-information originate" command

parisdooz12
Level 1
Level 1

Hi,

I have a doubt about the use of the "default-information originate" command in BGP.

Imagine I have in a BGP AS. I don't receive default route from outside.

So I configure a static route to go out of my AS (ip route 0.0.0.0 0.0.0.0 10.0.0.1), then I redistribute this route in my BGP process through the "redistribute static" command.

My question in this cas is: do I need the command "default-information originate" to announce the default route to other routers?

router bgp 65400

[...]

redistribute static

default-information originate

!

ip route 0.0.0.0 0.0.0.0 10.0.0.1

Thanks by advance.

F.

1 Accepted Solution

Accepted Solutions

acampbell
VIP Alumni
VIP Alumni

Hi,

You are not allowed to redistribute network 0.0.0.0, so redistribute statc will not include the route 0.0.0.0

You need to use

default-information originate

The way you are configured is correct

See this link

http://www.cisco.com/en/US/docs/ios/11_3/np1/configuration/guide/1cbgp.html#wp3631

Regards

Alex

Regards, Alex. Please rate useful posts.

View solution in original post

4 Replies 4

acampbell
VIP Alumni
VIP Alumni

Hi,

You are not allowed to redistribute network 0.0.0.0, so redistribute statc will not include the route 0.0.0.0

You need to use

default-information originate

The way you are configured is correct

See this link

http://www.cisco.com/en/US/docs/ios/11_3/np1/configuration/guide/1cbgp.html#wp3631

Regards

Alex

Regards, Alex. Please rate useful posts.

Great! Thanks Alex.

From: parisdooz12

Sent: Friday, March 23, 2012 3:59 PM

To: Mohd Rafishan Abdul Rahim

Subject: - Re: BGP "default-information originate" command

Home<>

Re: BGP "default-information originate" command

created by parisdooz12<> in LAN, Switching and Routing - View the full discussion<>

milan.kulik
Level 10
Level 10

Hi,

redistributing static does not work.

But

router bgp 65400

network 0.0.0.0

!

ip route 0.0.0.0 0.0.0.0 10.0.0.1

does.

Read this nice discussion:

https://supportforums.cisco.com/message/3456816#3456816

HTH,

Milan

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:

Review Cisco Networking products for a $25 gift card