cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
558
Views
4
Helpful
3
Replies

BGP declaration

layhlaing
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

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

View solution in original post

3 Replies 3

Giuseppe Larosa
Hall of Fame
Hall of Fame

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

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

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

Review Cisco Networking for a $25 gift card