07-29-2019 11:44 AM
I have a Cisco 1921. I currently have an established BGP connection with an AS number of 64517. We found an AS conflict with another spoke in the wheel, and need to change this AS number to 64519, but I'm unsure how to do this, as I don't typically work with Cisco. Hoping this is a quick and easy fix. here is my current config for the BGP connection:
router bgp 64517 <--- needs to be changed to 64519
bgp router-id 10.255.90.1
bgp log-neighbor-changes
neighbor 10.20.30.41 remote-as 65500
neighbor 10.255.90.2 remote-as 64536
Solved! Go to Solution.
07-29-2019 12:16 PM - edited 07-29-2019 12:17 PM
You need to delete the old BGP configuration and create a new one.
no router bgp 64517 <--- needs to be changed to 64519
router bgp 64519
bgp router-id 10.255.90.1
bgp log-neighbor-changes
neighbor 10.20.30.41 remote-as 65500
neighbor 10.255.90.2 remote-as 64536
This will delete the BGP peering and all routing from the peers, and add it again using the new ASN.
Rememeber to change it on the remote host.
The other option is you just tell the other router that you AS is something other than what it is with local-as. But then you need to create some ASN rewriting as well.
router bgp 64517 <--- needs to be changed to 64519
bgp router-id 10.255.90.1
bgp log-neighbor-changes
neighbor 10.20.30.41 remote-as 65500
neighbor 10.20.30.41 local-as 64519
neighbor 10.255.90.2 remote-as 64536
neighbor 10.255.90.2 local-as 64519
07-29-2019 12:16 PM - edited 07-29-2019 12:17 PM
You need to delete the old BGP configuration and create a new one.
no router bgp 64517 <--- needs to be changed to 64519
router bgp 64519
bgp router-id 10.255.90.1
bgp log-neighbor-changes
neighbor 10.20.30.41 remote-as 65500
neighbor 10.255.90.2 remote-as 64536
This will delete the BGP peering and all routing from the peers, and add it again using the new ASN.
Rememeber to change it on the remote host.
The other option is you just tell the other router that you AS is something other than what it is with local-as. But then you need to create some ASN rewriting as well.
router bgp 64517 <--- needs to be changed to 64519
bgp router-id 10.255.90.1
bgp log-neighbor-changes
neighbor 10.20.30.41 remote-as 65500
neighbor 10.20.30.41 local-as 64519
neighbor 10.255.90.2 remote-as 64536
neighbor 10.255.90.2 local-as 64519
07-29-2019 12:59 PM
Thank you Rasmus! quick and easy! appreciate it.
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