cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
chi
New Contributor

How to change or remove a BGP

Jump to solution

My company is changing its MPLS carrier. I need to change the BGP AS number of an in-house router, NetVanta 3430 with OS version 18.01.01, to work with new carrier router. My current BGP configuration is as follows,

!

router bgp 65001

  no auto-summary

  no synchronization

  bgp router-id 192.168.1.1

  network 192.168.1.0 mask 255.255.255.0

  neighbor 10.100.100.1

    no default-originate

    soft-reconfiguration inbound

    remote-as 65000

!

I need to change it to:

!

router bgp 65000

  no auto-summary

  no synchronization

  bgp router-id 192.168.1.1

  network 192.168.1.0 mask 255.255.255.0

  neighbor 10.100.100.1

    no default-originate

    soft-reconfiguration inbound

    remote-as 65001

!

0 Kudos
1 Solution

Accepted Solutions
jayh
Honored Contributor
Honored Contributor

Re: How to change or remove a BGP

Jump to solution

You can only have one AS on a router at a time.  You'll need to remove the BGP configuration and re-add it. "No out" the old BGP configuration and then you can implement the new one.  Something like this should work:

no router bgp 65001

!

router bgp 65000

  no auto-summary

  no synchronization

  bgp router-id 192.168.1.1

  network 192.168.1.0 mask 255.255.255.0

  neighbor 10.100.100.1

    no default-originate

    soft-reconfiguration inbound

    remote-as 65001

!

Obviously, don't do this remotely over the BGP network or you'll lock yourself out.

View solution in original post

0 Kudos
2 Replies
jayh
Honored Contributor
Honored Contributor

Re: How to change or remove a BGP

Jump to solution

You can only have one AS on a router at a time.  You'll need to remove the BGP configuration and re-add it. "No out" the old BGP configuration and then you can implement the new one.  Something like this should work:

no router bgp 65001

!

router bgp 65000

  no auto-summary

  no synchronization

  bgp router-id 192.168.1.1

  network 192.168.1.0 mask 255.255.255.0

  neighbor 10.100.100.1

    no default-originate

    soft-reconfiguration inbound

    remote-as 65001

!

Obviously, don't do this remotely over the BGP network or you'll lock yourself out.

0 Kudos
chi
New Contributor

Re: How to change or remove a BGP

Jump to solution

Jay,

Your answer is exactly to the point and covers all bases. Thank you.