Hello Anazawa-san,
Greeting from Hibiya. I have experience of work with Nagai-san at your company before.
BTW, I guess that what you want is ‘disable’ in birdc.
https://bird.network.cz/?get_doc&v=20&f=bird-4.html says
enable|disable|restart name|"pattern"|all
Enable, disable or restart a given protocol instance, instances matching the pattern or all instances.
and acts like
bird> sh proto
Name Proto Table State Since Info
device1 Device --- up 2019-10-08
v4:exabgp BGP --- up 2019-10-08 Established
v6:exabgp BGP --- up 2019-10-08 Established
v4:VyOS3 BGP --- up 2019-10-08 Established
v6:VyOS3 BGP --- up 2019-10-08 Established
bird> disable "v4:VyOS3"
v4:VyOS3: disabled
bird> sh proto
Name Proto Table State Since Info
device1 Device --- up 2019-10-08
v4:exabgp BGP --- up 2019-10-08 Established
v6:exabgp BGP --- up 2019-10-08 Established
v4:VyOS3 BGP --- flush 17:07:29.784
v6:VyOS3 BGP --- up 2019-10-08 Established
bird>
bird>
bird>
bird> sh proto
Name Proto Table State Since Info
device1 Device --- up 2019-10-08
v4:exabgp BGP --- up 2019-10-08 Established
v6:exabgp BGP --- up 2019-10-08 Established
v4:VyOS3 BGP --- down 17:07:29.776
v6:VyOS3 BGP --- up 2019-10-08 Established
on my lab machine.
Regards,
Koh-ichi Ito
From: Bird-users <bird-users-bounces@network.cz> On Behalf Of 穴澤 正恒
Sent: Tuesday, February 18, 2020 5:02 PM
To: bird-users@network.cz
Subject: BGP neighbor shutdown
Hello,
Is there a way to shut down a particular BGP neighbor?
Equivalent to Cisco's "neighbor 10.0.0.1 shutdown" command
With best regards,
Anazawa Masatsune