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

 


-----------------------------------------------------------
このメールおよびメールに添付されるファイルは当社の秘密情報を含んでいます。 企図された受取人以外の者が使用すること、開示すること、複製することまたは配布をすることはできません。 誤ってこのメールを受領された場合、送り主あてに返信メールでお知らせいただき、お手元にある全ての複製(サーバーに保存されたものも含み)消去をいただくようお願いします。 ご協力有難うございます。

This email and any files transmitted with it may contain confidential information. Use, disclosure, copying or distribution of this message by anyone other than the intended recipient is strictly prohibited. If you have received this email in error please notify the sender by reply email and destroy all copies of this message in your possession, custody or control. THANK YOU IN ADVANCE FOR YOUR COOPERATION.
.
-----------------------------------------------------------