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. And see here for current known issues.

New Member

How to correct a BGP config mistake

Hi

I'm about to go live with a new bgp setting. What I would like to know is if things go wrong what can I do to fall back to my original settings? IS it simply a case of putting a "no" in fron tof my config line and that will revert it back to its original settings, or do I need to backup my bgp table?

This may be a simple question, but I'm just trying to gather information to minimise any risk.

I appreciate any help.

Thanks

Dan

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to correct a BGP config mistake

Hi Dan,

Sorry for the delay reply, as I've been a way.

Exactly, this is the sequence of the commands, as follows:

1- router#conf t

2- router(conf)#router bgp

3- router(conf-router)#network x.x.x.x mask x.x.x.x

4- router(conf-router)#neighbor x.x.x.x remote-as x

5- router(conf-router)neighbor x.x.x.x update-source (interface).

So, I meant the Sequence of the commands, and when u Issue the command (no router bgp ), then configuration on 3,4,5 will be removed.

pls rate the post if it helps.

Mohamed.

4 REPLIES

Re: How to correct a BGP config mistake

Hi Dan,

If I would have been in your place I will first do the wr mem with the existing config take the backup of my complete startup config.

So that by any chance if anything goes wrong with my changes I can just copy the old startup config to my router.

HTH, if yes please rate the post.

Ankur

Re: How to correct a BGP config mistake

Dan,

I think u should backup all BGP config before doing the changes, however, when u issue the command (no router bgp ) all the config under conf-router-bgp) will be removed, but only the config that applied on the global config mode remains.

Anyways to eleminate any risk factor, u backup all ur bgp config.

thanks

New Member

Re: How to correct a BGP config mistake

Hi

Thanks for the advice. So can I be confident that to resolve the bgp issue all I need to do is backup the running config.

Just for clarification what is "conf-router-bgp", is that a sequence of commands?

Thanks All

Dan

Re: How to correct a BGP config mistake

Hi Dan,

Sorry for the delay reply, as I've been a way.

Exactly, this is the sequence of the commands, as follows:

1- router#conf t

2- router(conf)#router bgp

3- router(conf-router)#network x.x.x.x mask x.x.x.x

4- router(conf-router)#neighbor x.x.x.x remote-as x

5- router(conf-router)neighbor x.x.x.x update-source (interface).

So, I meant the Sequence of the commands, and when u Issue the command (no router bgp ), then configuration on 3,4,5 will be removed.

pls rate the post if it helps.

Mohamed.

181
Views
10
Helpful
4
Replies
CreatePlease login to create content