06-02-2010 01:18 AM - edited 03-04-2019 08:39 AM
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
Solved! Go to Solution.
06-02-2010 07:15 AM
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
06-02-2010 02:38 AM
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
06-02-2010 05:54 AM
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
06-02-2010 07:15 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide