BGP declaration

Answered Question
Jun 2nd, 2010

Good day, Everyone.

Could someone advise me the reason of declaring BGP without being used.

router bgp 12345

     no synchronization
     bgp router-id A.B.C.D

     bgp log-neighbor-changes
     no auto-summary

There is no declaration about connected networks and neighbors in it as above. Does it make any sense to have BGP config like this? Thanks much in advance for your contribution.

Regards,

Lay

I have this problem too.
0 votes
Correct Answer by Giuseppe Larosa about 6 years 6 months ago

Hello Lay,

BGP sessions can be built with configured neighbors only.

However, with BGP process running the system will be listening on TCP port 179.

So yes it is better to remove it because it is unused

Hope to help

Giuseppe

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.5 (2 ratings)
Loading.
Giuseppe Larosa Wed, 06/02/2010 - 02:38

Hello Lay,

if there are no network commands, no neighbor commands, no redistribute commands the BGP process will be idle.

I think that someone has added the BGP configuration just as a placeholder for future deployment or he/she has forgotten to remove the process after cleaning up BGP configuration

you just need to use

no router bgp 12345

to remove it if you want/need to do it

Hope to help

Giuseppe

layhlaing Wed, 06/02/2010 - 05:54

Hi Giuseppe,

Thanks much for your sharing. If the BGP is at its idle stage, I would prefer to take it out. It can be left as a comment for future reference. Cisco recommends to disable unused protocols/services as a security best practice. Do you think BGP is the same?

Regards,

Lay

Correct Answer
Giuseppe Larosa Wed, 06/02/2010 - 07:15

Hello Lay,

BGP sessions can be built with configured neighbors only.

However, with BGP process running the system will be listening on TCP port 179.

So yes it is better to remove it because it is unused

Hope to help

Giuseppe

Actions

This Discussion