02-03-2024 10:02 PM
Hi Team,
I need help with shutting down BGP peers on an interface. It's an urgent requirement. Can someone please assist me with the command?
Thanks,
Prashanth
Solved! Go to Solution.
02-04-2024 01:38 AM - last edited on 02-07-2024 01:31 AM by Translator
Hello
The command as stated by M02@rt37 will accomplish administratively shutting down a single bgp peer howerver you should beable to shutdown all the bgp peers (if applicable) with a single command.
I would suggest though that you check the status of the peer(s) and all their relevant values ( state/received prefixes etc..) before and after you preform this action so you have baseline that everything has been shutdown and also reenabled successfully.
sh bgp ipv4 unicast summary
sh bgp vpn4 unicast all summary
router bgp xx
bgp graceful-shutdown all neighbors
bgp graceful-shutdown all neighbors active
or
neighbor x.x.x.x shutdown
no neighbor x.x.x.x shutdown
02-04-2024 12:37 AM - last edited on 02-07-2024 01:32 AM by Translator
Hello @poojaryp1974
To disable a neighbor or peer group or to gracefully shut down a link for maintenance, use the neighbor 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.
no neighbor { ip-address | peer-group-name } shutdown (...)
02-04-2024 01:38 AM - last edited on 02-07-2024 01:31 AM by Translator
Hello
The command as stated by M02@rt37 will accomplish administratively shutting down a single bgp peer howerver you should beable to shutdown all the bgp peers (if applicable) with a single command.
I would suggest though that you check the status of the peer(s) and all their relevant values ( state/received prefixes etc..) before and after you preform this action so you have baseline that everything has been shutdown and also reenabled successfully.
sh bgp ipv4 unicast summary
sh bgp vpn4 unicast all summary
router bgp xx
bgp graceful-shutdown all neighbors
bgp graceful-shutdown all neighbors active
or
neighbor x.x.x.x shutdown
no neighbor x.x.x.x shutdown
02-06-2024 08:25 PM
Thanks Paul for the reply.
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