0
0
Print Friendly, PDF & Email

Hi,

I am trying to confirm the mechanism for redistributing a static default route under bgp.

In Cisco, in order to redistribute a static default route, “default-information originate” command is required. From what I have seen in the lab, it seems to be that Arsita does not require this command, to redistribute a static default route under bgp. Also, if possible I want to find out the ways in which default routes can be originated in bgp on Arista.

I wanted to confirm this behavior in Arista please.

Thanks and regards,

Abid Ghufran

0
Answered on November 20, 2020 9:50 am

Hi Abid,

Thanks for reaching out.

Please find the below:

1st method:

switch(conf)#router bgp 1

switch(config-router-bgp)#redistribute static -->This command redistributes all the static routes including the default route.

2nd method:

switch(conf)#router bgp 1
switch(config-router-bgp)#neighbor 10.10.10.2 default-originate --->This command will advertise a default route to that particular neighbor alone.

You can refer to the below link for more details regarding "neighbor default-originate" command:

https://www.arista.com/en/um-eos/eos-section-33-4-bgp-commands#ww1116958

 

Thanks,

Bhavana.

Post your Answer

You must be logged in to post an answer.