06-08-2009 03:24 PM - edited 03-04-2019 05:02 AM
Is it possible to create a second BGP process with a different AS#?
I have a remote router that I would like to change the AS# to be the same convention as the rest of our rremot sites.
The only way I could think to do it is with a second AS# with the same config as the existing BGP config, but the router squawks when I try.
When I try to configure a second AS#, I get and error saying BGP is already running and it shows the current AS#.
Is there a way to do something like this remotely?
06-08-2009 03:33 PM
Connect to it in such a way you do not depend on BGP routing.
Configure no router bgp
Re-configure with new ASN.
06-08-2009 04:58 PM
This router is on the other side of an MPLS connection, so the closest router to it is the PE router.
06-08-2009 05:12 PM
Copy the running configuration to notepad. Make the required changes on this file. Save it as something like confmodif.cfg let's say. Put the file on a tftp server.
Go to your router and execute the following:
configure replace tftp:
this will replace the running configuration with the file from the tftp server.
06-11-2009 12:43 AM
Hi,
another possibility I'm using:
create a update.txt file with the commands you need to apply
no router bgp old_as
router bgp new_as
neighbor ...
etc.
Copy this file to the router flash (be careful, some obsolete 1700s, e.g., are asking you to confirm clearing the flash in this step, don't confirm!).
Then issue
reload in 10
copy flash:update.txt running
Your running config will be updated.
If anything fails, the router will reload in 10 minutes with the old startup config.
If everything is OK, issue
reload cancel
and save the running config to the startup.
BR,
Milan
06-12-2009 04:08 AM
Excellent.
Thanks, I will give that a try.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: