Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

BGP declaration

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

  • WAN Routing and Switching
1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Silver

Re: BGP declaration

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

3 REPLIES
Hall of Fame Super Silver

Re: BGP declaration

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

New Member

Re: BGP declaration

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

Hall of Fame Super Silver

Re: BGP declaration

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

175
Views
4
Helpful
3
Replies
This widget could not be displayed.