cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3223
Views
5
Helpful
2
Replies

Assistance changing BGP AS number

TylerLuce6545
Level 1
Level 1

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

 

 

1 Accepted Solution

Accepted Solutions

rasmus.elmholt
Level 7
Level 7

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

View solution in original post

2 Replies 2

rasmus.elmholt
Level 7
Level 7

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

Thank you Rasmus! quick and easy! appreciate it.

Review Cisco Networking for a $25 gift card