cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
57224
Views
10
Helpful
1
Replies

Shutdown BGP Neighbor

johnlloyd_13
Level 9
Level 9

hi,

i'll be doing a maintenance on our iBGP peering for MPLS VPN/VRF exchanged routes.

just to confirm, i just 'shutdown' a BGP neighbor and it will also 'shutdown' the configured address family.

 

sample below:

 

router bgp 65000

 neighbor 1.1.1.1 shutdown

 

address-family vpnv4

 neighbor 1.1.1.1 activate

 

address-family vpnv6

 neighbor 1.1.1.1 activate

 

to 'unshut' i just do a 'no' on the neighbor command?

this will not REMOVE the neighbor command and AF config it's associated with?

 

router bgp 65000

 no neighbor 1.1.1.1 shutdown

1 Accepted Solution

Accepted Solutions

mvsheik123
Level 7
Level 7

Hi John,

You are correct - no neighbor command should do the trick. Below is from BGP command ref:

*******************************************************

neighbor shutdown

To disable a neighbor or peer group or to gracefully shut down a link for maintenance, use theneighbor shutdown command in router configuration mode or address family configuration mode. To reenable the neighbor or peer group, use the no form of this command.

 

neighbor { ip-address | peer-group-name } shutdown graceful seconds [ community value] [ local-preference value ] [ community value ] [ local-preference value]

 

no neighbor { ip-address | peer-group-name } shutdown graceful seconds [ community value] [ local-preference value ] [ community value ] [ local-preference value]

**********************************************************

Good luck with the maintenance.

hth

MS

View solution in original post

1 Reply 1

mvsheik123
Level 7
Level 7

Hi John,

You are correct - no neighbor command should do the trick. Below is from BGP command ref:

*******************************************************

neighbor shutdown

To disable a neighbor or peer group or to gracefully shut down a link for maintenance, use theneighbor shutdown command in router configuration mode or address family configuration mode. To reenable the neighbor or peer group, use the no form of this command.

 

neighbor { ip-address | peer-group-name } shutdown graceful seconds [ community value] [ local-preference value ] [ community value ] [ local-preference value]

 

no neighbor { ip-address | peer-group-name } shutdown graceful seconds [ community value] [ local-preference value ] [ community value ] [ local-preference value]

**********************************************************

Good luck with the maintenance.

hth

MS

Review Cisco Networking products for a $25 gift card