07-06-2018 05:26 PM - edited 03-05-2019 10:44 AM
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
Solved! Go to Solution.
07-06-2018 06:37 PM
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
07-06-2018 06:37 PM
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
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