cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1765
Views
1
Helpful
11
Replies

Remove BGP peer commands

Clem58
Level 3
Level 3

Hello,

On a C9300-24S, I will need to remove the second BGP peer that will be obsolete after a core switch refresh in the remote site.

I will execute :

 no neighbor x.x.x.x peer-group pgroupname

on the corresponding router bgp ASN

Will I need also to execute:

no neighbor x.x.x.x activate

?

I have read on a thread that executing the

no neighbor activate

is risky, this could remove all the

prefix/route map

configs related with this ASN address-family ?

1 Accepted Solution

Accepted Solutions

johnlloyd_13
Level 9
Level 9

hi,

just do a

no neighbor x.x.x.x

to remove old BGP neighbor.

the BGP config related to the specific neighbor IP will be automatically removed.

View solution in original post

11 Replies 11

//

//

Many thanks.

Sorry but I forgot to mention this is the second peer of a peer-group, we have another peer we need to stay connected/activated in this same group, but I'm afraid if we do

no neighbor x.x.x.x activate it will remove route-map

and config related for both peers, so the peer-group

///

Clem58
Level 3
Level 3

Many thanks, but is the "activate" statement still here after removing the bgp peer from the group ?

///

Many thanks for your help, but I still need to know if I remove the activate statement it will impact the route-map of the peer-group

//

///

johnlloyd_13
Level 9
Level 9

hi,

just do a

no neighbor x.x.x.x

to remove old BGP neighbor.

the BGP config related to the specific neighbor IP will be automatically removed.

Many thanks John and MHM for your help !